<?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 06:16:47 +0000</lastBuildDate>
    <item>
      <title>(Bash) backup into folder daily - adkatrit</title>
      <link>https://snipplr.com/view/65862/backup-into-folder-daily</link>
      <description>&lt;p&gt;i've got this running on an hourly cron.  works beautifully.&lt;/p&gt;</description>
      <pubDate>Fri, 29 Jun 2012 07:36:39 UTC</pubDate>
      <guid>https://snipplr.com/view/65862/backup-into-folder-daily</guid>
    </item>
    <item>
      <title>(Bash) robotic script done notification - adkatrit</title>
      <link>https://snipplr.com/view/49183/robotic-script-done-notification</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Fri, 18 Feb 2011 09:00:51 UTC</pubDate>
      <guid>https://snipplr.com/view/49183/robotic-script-done-notification</guid>
    </item>
    <item>
      <title>(Python) Euclidean Distance - adkatrit</title>
      <link>https://snipplr.com/view/48799/euclidean-distance</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Fri, 11 Feb 2011 04:05:09 UTC</pubDate>
      <guid>https://snipplr.com/view/48799/euclidean-distance</guid>
    </item>
    <item>
      <title>(Python) Pearson Correlation Coefficient - adkatrit</title>
      <link>https://snipplr.com/view/48798/pearson-correlation-coefficient</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Fri, 11 Feb 2011 04:00:48 UTC</pubDate>
      <guid>https://snipplr.com/view/48798/pearson-correlation-coefficient</guid>
    </item>
    <item>
      <title>(Python) Tanimoto Coefficient - adkatrit</title>
      <link>https://snipplr.com/view/48796/tanimoto-coefficient</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Fri, 11 Feb 2011 03:50:27 UTC</pubDate>
      <guid>https://snipplr.com/view/48796/tanimoto-coefficient</guid>
    </item>
    <item>
      <title>(Python) calculate angle between two vectors - adkatrit</title>
      <link>https://snipplr.com/view/48794/calculate-angle-between-two-vectors</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Fri, 11 Feb 2011 03:45:06 UTC</pubDate>
      <guid>https://snipplr.com/view/48794/calculate-angle-between-two-vectors</guid>
    </item>
    <item>
      <title>(Python) K-Means Clustering - adkatrit</title>
      <link>https://snipplr.com/view/48789/kmeans-clustering</link>
      <description>&lt;p&gt;This is from the book: Programming Collective Intelligence&lt;/p&gt;</description>
      <pubDate>Fri, 11 Feb 2011 03:07:54 UTC</pubDate>
      <guid>https://snipplr.com/view/48789/kmeans-clustering</guid>
    </item>
    <item>
      <title>(Python) Hierarchical Clustering - adkatrit</title>
      <link>https://snipplr.com/view/48788/hierarchical-clustering</link>
      <description>&lt;p&gt;Helps if you have a distance function.  This will be implementation specific, but this is the main algo&lt;/p&gt;</description>
      <pubDate>Fri, 11 Feb 2011 03:05:57 UTC</pubDate>
      <guid>https://snipplr.com/view/48788/hierarchical-clustering</guid>
    </item>
    <item>
      <title>(Java) Matching elements in an array - adkatrit</title>
      <link>https://snipplr.com/view/43264/matching-elements-in-an-array</link>
      <description>&lt;p&gt;compare individual array elements with one another, without doing the same comparison twice (3vs2 then 2vs3).  this reduces the number of iterations by roughly half.  it's still O(n^2), an 1000 member array won't iterate a 1000X1000 times, it will be (1000X999)/2.  efficient!!&#13;
