<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Snipplr</title>
    <description>Recent snippets posted on Snipplr.com</description>
    <link>https://snipplr.com/</link>
    <lastBuildDate>Tue, 09 Jun 2026 22:33:13 +0000</lastBuildDate>
    <item>
      <title>(Ruby) Get OSX Leopard Battery Stats For Your Laptop - gtcaz</title>
      <link>https://snipplr.com/view/5758/get-osx-leopard-battery-stats-for-your-laptop</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Wed, 09 Apr 2008 15:08:02 UTC</pubDate>
      <guid>https://snipplr.com/view/5758/get-osx-leopard-battery-stats-for-your-laptop</guid>
    </item>
    <item>
      <title>(Bash) Prompt ideas for ngungo - gtcaz</title>
      <link>https://snipplr.com/view/2858/prompt-ideas-for-ngungo</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Wed, 13 Jun 2007 14:27:39 UTC</pubDate>
      <guid>https://snipplr.com/view/2858/prompt-ideas-for-ngungo</guid>
    </item>
    <item>
      <title>(Ruby) Super Simple Speller v2 - gtcaz</title>
      <link>https://snipplr.com/view/2709/super-simple-speller-v2</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Thu, 24 May 2007 13:19:04 UTC</pubDate>
      <guid>https://snipplr.com/view/2709/super-simple-speller-v2</guid>
    </item>
    <item>
      <title>(Ruby) Preview in IE command (Windows native version) - gtcaz</title>
      <link>https://snipplr.com/view/2639/preview-in-ie-command-windows-native-version</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Tue, 15 May 2007 11:39:52 UTC</pubDate>
      <guid>https://snipplr.com/view/2639/preview-in-ie-command-windows-native-version</guid>
    </item>
    <item>
      <title>(Bash) Nice Bash prompt - gtcaz</title>
      <link>https://snipplr.com/view/2369/nice-bash-prompt</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Tue, 20 Mar 2007 16:38:09 UTC</pubDate>
      <guid>https://snipplr.com/view/2369/nice-bash-prompt</guid>
    </item>
    <item>
      <title>(Other) Cygwin rxvt shortcut command - gtcaz</title>
      <link>https://snipplr.com/view/2367/cygwin-rxvt-shortcut-command</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Tue, 20 Mar 2007 12:29:18 UTC</pubDate>
      <guid>https://snipplr.com/view/2367/cygwin-rxvt-shortcut-command</guid>
    </item>
    <item>
      <title>(Ruby) Check for new twitters in e/TextMate - gtcaz</title>
      <link>https://snipplr.com/view/2361/check-for-new-twitters-in-etextmate</link>
      <description>&lt;p&gt;Requires the twitter bundle.  This is an early attempt at updating this.  Pretty crude at the moment, but it works.&lt;/p&gt;</description>
      <pubDate>Tue, 20 Mar 2007 01:11:53 UTC</pubDate>
      <guid>https://snipplr.com/view/2361/check-for-new-twitters-in-etextmate</guid>
    </item>
    <item>
      <title>(Ruby) Image info from blogging.rb - gtcaz</title>
      <link>https://snipplr.com/view/2357/image-info-from-bloggingrb</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Mon, 19 Mar 2007 14:06:14 UTC</pubDate>
      <guid>https://snipplr.com/view/2357/image-info-from-bloggingrb</guid>
    </item>
    <item>
      <title>(Bash) Twitter from the command line using curl - gtcaz</title>
      <link>https://snipplr.com/view/2352/twitter-from-the-command-line-using-curl</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Sun, 18 Mar 2007 11:06:02 UTC</pubDate>
      <guid>https://snipplr.com/view/2352/twitter-from-the-command-line-using-curl</guid>
    </item>
    <item>
      <title>(Ruby) Post to Twitter from e/TextMate - gtcaz</title>
      <link>https://snipplr.com/view/2351/post-to-twitter-from-etextmate</link>
      <description>&lt;p&gt;Adapted from http://journal.mychores.co.uk/articles/2007/01/21/updating-twitter-from-ruby-rails&lt;/p&gt;</description>
      <pubDate>Sun, 18 Mar 2007 10:39:00 UTC</pubDate>
      <guid>https://snipplr.com/view/2351/post-to-twitter-from-etextmate</guid>
    </item>
    <item>
      <title>(Ruby) Check for e updates - gtcaz</title>
      <link>https://snipplr.com/view/2292/check-for-e-updates</link>
      <description>&lt;p&gt;Requires wget and curl.&lt;/p&gt;</description>
      <pubDate>Fri, 09 Mar 2007 12:02:28 UTC</pubDate>
      <guid>https://snipplr.com/view/2292/check-for-e-updates</guid>
    </item>
    <item>
      <title>(Bash) Check cygwin apps for base conflicts - gtcaz</title>
      <link>https://snipplr.com/view/2253/check-cygwin-apps-for-base-conflicts</link>
      <description>&lt;p&gt;From: "Pierre A. Humblet" &#13;
