<?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>Mon, 15 Jun 2026 10:19:49 +0000</lastBuildDate>
    <item>
      <title>(JavaScript) How To Connect To A SOCKS Proxy From An Unjailbroken iPhone/iPod Touch - shaunchapman</title>
      <link>https://snipplr.com/view/16563/how-to-connect-to-a-socks-proxy-from-an-unjailbroken-iphoneipod-touch</link>
      <description>&lt;p&gt;Let's say, perhaps, that you are already forwarding your web traffic through an SSH/SOCKS tunnel at work (for privacy reasons that have absolutely no relation to accessing blocked sites LOL!) and you would like to use that same tunnel on your iPhone/iPod Touch.  This is actually pretty easy to accomplish.&#13;
&#13;
First, you need to make sure the SOCKS tunnel on your work computer allows LAN connections so your iPhone/iPod Touch can connect to it.  To do this, you simply need to add `-g` to your existing SSH command (something like `ssh -N -g -D 1080 user@domain.com`).&#13;
&#13;
Most people think you can't connect to a SOCKS proxy from an iPhone/iPod Touch without jailbreaking it but the truth is you can.  You simply have to create a Proxy Auto-Config (PAC) file, insert the function below in it (replace the *x*'s with your IP and the *y*'s with the port you used after the `-D` in your SSH command), and save it to a web accessible place with a *.pac* extension.  If you're reading this chances are you know how to serve a file over HTTP on your work LAN, so I won't delve into that.&#13;
&#13;
Finally, on your iPhone/iPod Touch, go to *Settings &gt; Wifi* and click the blue arrow to the right of your work network, scroll to the bottom, click *Auto* and type in the address to your PAC file (*e.g. http://192.168.xx.xx/mysupersecretproxy.pac*).&#13;
&#13;
Congrats!  Now you can surf the web securely from your iPhone/iPod touch ;)&lt;/p&gt;</description>
      <pubDate>Wed, 01 Jul 2009 13:51:50 UTC</pubDate>
      <guid>https://snipplr.com/view/16563/how-to-connect-to-a-socks-proxy-from-an-unjailbroken-iphoneipod-touch</guid>
    </item>
    <item>
      <title>(Bash) Remove Dot Underscore Files - shaunchapman</title>
      <link>https://snipplr.com/view/14120/remove-dot-underscore-files</link>
      <description>&lt;p&gt;Mac OS X creates files beginning with *._* to Samba shares when files on a Unix/Linux machine are accessed with a Mac.  I use [Coda](http://www.panic.com/coda/) to access a Samba share on my development server at work.  This is really annoying when checking the status of the Subversion repository.  So, I've come up with a solution to remove those files while ignoring similarly named files in hidden Subversion directories.  This command will ask you to confirm that you want to remove each file.&#13;
&#13;
For added convenience, I suggest making this an alias (add `alias dot_clean='find . -name ".svn" -prune -o -name "._*" -exec rm -i {} \;'` to the *.bashrc*, *.bash_profile*, or *.bash_login* file in your home directory).  To clean a directory, simply type `cd directory_name` then `dot_clean`.  Enjoy!&lt;/p&gt;</description>
      <pubDate>Fri, 17 Apr 2009 11:35:58 UTC</pubDate>
      <guid>https://snipplr.com/view/14120/remove-dot-underscore-files</guid>
    </item>
    <item>
      <title>(HTML) How To Rickroll Your Company - shaunchapman</title>
      <link>https://snipplr.com/view/13680/how-to-rickroll-your-company</link>
      <description>&lt;p&gt;This will make every link on your company's homepage open a Rickroll page that when closed will spawn two more Rickroll pages.  This is especially useful on company websites that require each employee to allow pop-ups.&#13;
&#13;
**Warning:**  Use at your own risk.&lt;/p&gt;</description>
      <pubDate>Wed, 01 Apr 2009 16:55:42 UTC</pubDate>
      <guid>https://snipplr.com/view/13680/how-to-rickroll-your-company</guid>
    </item>
    <item>
      <title>(PHP) iChat to Adium Chat Transcript Converter - shaunchapman</title>
      <link>https://snipplr.com/view/13648/ichat-to-adium-chat-transcript-converter</link>
      <description>&lt;p&gt;This is kind of a sloppy way of converting iChat transcripts to Adium transcripts.&#13;
&#13;
To get this to work, export your chats using [Logorrhea](http://spiny.com/logorrhea/) (`File &gt; Export Chats...`) then use the exported file as the `$infile` for this script. Also, change `$myscreenname` and `$myname` to your screenname and name, respectively.  Finally, run the script in Terminal (`php this_script.php`).&#13;
&#13;
**Note:**  For this script to work, you must have PHP, PEAR, and PEAR's Date module installed (type `sudo pear install Date` in Terminal).&#13;
&#13;
Sorry that this is a pain in the ass to get working.  I wrote it very quickly for personal use and thought others might get some use out of it.&lt;/p&gt;</description>
      <pubDate>Tue, 31 Mar 2009 17:50:31 UTC</pubDate>
      <guid>https://snipplr.com/view/13648/ichat-to-adium-chat-transcript-converter</guid>
    </item>
  </channel>
</rss>