an array of 0,1,2,3  will print out the following:&#13;
01,02,03,,12,13,2,3&#13;
ENJOY MY MATHS&lt;/p&gt;</description>
      <pubDate>Sat, 30 Oct 2010 02:21:58 UTC</pubDate>
      <guid>https://snipplr.com/view/43264/matching-elements-in-an-array</guid>
    </item>
    <item>
      <title>(PHP) new york times article api function - adkatrit</title>
      <link>https://snipplr.com/view/42380/new-york-times-article-api-function</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Sat, 16 Oct 2010 06:07:50 UTC</pubDate>
      <guid>https://snipplr.com/view/42380/new-york-times-article-api-function</guid>
    </item>
    <item>
      <title>(Bash) download the first 50,000,000 prime numbers - adkatrit</title>
      <link>https://snipplr.com/view/29996/download-the-first-50000000-prime-numbers</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Thu, 18 Mar 2010 20:53:15 UTC</pubDate>
      <guid>https://snipplr.com/view/29996/download-the-first-50000000-prime-numbers</guid>
    </item>
    <item>
      <title>(Bash) mailing system profile on mac osx - adkatrit</title>
      <link>https://snipplr.com/view/28705/mailing-system-profile-on-mac-osx</link>
      <description>&lt;p&gt;don't forget to take my email out :)&lt;/p&gt;</description>
      <pubDate>Sun, 21 Feb 2010 17:22:39 UTC</pubDate>
      <guid>https://snipplr.com/view/28705/mailing-system-profile-on-mac-osx</guid>
    </item>
    <item>
      <title>(Bash) show all http requests being made - adkatrit</title>
      <link>https://snipplr.com/view/28703/show-all-http-requests-being-made</link>
      <description>&lt;p&gt;make sure the en1 value is the interface you are using&lt;/p&gt;</description>
      <pubDate>Sun, 21 Feb 2010 17:16:21 UTC</pubDate>
      <guid>https://snipplr.com/view/28703/show-all-http-requests-being-made</guid>
    </item>
    <item>
      <title>(Bash) recursively find a string in any js,php,inc,htm,html,css files - adkatrit</title>
      <link>https://snipplr.com/view/28702/recursively-find-a-string-in-any-jsphpinchtmhtmlcss-files</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Sun, 21 Feb 2010 17:09:40 UTC</pubDate>
      <guid>https://snipplr.com/view/28702/recursively-find-a-string-in-any-jsphpinchtmhtmlcss-files</guid>
    </item>
    <item>
      <title>(Bash) Weather from the command line - adkatrit</title>
      <link>https://snipplr.com/view/28701/weather-from-the-command-line</link>
      <description>&lt;p&gt;replace your "zipcode" with your zipcode&lt;/p&gt;</description>
      <pubDate>Sun, 21 Feb 2010 17:06:28 UTC</pubDate>
      <guid>https://snipplr.com/view/28701/weather-from-the-command-line</guid>
    </item>
    <item>
      <title>(Bash) batch file downloader online - adkatrit</title>
      <link>https://snipplr.com/view/28700/batch-file-downloader-online</link>
      <description>&lt;p&gt;if you know the sequence, then create the rule in curly braces&lt;/p&gt;</description>
      <pubDate>Sun, 21 Feb 2010 17:02:57 UTC</pubDate>
      <guid>https://snipplr.com/view/28700/batch-file-downloader-online</guid>
    </item>
    <item>
      <title>(Bash) Show IP's accessing your webserver - adkatrit</title>
      <link>https://snipplr.com/view/28699/show-ips-accessing-your-webserver</link>
      <description>&lt;p&gt;another bash quickie!&lt;/p&gt;</description>
      <pubDate>Sun, 21 Feb 2010 17:00:27 UTC</pubDate>
      <guid>https://snipplr.com/view/28699/show-ips-accessing-your-webserver</guid>
    </item>
    <item>
      <title>(AppleScript) Itunes lyrics finder - adkatrit</title>
      <link>https://snipplr.com/view/28698/itunes-lyrics-finder</link>
      <description>&lt;p&gt;uses the currently playing itunes song to query astraweb's lyrics database&lt;/p&gt;</description>
      <pubDate>Sun, 21 Feb 2010 16:50:19 UTC</pubDate>
      <guid>https://snipplr.com/view/28698/itunes-lyrics-finder</guid>
    </item>
    <item>
      <title>(AppleScript) Itunes guitar tab finder - adkatrit</title>
      <link>https://snipplr.com/view/28697/itunes-guitar-tab-finder</link>
      <description>&lt;p&gt;takes the currently playing song on itunes and queries ultimate-guitar.com for tabs ... works best in cahoots with Quicksilver to set up hotkeys  ( i use command+shift+f)&lt;/p&gt;</description>
      <pubDate>Sun, 21 Feb 2010 16:49:16 UTC</pubDate>
      <guid>https://snipplr.com/view/28697/itunes-guitar-tab-finder</guid>
    </item>
    <item>
      <title>(Bash) Speed Check w/ dns throughput, load time, and page size - adkatrit</title>
      <link>https://snipplr.com/view/28696/speed-check-w-dns-throughput-load-time-and-page-size</link>
      <description>&lt;p&gt;adkatrit$ ./speedcheck.sh google.com&#13;