The attached script takes the name of a .exe or .dll,&#13;
uses cygcheck to find the dll dependence and checks for conflicts.&#13;
&#13;
This will allow you to check your favorite applications or dlls,&#13;
seeing if --enable-auto-image-base works for you.&#13;
&#13;
A "conflict" is when the end of a dll overlaps the start of the next one.&#13;
A "guard conflict" includes the extra 0x10000 mentioned by Jason in this thread.&#13;
They occur with Windows dlls, not sure if that's a real issue.&#13;
&#13;
I have extended the tool (attached) so that it takes a variable number&#13;
of arguments. You can check a program and all the dll's it might ever&#13;
load dynamically, or all the dll's in /bin, or whatever. &#13;
cygcheck will search the PATH if necessary.&lt;/p&gt;</description>
      <pubDate>Thu, 08 Mar 2007 16:42:37 UTC</pubDate>
      <guid>https://snipplr.com/view/2253/check-cygwin-apps-for-base-conflicts</guid>
    </item>
    <item>
      <title>(Other) Cross platform secure password storage - gtcaz</title>
      <link>https://snipplr.com/view/2178/cross-platform-secure-password-storage</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Fri, 16 Feb 2007 22:18:23 UTC</pubDate>
      <guid>https://snipplr.com/view/2178/cross-platform-secure-password-storage</guid>
    </item>
    <item>
      <title>(Ruby) YAML Config File Example - gtcaz</title>
      <link>https://snipplr.com/view/2173/yaml-config-file-example</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Wed, 14 Feb 2007 14:22:36 UTC</pubDate>
      <guid>https://snipplr.com/view/2173/yaml-config-file-example</guid>
    </item>
    <item>
      <title>(Ruby) Ruby env shebang with warnings - gtcaz</title>
      <link>https://snipplr.com/view/2169/ruby-env-shebang-with-warnings</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Tue, 13 Feb 2007 09:45:28 UTC</pubDate>
      <guid>https://snipplr.com/view/2169/ruby-env-shebang-with-warnings</guid>
    </item>
    <item>
      <title>(Ruby) Strip HTML Tags - gtcaz</title>
      <link>https://snipplr.com/view/2097/strip-html-tags</link>
      <description>&lt;p&gt;This replaces the PHP-based function in the HTML bundle.  You need to add two files to your bundle's Support/lib folder (create the directories if they're not present):&#13;
