<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Bokko.nl</title>
	<atom:link href="http://www.bokko.nl/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bokko.nl</link>
	<description>Things stuff and more</description>
	<lastBuildDate>Thu, 12 Jan 2012 08:24:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Increase fastCgi / PHP activityTimeout in IIS7</title>
		<link>http://www.bokko.nl/increase-fastcgi-php-activitytimeout-in-iis7/</link>
		<comments>http://www.bokko.nl/increase-fastcgi-php-activitytimeout-in-iis7/#comments</comments>
		<pubDate>Sun, 08 Jan 2012 20:35:17 +0000</pubDate>
		<dc:creator>daniel</dc:creator>
				<category><![CDATA[Howto]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[appcmd]]></category>
		<category><![CDATA[fastcgi]]></category>
		<category><![CDATA[iis]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.bokko.nl/?p=269</guid>
		<description><![CDATA[When your have installed PHP with the Microsoft web platform installer PHP is installed in C:\Program Files (x86)\PHP\v5.2.
When your PHP script runs longer than 10 minutes (600 seconds) you will get an 500 Internal server error.
To fix this issue you will need to increase the fastCgi activityTimeout in IIS7.
After Googling around i found a solutions, [...]]]></description>
			<content:encoded><![CDATA[<p>When your have installed PHP with the Microsoft web platform installer PHP is installed in C:\Program Files (x86)\PHP\v5.2.<br />
When your PHP script runs longer than 10 minutes (600 seconds) you will get an 500 Internal server error.<br />
To fix this issue you will need to increase the fastCgi activityTimeout in IIS7.<br />
After Googling around i found a solutions, but because the web platform installer installs PHP in a path with spaces in it all examples failed.<br />
I Googled some more and after a while i combined 2 solutions and got it to work.</p>
<p>Start a command promt and go to this folder:<br />
<code>c:\Windows\System32\inetsrv</code></p>
<p>Execute this command to see the current settings:</p>
<p><code>C:\Windows\System32\inetsrv>appcmd list config -section:system.webServer/fastCgi</code></p>
<p>Output will be something like this:</p>
<p><code>&lt;system.webServer&gt;<br />
  &lt;fastCgi&gt;<br />
    &lt;application fullPath="C:\Program Files (x86)\PHP\v5.2\php-cgi.exe" monitorChangesTo="php.ini" activityTimeout="600" requestTimeout="600" instanceMaxRequests="10000"&gt;<br />
      &lt;environmentVariables&gt;<br />
        &lt;environmentVariable name="PHP_FCGI_MAX_REQUESTS" value="10000" /&gt;<br />
        &lt;environmentVariable name="PHPRC" value="C:\Program Files (x86)\PHP\v5.2" /&gt;<br />
      &lt;/environmentVariables&gt;<br />
    &lt;/application&gt;<br />
  &lt;/fastCgi&gt;<br />
&lt;/system.webServer&gt;</code></p>
<p>To change the timeout to 1 hour (3600 seconds) execute the following command:</p>
<p><code>C:\Windows\System32\inetsrv>appcmd set config -section:system.webServer/fastCgi "-[fullPath='C:\Program Files (x86)\PHP\v5.2\php-cgi.exe'].activityTimeout:3600"</code></p>
<p>Not the use of double and single quotes to specify the correct parameters.<br />
After you run this command you will see this output:</p>
<p><code>Applied configuration changes to section "system.webServer/fastCgi" for "MACHINE/WEBROOT/APPHOST" at configuration commit path "MACHINE/WEBROOT/APPHOST"</code></p>
<p>After running the list config command again the output now looks like this:</p>
<p><code>&lt;system.webServer&gt;<br />
  &lt;fastCgi&gt;<br />
    &lt;application fullPath="C:\Program Files (x86)\PHP\v5.2\php-cgi.exe" monitorChangesTo="php.ini" activityTimeout="3600" requestTimeout="600" instanceMaxRequests="10000"&gt;<br />
      &lt;environmentVariables&gt;<br />
        &lt;environmentVariable name="PHP_FCGI_MAX_REQUESTS" value="10000" /&gt;<br />
        &lt;environmentVariable name="PHPRC" value="C:\Program Files (x86)\PHP\v5.2" /&gt;<br />
      &lt;/environmentVariables&gt;<br />
    &lt;/application&gt;<br />
  &lt;/fastCgi&gt;<br />
&lt;/system.webServer&gt;</code></p>
<p>As you can see the activityTimeout is now increased.<br />
Restart your IIS service and your good to go.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bokko.nl/increase-fastcgi-php-activitytimeout-in-iis7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Connect to Windows Samba share on Mac OSX with SSH</title>
		<link>http://www.bokko.nl/connect-to-windows-samba-share-on-mac-osx-with-ssh/</link>
		<comments>http://www.bokko.nl/connect-to-windows-samba-share-on-mac-osx-with-ssh/#comments</comments>
		<pubDate>Thu, 11 Aug 2011 12:17:27 +0000</pubDate>
		<dc:creator>daniel</dc:creator>
				<category><![CDATA[Howto]]></category>
		<category><![CDATA[Mac OSX]]></category>

		<guid isPermaLink="false">http://www.bokko.nl/?p=262</guid>
		<description><![CDATA[After some googling around i found this post. It's a very clear howto on connecting to a Windows Samba share on your Mac OSX with SSH. For example your NAS at home from any other location.
I copied it to my own site to be sure it stays on the web.
All credits go to the author.

Chances [...]]]></description>
			<content:encoded><![CDATA[<p>After some googling around i found this post. It's a very clear howto on connecting to a Windows Samba share on your Mac OSX with SSH. For example your NAS at home from any other location.<br />
I copied it to my own site to be sure it stays on the web.</p>
<p>All credits go to the author.<br />
<a href="http://blog.lococobra.com/how-to-connect-to-samba-shares-over-the-internet-via-ssh-from-mac-os-x" title="http://blog.lococobra.com/how-to-connect-to-samba-shares-over-the-internet-via-ssh-from-mac-os-x" target="_blank"></a></p>
<p>Chances are if you are seeing this, you've tried quite a bit but it hasn't worked. Look no further. If you are seeing this and haven't been researching it, then this should still be enough info to get a good start.</p>
<p>First, here's the point: Using windows file sharing (Samba/SMB) is a good way to access your files across your home network, but don't even think about trying it over the internet. In order to access SMB shares across the internet you're going to need to get creative. A method which works reasonably well is using a zero-configuration VPN program such as Hamachi, Remobo, Wippen, etc. to create a virtual lan connecion, thus fooling your computer into connecting like you were on the same lan. That works, but in my experience it isn't very reliable, it has limitations, it has overhead, and it means you have to have that ZCVPN client on both ends. So here's my solution, skip the program, jump straight to the solution. If you use an SSH tunnel to connect to your computer, you can access your SMB shares, you can use VNC to view your screen, or do just about anything that uses a port on your host computer. The best part about it is, once you have it up and running, it's really simple to use!</p>
<p>Note: This post will assume that your "server" machine is running windows and your "client" machine is running Mac OS X Leopard.</p>
<p>Here's how to do it:</p>
<p>1. Enable file sharing on your host computer (I'm going to assume this is running Windows). This will allow your files to be shared across your local network. If you don't know how to do that, there's a very good guide Here.</p>
<p>2. (Optional) Disable simple file sharing and edit the permissions on your shares so that the shares are password protected. You only need to do this if you don't want just anyone on your local network to be able to access your files. (Google it)</p>
<p>3. Install an SSH server on your host computer, I'd recommend freeSSHd. This will allow your to create a secure connection between your computers. I'd suggest freeSSHd because it's free and much easier to use than many of the alternatives (OpenSSH/Cygwin).</p>
<p>4. On the SSH tab in the freeSSHd settings, change the port to whatever port you want, I'll be using 12345 in my examples. I'd recommend something in between 10000 and 50000 so that a network scanner is less likely to pick up the port.</p>
<p>5. On the Users tab in freeSSHd, add a user with the username and password of your choice, set your password as "Password stored as SH1 hash".</p>
<p>6. On the Tunneling tab in freeSSHd, enable local and remote port forwarding.</p>
<p>7. Test your SSH server to make sure you can connect to it using a computer on the same network as the SSH server. You will need the local IP of the SSH server for this step you can find it using This guide.</p>
<p>To test it from your mac machine:</p>
<p>Open the Terminal (Applications/Utilities/Terminal)<br />
Use the command ssh -p port username@hostip (Example: ssh -p 12345 lococobra@192.168.0.2)</p>
<p>8. Enable port-forwarding on your router to your SSH server at the port you used - Follow one of the guides for your router Here but use the port for SSH (12345)</p>
<p>9. (Optional) Set up an automatic DNS server for your host computer, you can set that up Here for free. I'd really suggest you do this, its very useful! Once you have that set up, install the No-IP Dynamic Update Client so that your DNS always matches your dynamic IP.</p>
<p>10. Test your SSH connection via the port forward. This is almost exactly the same as before, except instead of using the IP you got from ipconfig, use your global IP (or the DNS you set up in step 9). You can find your global IP Here.<br />
Example: ssh -p 12345 lococobra@myDNS.hopto.org</p>
<p>Now that we have all that set up, we're almost done. What we're going to do is connect via SSH and forward the SMB ports from our host computer to our client. This will allow you to access your shares remotely. It works because your ssh/smb server will think that it's directly connected with your client computer, when in fact the connection is all handled through SSH. The tricky part is, OS X Leopard will not allow you to do this. If you forward the SMB ports from the server to client computer, then the client will think that it's connecting to itself, and so Leopard will deny the connect. In order to defeat this we're going to have to work some magic.</p>
<p>11. Set up an alias for your loopback connection (localhost/127.0.0.1) on your Mac. This will fool your computer into thinking it's connecting to an external IP. This command needs admin privileges, so you have to use sudo. The command is:</p>
<p><code>sudo ifconfig lo0 127.0.0.2 alias up</code></p>
<p>This will create a temporary alias for your loopback connection which will stay active until the computer is restarted.</p>
<p>12. Edit the all users configuration file for your SSH settings so that you can connect quickly without setting it up each time.</p>
<p>Open the Terminal and run sudo pico /etc/ssh_config<br />
Enter the following text above the line that says " #Host *", change the user and port to the ones you have used in your SSH configuration.</p>
<p><code>Host AliasForHost<br />
HostName hostip<br />
Port 12345<br />
User YourUserName<br />
ServerAliveInterval 200<br />
ServerAliveCountMax 3<br />
LocalForward 127.0.0.2:139 127.0.0.1:139<br />
LocalForward 127.0.0.2:445 127.0.0.1:445</code></p>
<p>Keep in mind that you can add any number of ports to this list. For example, if you want to connect to VNC, add 5900 to that list. Then to use VNC, connect to 127.0.0.2:5900.</p>
<p>Hit control + x, Y, and enter to save the file. Since we're saving it as a dotfile (there's a dot at the beginning) you won't be able to see it. If you need to edit it again, you can do it through pico the same way.</p>
<p>13. Initiate the SSH connection with your host computer using the host alias we set up before.</p>
<p><code>sudo ssh AliasForHost</code></p>
<p>14. Connect to the Samba share. Open a Finder window and hit command+ k to open a Connect to Server windows. For the server address, use:</p>
<p><code>smb://127.0.0.2</code></p>
<p>Now click Connect, and if everything went well you should be prompted with a window to enter your Login credentials for the server machine!</p>
<p>Wow, that was complicated, but at this point it doesn't need to be. Here's a little AppleScript I came up with to automate the connection. (Don't worry about running the ifconfig over and over, it won't hurt anything)</p>
<p>set Command to "sudo ifconfig lo0 127.0.0.2 alias up; sudo ssh AliasForHost"</p>
<p><code>tell application "Terminal"<br />
if (count of windows) is 0 then<br />
do script Command<br />
else<br />
do script Command in window 1<br />
end if<br />
activate<br />
end tell</code></p>
<p>You can save that script as an application using the AppleScript Script Editor and run it to automatically run those commands.</p>
<p>I know for most people that post was probably really confusing but I tried! If you need help please comment or something. I'll get back to you.</p>
<p>Edit: Take a look at Fredrik's script in the first comment for  an even more automated solution for connecting and mounting.</p>
<p>Edit2: I found a much more efficient way to actually initiate the connection using a host alias, take a look at the part about the ssh_config file</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bokko.nl/connect-to-windows-samba-share-on-mac-osx-with-ssh/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Must have Mac OSX Apps: RCDefaultApp</title>
		<link>http://www.bokko.nl/must-have-mac-osx-apps-rcdefaultapp/</link>
		<comments>http://www.bokko.nl/must-have-mac-osx-apps-rcdefaultapp/#comments</comments>
		<pubDate>Mon, 09 May 2011 18:41:41 +0000</pubDate>
		<dc:creator>daniel</dc:creator>
				<category><![CDATA[Must have Mac OSX Apps]]></category>

		<guid isPermaLink="false">http://www.bokko.nl/?p=248</guid>
		<description><![CDATA[RCDefaultApp allows to set the default applications used for various URL schemes, file extensions, file types, MIME types, and Uniform Type Identifiers from within a very easy interface. You can manage all your default settings from a single point. A handy feature is the ability to be able to override the default application for new [...]]]></description>
			<content:encoded><![CDATA[<p>RCDefaultApp allows to set the default applications used for various URL schemes, file extensions, file types, MIME types, and Uniform Type Identifiers from within a very easy interface. You can manage all your default settings from a single point. A handy feature is the ability to be able to override the default application for new files. For example, if you save a PSD with photoshop but you for example always want to view PSD's with Xee, you will be able to configure this.</p>
<p><a href="http://www.bokko.nl/wp-content/uploads/2011/05/Screen-shot-2011-05-09-at-8.48.58-PM.png"><img src="http://www.bokko.nl/wp-content/uploads/2011/05/Screen-shot-2011-05-09-at-8.48.58-PM-300x206.png" alt="" title="Screen shot 2011-05-09 at 8.48.58 PM" width="300" height="206" class="alignnone size-medium wp-image-250" /></a></p>
<p>The application is freeware.<br />
Go to the homepage of the author here:<br />
<a href="http://www.rubicode.com/Software/RCDefaultApp/">http://www.rubicode.com/Software/RCDefaultApp/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.bokko.nl/must-have-mac-osx-apps-rcdefaultapp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Must have Mac OSX Apps: Xee</title>
		<link>http://www.bokko.nl/must-have-mac-osx-apps-xee/</link>
		<comments>http://www.bokko.nl/must-have-mac-osx-apps-xee/#comments</comments>
		<pubDate>Fri, 15 Apr 2011 12:22:02 +0000</pubDate>
		<dc:creator>daniel</dc:creator>
				<category><![CDATA[Must have Mac OSX Apps]]></category>

		<guid isPermaLink="false">http://www.bokko.nl/?p=240</guid>
		<description><![CDATA[Xee is the ultimate replacement for the zero-feature image viewer that comes with your mac.
The features of xee are:

Display a large number of image formats - any format QuickTime or Preview
can open, plus several more, including PCX, Maya IFF and Amiga IFF-ILBM.
Easy browse through folders of images - open any file in a
folder and use [...]]]></description>
			<content:encoded><![CDATA[<p>Xee is the ultimate replacement for the zero-feature image viewer that comes with your mac.</p>
<p>The features of xee are:</p>
<ul>
<li>Display a large number of image formats - any format QuickTime or Preview<br />
can open, plus several more, including PCX, Maya IFF and Amiga IFF-ILBM.</li>
<li>Easy browse through folders of images - open any file in a<br />
folder and use the toolbar, keyboard shortcuts or mouse wheel to<br />
view the other images in the same folder.</li>
<li>Browse image inside archives, using the uncompression engine from<br />
<a href="unarchiver">The Unarchiver</a>. It can read almost every format<br />
The Unarchiver can, which include Zip, Rar, 7-Zip, Lzh, ISO and<br />
StuffIt. It also supports the CBZ and CBR formats, which are just<br />
renamed Zip and Rar files, respectively.</li>
<li>Effortlessly copy, move, rename and delete of images while viewing.</li>
<li>Losslessy rotate and crop JPEG images. This lets you edit your<br />
digital photographs without losing quality by re-compressing them like<br />
most other editors do.</li>
<li>View more EXIF data for JPEG files than Preview, and also other kinds of<br />
metadata, like XMP or IPTC. It can even try to identify what program or<br />
camera created a JPEG file by analyzing its quantization tables.</li>
<li>Extract bitmap images from inside PDF and SWF files. Many PDF files contain<br />
scanned pages in bitmap form, and Xee can read these and show them as<br />
bitmap image, and even save them. The same goes for bitmap images inside<br />
SWF files.</li>
<li>View images in full-screen.</li>
</ul>
<p><a href="http://www.bokko.nl/wp-content/uploads/2011/04/Screen-shot-2011-04-15-at-2.32.12-PM.png"><img src="http://www.bokko.nl/wp-content/uploads/2011/04/Screen-shot-2011-04-15-at-2.32.12-PM-300x262.png" alt="" title="Screen shot 2011-04-15 at 2.32.12 PM" width="300" height="262" class="alignnone size-medium wp-image-241" /></a></p>
<p>Get it here: <a href="http://wakaba.c3.cx/s/apps/xee" title="Download Xee">http://wakaba.c3.cx/s/apps/xee</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.bokko.nl/must-have-mac-osx-apps-xee/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Generate CSR for apache with mod_ssl</title>
		<link>http://www.bokko.nl/generate-csr-for-apache-with-mod_ssl/</link>
		<comments>http://www.bokko.nl/generate-csr-for-apache-with-mod_ssl/#comments</comments>
		<pubDate>Wed, 23 Mar 2011 21:16:56 +0000</pubDate>
		<dc:creator>daniel</dc:creator>
				<category><![CDATA[Howto]]></category>

		<guid isPermaLink="false">http://www.bokko.nl/?p=237</guid>
		<description><![CDATA[This post is just as a reminder so i can look this up when i need to.. But if it helps you that's great.
To generate a 2048 bits certificate request do this:
openssl genrsa -out www.whatever.nl.key 2048
openssl req -new -key www.whatever.nl.key -out www.whatever.nl.csr
In the vhost add this:
SSLCertificateFile /where/ever/www.whatever.nl.crt
SSLCertificateKeyFile /where/ever/www.whatever.nl.key
When a intermediate CA is needed, download it, [...]]]></description>
			<content:encoded><![CDATA[<p>This post is just as a reminder so i can look this up when i need to.. But if it helps you that's great.</p>
<p>To generate a 2048 bits certificate request do this:</p>
<p>openssl genrsa -out www.whatever.nl.key 2048<br />
openssl req -new -key www.whatever.nl.key -out www.whatever.nl.csr</p>
<p>In the vhost add this:</p>
<p>SSLCertificateFile /where/ever/www.whatever.nl.crt<br />
SSLCertificateKeyFile /where/ever/www.whatever.nl.key</p>
<p>When a intermediate CA is needed, download it, and add this line:</p>
<p>SSLCACertificateFile /where/ever/intermediate.ca.crt</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bokko.nl/generate-csr-for-apache-with-mod_ssl/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Must have Mac OSX App: TotalFinder</title>
		<link>http://www.bokko.nl/must-have-mac-osx-app-totalfinder/</link>
		<comments>http://www.bokko.nl/must-have-mac-osx-app-totalfinder/#comments</comments>
		<pubDate>Wed, 23 Mar 2011 08:16:02 +0000</pubDate>
		<dc:creator>daniel</dc:creator>
				<category><![CDATA[Must have Mac OSX Apps]]></category>

		<guid isPermaLink="false">http://www.bokko.nl/?p=227</guid>
		<description><![CDATA[The Finder is the worst thing on the mac if you ask me, there are several missing features for example the abilty tho show folders before files, show hidden files, no creation of those irritating .DS_Store files etc.
TotalFinder, from BinaryAge, does everything i miss in the default mac finder. A few features i like the [...]]]></description>
			<content:encoded><![CDATA[<p>The Finder is the worst thing on the mac if you ask me, there are several missing features for example the abilty tho show folders before files, show hidden files, no creation of those irritating .DS_Store files etc.</p>
<p>TotalFinder, from <a href="http://totalfinder.binaryage.com/" target="_blank">BinaryAge</a>, does everything i miss in the default mac finder. A few features i like the most are:</p>
<ul>
<li>Tabbed browsing</li>
<li>Side-by-side mode, 2 finders in one window</li>
<li>Show hidden/system files</li>
<li>Folders on top</li>
</ul>
<p><a href="http://www.bokko.nl/wp-content/uploads/2011/03/Screen-shot-2011-03-23-at-9.01.13-AM.png"><img src="http://www.bokko.nl/wp-content/uploads/2011/03/Screen-shot-2011-03-23-at-9.01.13-AM.png" alt="" title="TotalFinder Preferences" width="395" height="566" class="alignnone size-full wp-image-229" /></a></p>
<p><a href="http://totalfinder.binaryage.com/" target="_blank">Go to the TotalFinder website</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.bokko.nl/must-have-mac-osx-app-totalfinder/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Textmate command: url-safe</title>
		<link>http://www.bokko.nl/textmate-command-url-safe/</link>
		<comments>http://www.bokko.nl/textmate-command-url-safe/#comments</comments>
		<pubDate>Thu, 10 Feb 2011 12:49:16 +0000</pubDate>
		<dc:creator>daniel</dc:creator>
				<category><![CDATA[Textmate commands]]></category>

		<guid isPermaLink="false">http://www.bokko.nl/?p=223</guid>
		<description><![CDATA[Transforms each line in you text file to an url-safe line. I use this for example to transform product names to url-safe names which i can use in a webshop.

#!/usr/bin/env php
&#60;?php
	$stdin = file_get_contents("php://stdin");
	$lines = split("\n", $stdin);
	$newlines = array();
	foreach($lines as $line) {
		$line = strtolower($line);
		$line = preg_replace("/\s+/","-",$line);
		$line = preg_replace("/[^a-z0-9_\-]/","",$line);
		$newlines[] = $line;
	}
	echo join("\n", $newlines);
?&#62;

]]></description>
			<content:encoded><![CDATA[<p>Transforms each line in you text file to an url-safe line. I use this for example to transform product names to url-safe names which i can use in a webshop.<br />
<code><br />
#!/usr/bin/env php<br />
&lt;?php<br />
	$stdin = file_get_contents("php://stdin");</p>
<p>	$lines = split("\n", $stdin);<br />
	$newlines = array();<br />
	foreach($lines as $line) {<br />
		$line = strtolower($line);<br />
		$line = preg_replace("/\s+/","-",$line);<br />
		$line = preg_replace("/[^a-z0-9_\-]/","",$line);<br />
		$newlines[] = $line;</p>
<p>	}<br />
	echo join("\n", $newlines);</p>
<p>?&gt;<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.bokko.nl/textmate-command-url-safe/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Textmate command: sort</title>
		<link>http://www.bokko.nl/textmate-command-sort/</link>
		<comments>http://www.bokko.nl/textmate-command-sort/#comments</comments>
		<pubDate>Wed, 02 Feb 2011 13:22:58 +0000</pubDate>
		<dc:creator>daniel</dc:creator>
				<category><![CDATA[Textmate commands]]></category>

		<guid isPermaLink="false">http://www.bokko.nl/?p=217</guid>
		<description><![CDATA[
#!/usr/bin/env php
&#60;?php
	$stdin = file_get_contents("php://stdin");
	$lines = split("\n", $stdin);
	sort($lines);
	echo implode("\n", $lines);
?&#62;

]]></description>
			<content:encoded><![CDATA[<p><code><br />
#!/usr/bin/env php<br />
&lt;?php<br />
	$stdin = file_get_contents("php://stdin");<br />
	$lines = split("\n", $stdin);<br />
	sort($lines);<br />
	echo implode("\n", $lines);<br />
?&gt;<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.bokko.nl/textmate-command-sort/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Textmate command: lowercase</title>
		<link>http://www.bokko.nl/textmate-command-lowercase/</link>
		<comments>http://www.bokko.nl/textmate-command-lowercase/#comments</comments>
		<pubDate>Wed, 02 Feb 2011 13:22:27 +0000</pubDate>
		<dc:creator>daniel</dc:creator>
				<category><![CDATA[Textmate commands]]></category>

		<guid isPermaLink="false">http://www.bokko.nl/?p=215</guid>
		<description><![CDATA[#!/usr/bin/env php
&#60;?php
	$stdin = file_get_contents("php://stdin");
	echo strtolower($stdin);
?&#62;
]]></description>
			<content:encoded><![CDATA[<p><code>#!/usr/bin/env php<br />
&lt;?php<br />
	$stdin = file_get_contents("php://stdin");<br />
	echo strtolower($stdin);<br />
?&gt;</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.bokko.nl/textmate-command-lowercase/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The best editor on mac osx #textmate create your own commands using PHP</title>
		<link>http://www.bokko.nl/the-best-editor-on-mac-osx-textmate-create-your-own-commands-using-php/</link>
		<comments>http://www.bokko.nl/the-best-editor-on-mac-osx-textmate-create-your-own-commands-using-php/#comments</comments>
		<pubDate>Wed, 26 Jan 2011 16:36:00 +0000</pubDate>
		<dc:creator>daniel</dc:creator>
				<category><![CDATA[Howto]]></category>
		<category><![CDATA[Mac OSX]]></category>

		<guid isPermaLink="false">http://www.bokko.nl/?p=208</guid>
		<description><![CDATA[With the bundle editor it's possible to create your own commands. And the best thing ever is you can use PHP in your commands.
Now i can do virtually anything, advanced text conversions, even with database lookups!

]]></description>
			<content:encoded><![CDATA[<p>With the bundle editor it's possible to create your own commands. And the best thing ever is you can use PHP in your commands.</p>
<p>Now i can do virtually anything, advanced text conversions, even with database lookups!</p>
<p><a href="http://www.bokko.nl/wp-content/uploads/2011/01/Screen-shot-2011-01-26-at-5.42.23-PM.png"><img src="http://www.bokko.nl/wp-content/uploads/2011/01/Screen-shot-2011-01-26-at-5.42.23-PM.png" alt="Textmate PHP command" title="Textmate PHP command" width="493" height="493" class="alignnone size-full wp-image-209" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.bokko.nl/the-best-editor-on-mac-osx-textmate-create-your-own-commands-using-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