google.com&#13;
DNS 0.027s  conn 0.083s  time 0.301s&#13;
Speed 26350.000bps Size 7932bytes&lt;/p&gt;</description>
      <pubDate>Sun, 21 Feb 2010 16:44:57 UTC</pubDate>
      <guid>https://snipplr.com/view/28696/speed-check-w-dns-throughput-load-time-and-page-size</guid>
    </item>
    <item>
      <title>(Bash) simple exhaustive combinations - adkatrit</title>
      <link>https://snipplr.com/view/28695/simple-exhaustive-combinations</link>
      <description>&lt;p&gt;send every possible combination to stdout&lt;/p&gt;</description>
      <pubDate>Sun, 21 Feb 2010 16:41:36 UTC</pubDate>
      <guid>https://snipplr.com/view/28695/simple-exhaustive-combinations</guid>
    </item>
    <item>
      <title>(Bash) 99 bottles of beer on the wall - adkatrit</title>
      <link>https://snipplr.com/view/28693/99-bottles-of-beer-on-the-wall</link>
      <description>&lt;p&gt;works for mac osx&lt;/p&gt;</description>
      <pubDate>Sun, 21 Feb 2010 16:33:58 UTC</pubDate>
      <guid>https://snipplr.com/view/28693/99-bottles-of-beer-on-the-wall</guid>
    </item>
    <item>
      <title>(Windows PowerShell) Activate Remote desktop remotely! - adkatrit</title>
      <link>https://snipplr.com/view/28692/activate-remote-desktop-remotely</link>
      <description>&lt;p&gt;make sure your tubes are locked down first&lt;/p&gt;</description>
      <pubDate>Sun, 21 Feb 2010 16:32:27 UTC</pubDate>
      <guid>https://snipplr.com/view/28692/activate-remote-desktop-remotely</guid>
    </item>
    <item>
      <title>(Bash) randomize your mac address - adkatrit</title>
      <link>https://snipplr.com/view/28691/randomize-your-mac-address</link>
      <description>&lt;p&gt;works on mac osx, haven't tested on anything else.  let me know!&lt;/p&gt;</description>
      <pubDate>Sun, 21 Feb 2010 16:30:52 UTC</pubDate>
      <guid>https://snipplr.com/view/28691/randomize-your-mac-address</guid>
    </item>
    <item>
      <title>(PHP) Number to word converter "1-&gt;one" up to the million place - adkatrit</title>
      <link>https://snipplr.com/view/28690/number-to-word-converter-1one-up-to-the-million-place</link>
      <description>&lt;p&gt;this could be expanded to the billions place, but c'mon really people? it's got to call it quits somewhere&lt;/p&gt;</description>
      <pubDate>Sun, 21 Feb 2010 16:27:21 UTC</pubDate>
      <guid>https://snipplr.com/view/28690/number-to-word-converter-1one-up-to-the-million-place</guid>
    </item>
  </channel>
</rss>