&#13;
http://dev.rubyonrails.org/browser/trunk/actionpack/lib/action_controller/vendor/html-scanner/html/node.rb?format=raw&#13;
http://dev.rubyonrails.org/browser/trunk/actionpack/lib/action_controller/vendor/html-scanner/html/tokenizer.rb?format=raw&lt;/p&gt;</description>
      <pubDate>Fri, 02 Feb 2007 15:28:37 UTC</pubDate>
      <guid>https://snipplr.com/view/2097/strip-html-tags</guid>
    </item>
    <item>
      <title>(XML) XHTML Document Skeleton Snippet - gtcaz</title>
      <link>https://snipplr.com/view/2082/xhtml-document-skeleton-snippet</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Thu, 01 Feb 2007 15:34:31 UTC</pubDate>
      <guid>https://snipplr.com/view/2082/xhtml-document-skeleton-snippet</guid>
    </item>
    <item>
      <title>(Ruby) Post snippet to Snipplr - gtcaz</title>
      <link>https://snipplr.com/view/2044/post-snippet-to-snipplr</link>
      <description>&lt;p&gt;Alternative bundle command for e (http://www.e-texteditor.com) or TextMate.&#13;
&#13;
Replace YOUR_API_KEY_HERE with a valid API key -- you can find it on your Settings page (http://snipplr.com/settings/).&#13;
&#13;
Changed the command to allow selection of language.  (Thanks, Tyler!)  Also it was unnecessary to escape entities when posting to Snipplr, so that caused problems.  Please let me know if you have any issues with or suggestions for this command.  If you're using TextMate, you'll need to alter the path to CocoaDialog, and you might as well use an environment variable for the API Key.&#13;
&#13;
2/2/2007: Fixed a bug that prevented posting snippets with no tags.  Languages are now sorted alphabetically.&lt;/p&gt;</description>
      <pubDate>Tue, 30 Jan 2007 20:26:49 UTC</pubDate>
      <guid>https://snipplr.com/view/2044/post-snippet-to-snipplr</guid>
    </item>
    <item>
      <title>(Ruby) Get one of your snippets from Snipplr - gtcaz</title>
      <link>https://snipplr.com/view/2039/get-one-of-your-snippets-from-snipplr</link>
      <description>&lt;p&gt;This command allows you to browse your snippet collection on Snipplr and retrieve them into e.  Requires the installation of the wxCocoaDialog exe in the /Support/bin subdirectory.&#13;
&#13;
Replace YOUR_API_KEY_HERE with the API key -- you can find it on your Settings page (http://snipplr.com/settings/).&#13;
&#13;
Update 1/31/2007: I found escaping the $ was necessary to prevent the snippet engine from eating the variable.&#13;
Update 2/01/2007: Use the standard library function for escaping the snippet (instead of my own gsub() regex.&#13;
Update 2/02/2007: Add error checking code; handle empty accounts a bit more gracefully (and informatively).&lt;/p&gt;</description>
      <pubDate>Tue, 30 Jan 2007 15:26:51 UTC</pubDate>
      <guid>https://snipplr.com/view/2039/get-one-of-your-snippets-from-snipplr</guid>
    </item>
    <item>
      <title>(Ruby) Super Simple Speller v3 - gtcaz</title>
      <link>https://snipplr.com/view/2037/super-simple-speller-v3</link>
      <description>&lt;p&gt;Requires aspell and wxCocoaDialog.&#13;
&#13;
Now checks all of your selection for misspellings.&#13;
&#13;
Known issues: &#13;
* e doesn't see contractions as a "word", so you must select things like can't, won't, etc. or the command won't see the whole word.&#13;
&#13;
* Duplicate misspelled words are not handled well.  Replacements are done globally, yet you'll be asked for each occurrence.&#13;
&#13;
Place in the Text bundle&#13;
I named the command: Spell check word/selection&#13;
Save: Nothing&#13;
Input: Selected Text or Word&#13;
Output: Replace Selected Text&#13;
Key Equivalent: Ctrl-;&#13;
Scope Selector: {Blank}&lt;/p&gt;</description>
      <pubDate>Mon, 29 Jan 2007 22:27:02 UTC</pubDate>
      <guid>https://snipplr.com/view/2037/super-simple-speller-v3</guid>
    </item>
    <item>
      <title>(Ruby) wxCocoaDialog dropdown example in Ruby - gtcaz</title>
      <link>https://snipplr.com/view/2036/wxcocoadialog-dropdown-example-in-ruby</link>
      <description>&lt;p&gt;This is an example of how to use the wxCocoaDialog dropdown widget from Ruby.&lt;/p&gt;</description>
      <pubDate>Mon, 29 Jan 2007 20:07:16 UTC</pubDate>
      <guid>https://snipplr.com/view/2036/wxcocoadialog-dropdown-example-in-ruby</guid>
    </item>
    <item>
      <title>(Ruby) wxCocoaDialog progressbar example - gtcaz</title>
      <link>https://snipplr.com/view/2031/wxcocoadialog-progressbar-example</link>
      <description>&lt;p&gt;This is an example of how to use the progressbar widget from Alexander Stigsen's new wxCocoaDialog, an open source port of CocoaDialog to Win32 using the ExWidgets toolkit.  This is a companion project to his e Text Editor.&lt;/p&gt;</description>
      <pubDate>Sat, 27 Jan 2007 11:02:39 UTC</pubDate>
      <guid>https://snipplr.com/view/2031/wxcocoadialog-progressbar-example</guid>
    </item>
  </channel>
</rss>
