<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><atom:link rel="hub" href="http://tumblr.superfeedr.com/" xmlns:atom="http://www.w3.org/2005/Atom"/><description></description><title>Code from the sideline</title><generator>Tumblr (3.0; @sideshowcoder-main)</generator><link>http://sideshowcoder.com/</link><item><title>And again jQuery Slider</title><description>&lt;p&gt;Trying to make some slider plugins for jQuery work with a HTML list didn’t prove to be as simple as expected I started working on a simple slider to work with all HTML elements. &lt;a href="https://github.com/sideshowcoder/HelementSlider"&gt;So here it is in a first working version&lt;/a&gt; to be improved and worked on in the futur as need arises.&lt;/p&gt;</description><link>http://sideshowcoder.com/post/16758043234</link><guid>http://sideshowcoder.com/post/16758043234</guid><pubDate>Mon, 30 Jan 2012 08:05:10 -0500</pubDate><category>jQuery</category><category>Alpha</category><category>Code</category><category>javascript</category></item><item><title>FirePHP and Codeigniter 2</title><description>&lt;p&gt;Working on a Codeigniter 2 Project right now I decided to give FirePHP a spin since it was pointed out to me for being somewhere around the next best thing to sliced bread for PHP Debugging… or something like that. It really seems nice so far I have to say!&lt;/p&gt;

&lt;p&gt;Looking for some Codeigniter library but only finding a CI 1.7 one I decided to try to just drop in the provided code from the &lt;a href="http://www.firephp.org/"&gt;FirePHP site&lt;/a&gt; and guess what it just works. Download the &lt;a href="http://www.firephp.org/DownloadRelease/FirePHPLibrary-FirePHPCore-0.3.2"&gt;FirePHPCore, currently 0.3.2,&lt;/a&gt; 
and unpack FirePHP.class.php to the Codeigniter application/libraries folder (I also renamed it to firephp.php as well). Now the library can be loaded either via adding it to the autoload.php as&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;$autoload['libraries'] = array('firephp');
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;or just load it when needed via&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;$this-&gt;load-&gt;library('firephp');
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;I prefer to autoload since I only load it in my development autoload.php anyway. Having different configs for development and production is as easy as setting up a directory structure like the following and just drop the configs in the environment folders.&lt;/p&gt;

&lt;p&gt;&lt;a href="http://www.flickr.com/photos/fadingischi/6737745337/" title="Codeigniter Config Directory by philipp.fehre, on Flickr"&gt;&lt;img src="http://farm8.staticflickr.com/7165/6737745337_145da2d0ff.jpg" width="184" height="423" alt="Codeigniter Config Directory"/&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Now it is time to install both &lt;a href="http://firebug.org"&gt;Firebug&lt;/a&gt; and the &lt;a href="https://s3.amazonaws.com/download.sourcemint.com/github.com/firephp/firephp-extension/-stream/stable/firephp-extension-0.7.0rc3.xpi"&gt;Firefox FirePHP Plugin for Firefox 8+&lt;/a&gt;. Currently the latest FirePHP needs to be installed via the link since the one provided as stable via Addons is not working with Firebug 1.9. Get the latest from the &lt;a href="http://www.firephp.org/"&gt;FirePHP site&lt;/a&gt; or you will get an error.&lt;/p&gt;

&lt;p&gt;Thats it! Now logging a message is as easy as&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;$this-&gt;firephp-&gt;log("FirePHP is working!");
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;&lt;a href="http://www.flickr.com/photos/fadingischi/6737746623/" title="FirePHP Log by philipp.fehre, on Flickr"&gt;&lt;img src="http://farm8.staticflickr.com/7159/6737746623_8d8b07aae6.jpg" width="500" height="281" alt="FirePHP Log"/&gt;&lt;/a&gt;&lt;/p&gt;</description><link>http://sideshowcoder.com/post/16291316671</link><guid>http://sideshowcoder.com/post/16291316671</guid><pubDate>Sun, 22 Jan 2012 11:00:05 -0500</pubDate><category>FirePHP</category><category>Codeigniter</category></item><item><title>Shrtr - Heroku, Redis, Node</title><description>&lt;p&gt;&lt;img src="http://shrtr.ws/img/shrtr.png" width="300"/&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="http://heroku.com"&gt;Heroku&lt;/a&gt; provides &lt;a href="http://nodejs.org"&gt;node.js&lt;/a&gt; hosting for some time now and I didn’t have time to check it out, so yesterday I took some time and decided to  write a quick app to check it out. You can find it as &lt;a href="http://shrtr.ws"&gt;Shrtr&lt;/a&gt; its a URL shortener using Redis in the backend. So for anybody interested code is available on &lt;a href="https://github.com/sideshowcoder/Shrtr"&gt;Github&lt;/a&gt;.&lt;/p&gt;</description><link>http://sideshowcoder.com/post/15032256464</link><guid>http://sideshowcoder.com/post/15032256464</guid><pubDate>Fri, 30 Dec 2011 12:17:01 -0500</pubDate><category>shrtr</category><category>heroku</category><category>nodejs</category><category>redis</category></item><item><title>Clean configuration defaults via Object.create in Node.js</title><description>&lt;p&gt;While recently coming back to clean up some &lt;a href="http://nodejs.org"&gt;Node.js&lt;/a&gt; module
code I was looking for a nicer way to handle configuration of an object besides
doing something like this to handle both configuration options and defaults.&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;var MyModule = function(opts){
  this.foo = opts.foo || 1;
  this.bar = opts.bar || 2;
  // the list goes on
}
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;In my opinion this code is not really readable, and defaults are not as
obvious as I would like them to be. So I decided to let myself get inspired from
jQuery which provides a nice way to handle settings and defaults in plugins, via
&lt;a href="http://api.jquery.com/jQuery.extend/"&gt;$.extend(defaults, options)&lt;/a&gt; so my first
Idea was to simple create an extend function in node, but since I would have to
extend Object to make this as clean as possible I was looking for a way to
handle this natively, and this is where
&lt;a href="https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object/create"&gt;Object.create&lt;/a&gt;
comes in handy.&lt;/p&gt;

&lt;p&gt;Object.create allows creating of an object based on some prototype as well as
some default values, which is exactly what I was looking for. Do to the way
Object.create handles properties the options need to be prepared before merging
them in the configuration, which is finally bound to this.&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;var MyModule = function(opts){
  // some default values 
  var defaults = { foo: 1, bar: 2 };

  // prepare the options for Object.create
  var options = {};
  for(var i in opts){
    options[i] = { 
      value: opts[i], 
      enumerable: true, 
      writeable: true, 
      configurable: true } 
    };
  }

  // let Object.create merge the options with the defaults
  var config = Object.create(defaults, options);

  // bind to this
  for(var o in config){
    this[o] = config[o];
  }
}
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Any suggestions for a different cleaner handling of configuration options are 
highly welcome.&lt;/p&gt;

&lt;p&gt;EDIT: Fixed extra level of nesting in options thanks to Sami Samhuri&lt;/p&gt;</description><link>http://sideshowcoder.com/post/14914578841</link><guid>http://sideshowcoder.com/post/14914578841</guid><pubDate>Wed, 28 Dec 2011 07:13:00 -0500</pubDate><category>JavaScript</category><category>Node.Js</category><category>Configuration</category></item><item><title>Filmspieler</title><description>&lt;p&gt;Some time ago, me and a good friend of mine, &lt;a href="http://twitter.com/#!/pcgwebseb"&gt;Sebastian Weber&lt;/a&gt; decided 
to take up podcasting. At the time he was still working for &lt;a href="http://www.pcgames.de/"&gt;PCGames&lt;/a&gt;, a german games magazine, and 
so there was not really the opportunity to do so. But now the time has come
and we are now booth working together on recording out new Podcast
&lt;a href="https://filmspieler.com"&gt;“Filmspieler”&lt;/a&gt;. To get the “Film” part going, another really good friend
of mine, Florian Negwer is contributing.&lt;/p&gt;

&lt;p&gt;So whats this all about? It really is a project born from our love towards
movies, games, and especially talking about those. We are not focusing on news
but the stuff we are currently excited about even if it is older already.&lt;/p&gt;

&lt;p&gt;All 3 of us are really excited to get this going, our first episode is currently
out and we hope to continue in a 2 week rhythm, while writing articles on the
webpage as well in between.&lt;/p&gt;

&lt;p&gt;We’d love some feedback so check it out at &lt;a href="https://filmspieler.com"&gt;“Filmspieler”&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;BEWARE: Everything is in german.&lt;/p&gt;</description><link>http://sideshowcoder.com/post/13453126327</link><guid>http://sideshowcoder.com/post/13453126327</guid><pubDate>Mon, 28 Nov 2011 09:10:44 -0500</pubDate><category>filmspieler</category><category>podcast</category></item><item><title>Todo.txt syntax highlighter for Vim</title><description>&lt;p&gt;As mentioned before I am a big fan of &lt;a href="http://ginatrapani.org/"&gt;Gina Trapanis’&lt;/a&gt; &lt;a href="http://todotxt.com/"&gt;Todo.txt&lt;/a&gt; a command line todo list manager completely based around a bash script to manage a txt file. I already wrote a highlighter plus some basic commands as a &lt;a href="http://sideshowcoder.com/post/5489719893/todo-txt-textmate-bundle"&gt;plugin for TextMate&lt;/a&gt; which I now started to port for &lt;a href="https://github.com/sideshowcoder/vimtodotxt"&gt;Vim&lt;/a&gt;. Currently the syntax highlight is working, the commands will follow. Stay tuned!&lt;/p&gt;</description><link>http://sideshowcoder.com/post/12557874708</link><guid>http://sideshowcoder.com/post/12557874708</guid><pubDate>Wed, 09 Nov 2011 10:43:16 -0500</pubDate><category>tools</category><category>development</category><category>vim</category><category>todotxt</category></item><item><title>Nginx forward all requests to https</title><description>&lt;p&gt;Since listening to &lt;a href="https://mikewest.org/"&gt;Mike West&lt;/a&gt; and reading his posts I finally decided to really move all my stuff hosted on my own server to SSL. Certs are really not that expensive anymore (about 9$ per Year) and getting more IPs for my server was easier than expected (Whats up with IPv4 depletion aye?).&lt;/p&gt;

&lt;p&gt;Since I want everything reachable with all the old links I decided to forward pretty much everything to the ssl host, to do this via Nginx the following little config should work, so I wanted to share since it was not as easy as expected to actually get everything running nicely. It forwards in this case &lt;a href="http://example.com"&gt;http://example.com&lt;/a&gt; &lt;a href="http://www.example.com"&gt;http://www.example.com&lt;/a&gt; &lt;a href="https://www.example.com"&gt;https://www.example.com&lt;/a&gt; all to &lt;a href="https://example.com"&gt;https://example.com&lt;/a&gt;.&lt;/p&gt;

&lt;script src="https://gist.github.com/1337018.js"&gt; &lt;/script&gt;&lt;p&gt;To make sure the clients will only use SSL from now on the server serving SSL should furthermore have ” add_header Strict-Transport-Security “max-age=31556926; includeSubdomains”; ” somewhere in the config.&lt;/p&gt;

&lt;p&gt;Thats it… now to move over more stuff.&lt;/p&gt;</description><link>http://sideshowcoder.com/post/12287697318</link><guid>http://sideshowcoder.com/post/12287697318</guid><pubDate>Thu, 03 Nov 2011 13:00:13 -0400</pubDate><category>SSL4everything</category><category>nginx</category></item><item><title>Hermes allows google to index the parcel tracking?</title><description>&lt;p&gt;While waiting for my iPhone 4s today I received a message about my tracking status and so I was checking the &lt;a href="https://sisyr.hlg.de/wps/portal/SISY"&gt;Hermes tracking page&lt;/a&gt;. When it told me the status of my packet I was curious when it will arrive so I decided to google for that, and was kind of surprised what showed up…&lt;/p&gt;

&lt;p&gt;&lt;a href="http://www.flickr.com/photos/fadingischi/6246529978/" title="why_hermes_one.png by philipp.fehre, on Flickr"&gt;&lt;img src="http://farm7.static.flickr.com/6044/6246529978_2fb7292769.jpg" width="500" height="103" alt="why_hermes_one.png"/&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Oh well so It seems like google is indexing the Hermes tracking system, you can even click it and view the links for another persons’ packages….&lt;/p&gt;

&lt;p&gt;&lt;a href="http://www.flickr.com/photos/fadingischi/6246532142/" title="why_hermes_two.png by philipp.fehre, on Flickr"&gt;&lt;img src="http://farm7.static.flickr.com/6108/6246532142_5ea4de49ae.jpg" width="500" height="391" alt="why_hermes_two.png"/&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;It’s actually not a big deal, I’m just confused why Hermes would allow google to index this. It’s not really useful for anybody and even though it is publicly available information feels kind of weird to have another persons delivery as the first google result.&lt;/p&gt;</description><link>http://sideshowcoder.com/post/11476744650</link><guid>http://sideshowcoder.com/post/11476744650</guid><pubDate>Sat, 15 Oct 2011 09:59:23 -0400</pubDate><category>hermes</category><category>delivery</category><category>tracking</category><category>privacy</category></item><item><title>Use a different single template per category in Wordpress</title><description>&lt;p&gt;In a recent &lt;a href="http://wordpress.org"&gt;Wordpress&lt;/a&gt; project the posts are displayed on different pages differentiated by category instead of type. In this case different designs are loaded based on categories as well, since the theme needs to match the design of the current page. Wordpress does not provide a build in mechanism to do this, it only does for post types.&lt;/p&gt;

&lt;p&gt;The solution is rather simple, use the single.php file to first check the category and load the matching template. Since in my development environment the categories might match to different IDs than in the deployed instance it’s more practical to match by name instead of ID. Importantly first the category ID needs identification by name, and is stored to load the matching template, since matching via the $post variable can only be achieved via ID not name or slug. For anybody interested I put example code up on &lt;a href="https://gist.github.com/1272148"&gt;github&lt;/a&gt;.&lt;/p&gt;

&lt;script src="https://gist.github.com/1272148.js"&gt;&lt;/script&gt;</description><link>http://sideshowcoder.com/post/11177505787</link><guid>http://sideshowcoder.com/post/11177505787</guid><pubDate>Sat, 08 Oct 2011 07:43:34 -0400</pubDate><category>wordpress</category><category>development</category><category>theme</category></item><item><title>Grouptime is in the App store</title><description>&lt;p&gt;The iPhone App I, as part of a team, was working on during the last couple months for a client reached the &lt;a href="http://itunes.apple.com/de/app/grouptime/id406001447?mt=8"&gt;Appstore&lt;/a&gt; some days ago. You can find everything about &lt;a href="http://grouptime.com/"&gt;Grouptime on the Webpage&lt;/a&gt;. By the way the App is build using &lt;a href="http://appcelerator.com"&gt;Titanium&lt;/a&gt;, and is the reason for me to be developing &lt;a href="https://github.com/sideshowcoder/jpgcompressor"&gt;the jpgcompressor Titanium module&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;And now back to work on the Android Port, go go go!&lt;/p&gt;</description><link>http://sideshowcoder.com/post/10722103338</link><guid>http://sideshowcoder.com/post/10722103338</guid><pubDate>Tue, 27 Sep 2011 04:20:46 -0400</pubDate><category>Titanium</category><category>iphone</category><category>android</category><category>grouptime</category><category>JPGCompresser</category></item><item><title>Using shell script to deploy automatically</title><description>&lt;p&gt;Automatic deployment is essential for any project which is supposed to be worked on and run continuously. Until recently I was using &lt;a href="https://github.com/capistrano/capistrano"&gt;capistrano&lt;/a&gt; to do this, but since development seems to have kind of stalled recently I decided to look around for an alternative, which I found in &lt;a href="https://github.com/visionmedia/deploy"&gt;deploy&lt;/a&gt; a shell script by TJ Holowaychuk. To check it out I am currently using it to deploy a small Codeignitor project I am working on the side and use to try out new stuff. It really is easy to use and quite flexible due to allowing pre and post deploy hooks as well as automatic tests to check if the deployed version is working, and rollback if it is not. The use with CI is quite simple the only thing todo is to make sure that the right permissions are set which can be easily handled by a post-deploy shell script.&lt;/p&gt;

&lt;h2&gt;Usage&lt;/h2&gt;

&lt;p&gt;On the server it creates a simple directory structure with&lt;/p&gt;

&lt;p&gt;&lt;code&gt;ENV_ROOT/current&lt;br/&gt;
ENV_ROOT/shared&lt;br/&gt;
ENV_ROOT/source&lt;br/&gt;&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;in my case for both staging and production. This is done via an initial&lt;/p&gt;

&lt;p&gt;&lt;code&gt;deploy [ENV] setup&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;all following deploys are done by issueing&lt;/p&gt;

&lt;p&gt;&lt;code&gt;deploy [ENV]&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="http://www.flickr.com/photos/fadingischi/6171591103/" title="deploy shell script by philipp.fehre, on Flickr"&gt;&lt;img src="http://farm7.static.flickr.com/6156/6171591103_3a51559d86.jpg" width="500" height="302" alt="deploy shell script"/&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;Modifications&lt;/h2&gt;

&lt;p&gt;For some reason some commands were not working for me in Bash ond my Mac so I had to do some small ajustments, I guess it is due to the version of bash I am using being not current maybe. You can find them in &lt;a href="https://github.com/sideshowcoder/deploy"&gt;my fork&lt;/a&gt;&lt;/p&gt;</description><link>http://sideshowcoder.com/post/10516317268</link><guid>http://sideshowcoder.com/post/10516317268</guid><pubDate>Thu, 22 Sep 2011 07:50:00 -0400</pubDate><category>deploy</category><category>codeignitor</category><category>server</category><category>php</category><category>shell</category></item><item><title>Integrate doctrine 2 in zend 1.11 </title><description>&lt;p&gt;Just some quick notes on &lt;a href="http://framework.zend.com/"&gt;zend&lt;/a&gt; and &lt;a href="http://www.doctrine-project.org/"&gt;doctrine&lt;/a&gt;. Right now I am in the process to rewrite a web application which is based on zend and doctrine, and in the process is ported over to the latest versions of both. Since doctrine does not integrate completely seamless in zend, yet, there is some glue code to be included to make it work. While looking for the right way to do it I came across &lt;a href="http://www.zendcasts.com/unit-testing-doctrine-2-entities/2011/02/"&gt;a video&lt;/a&gt; which explains everything nicely. The code which holds everything together is &lt;a href="https://github.com/ralphschindler/NOLASnowball"&gt;Bisna&lt;/a&gt; which is available as part of &lt;a href="https://github.com/ralphschindler/NOLASnowball"&gt;NOLASnowball&lt;/a&gt;. To make it work simply check out the 
“doctrine2-managed-crud” branch&lt;/p&gt;

&lt;p&gt;&lt;code&gt;
  $ git clone &lt;a href="https://github.com/ralphschindler/NOLASnowball"&gt;https://github.com/ralphschindler/NOLASnowball&lt;/a&gt; &lt;br/&gt;
  $ git co doctrine2-managed-crud
&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;and copy Bisna, Symphony, Doctrine from the library folder to your project, also the application.ini file needs to be adjusted to. For a more extensive explanation check out the &lt;a href="http://www.zendcasts.com/unit-testing-doctrine-2-entities/2011/02/"&gt;video&lt;/a&gt; mentioned above.&lt;/p&gt;</description><link>http://sideshowcoder.com/post/9994350438</link><guid>http://sideshowcoder.com/post/9994350438</guid><pubDate>Fri, 09 Sep 2011 10:01:30 -0400</pubDate><category>zend</category><category>doctrine</category><category>php</category></item><item><title>Scaling images in Titanium (JPGCompressor Update)</title><description>&lt;p&gt;Since I wrote the initial version of &lt;a href="https://github.com/sideshowcoder/jpgcompressor"&gt;jpgcompressor&lt;/a&gt; for titanium, I needed scaling of images as well. The only way to do this in titanium is to overlay an Ti.UI.imageView and grab the picture out. This is neither fast nor clean, and it seems to reduce the quality for some weird reason. Since I figured I’m not the only one facing this problem, I added the feature to &lt;a href="https://github.com/sideshowcoder/jpgcompressor"&gt;jpgcompressor&lt;/a&gt; via the scale function. Documentation is available in the &lt;a href="https://github.com/sideshowcoder/jpgcompressor/blob/master/example/app.js"&gt;example&lt;/a&gt;. If there are any problems please let me know, the code is build against the new 1.7.2 version of Titanium but should work with previous versions as well by adjusting the &lt;a href="https://github.com/sideshowcoder/jpgcompressor/blob/master/manifest"&gt;manifest&lt;/a&gt; as well as &lt;a href="https://github.com/sideshowcoder/jpgcompressor/blob/master/titanium.xcconfig"&gt;titanium.xconfig&lt;/a&gt;.&lt;/p&gt;</description><link>http://sideshowcoder.com/post/8733169084</link><guid>http://sideshowcoder.com/post/8733169084</guid><pubDate>Wed, 10 Aug 2011 09:44:41 -0400</pubDate><category>Titanium</category><category>development</category><category>JPGCompresser</category></item><item><title>Quickly find all Translateable strings in titanium project</title><description>&lt;p&gt;&lt;script src="https://gist.github.com/1128153.js"&gt; &lt;/script&gt; 
There is still room for optimization ;)&lt;/p&gt;</description><link>http://sideshowcoder.com/post/8521326340</link><guid>http://sideshowcoder.com/post/8521326340</guid><pubDate>Fri, 05 Aug 2011 14:17:51 -0400</pubDate><category>Titanium</category><category>Gist</category><category>Shell</category></item><item><title>JPGCompressor for Titanium</title><description>&lt;p&gt;Since &lt;a href="http://www.appcelerator.com/"&gt;Titanium&lt;/a&gt; is not exporting the UIImageJPEGRepresentation function present in the iPhone SDK, there finally was a reason for me to write a little &lt;a href="https://github.com/sideshowcoder/jpgcompressor"&gt;Titanium Module&lt;/a&gt; to do that myself. It is quite easy just define the desired size and pass the picture as a TiBlob, it is compressed as close as possible to the desired size and returned. &lt;a href="https://github.com/sideshowcoder/jpgcompressor/blob/master/example/app.js"&gt;Example usage&lt;/a&gt; is present in the app.js used for testing in the Project.&lt;/p&gt;

&lt;p&gt;Enjoy.&lt;/p&gt;</description><link>http://sideshowcoder.com/post/7100508495</link><guid>http://sideshowcoder.com/post/7100508495</guid><pubDate>Thu, 30 Jun 2011 20:14:42 -0400</pubDate><category>Titanium</category><category>iPhone</category></item><item><title>IPv6 Appengine and iPhone Simulator</title><description>&lt;p&gt;Since yesterday appengine is also available via IPv6, but the iPhone Simulator does not handle IPv6 all that well. So if there is IPv6 available on the Mac running the simulator, and the app connects to appengine requests seem to fail at random right now, not returning any data. In my case I had tunnelbroker providing me with IPv6 and request from the Simulator were not getting through from time to time, so for now I decided to shut down the tunnel. Just a quick info for everybody who might face a similar, random seeming request fail.&lt;/p&gt;</description><link>http://sideshowcoder.com/post/6350841962</link><guid>http://sideshowcoder.com/post/6350841962</guid><pubDate>Thu, 09 Jun 2011 07:42:06 -0400</pubDate><category>iPhone</category><category>IPv6</category><category>debug</category></item><item><title>Todo.txt in Cygwin: Remember there is a windows sort! </title><description>&lt;p&gt;Setting up &lt;a href="http://todotxt.com/"&gt;todo.txt&lt;/a&gt; in &lt;a href="http://www.cygwin.com/"&gt;cygwin&lt;/a&gt; I stumbled across the script not working due to the following error:
&lt;code&gt;
  $ todo.sh ls &lt;br/&gt;
    Input file specified two times. &lt;br/&gt; 
    -- &lt;br/&gt;
    TODO: 0 of 66 tasks shown
&lt;/code&gt;
After some search it came clear that the problem was that todo.sh tried to use the windows internal sort command for sorting instead of the cygwin one. This can be solved by setting TODOTXT_SORT_COMMAND in the config file to “/bin/sort” instead of just “sort”. Now everything works fine.&lt;/p&gt;</description><link>http://sideshowcoder.com/post/6105183502</link><guid>http://sideshowcoder.com/post/6105183502</guid><pubDate>Thu, 02 Jun 2011 08:00:06 -0400</pubDate><category>todotxt</category><category>cygwin</category><category>sort</category><category>error</category></item><item><title>Get links from twitter to improve RSS Reader experience</title><description>&lt;p&gt;&lt;a href="http://chilitweets.com/"&gt;&lt;image src="http://cdn.sideshowcoder.com/images/blog/chillitweets_intro.jpg" title="chillitweets and fever" width="500"&gt;&lt;/image&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;For some time now I’m using &lt;a href="http://feedafever.com/"&gt;Fever&lt;/a&gt; to get more out of my RSS feeds. It’s nice to have a rating on articles which are important to me. There are some high volume feeds I just don’t have the time to scan, but still if something important comes up I don’t want to miss it. This is also where a great service comes in &lt;a href="https://twitter.com/webholics"&gt;a guy I know from College build&lt;/a&gt;, it’s called &lt;a href="http://chilitweets.com/"&gt;Chillitweets&lt;/a&gt;. Chillitweets scans your twitter stream to extract links and presents them to the user. Since, by definition, I follow users I’m interested in they will as well post links I’m interested in which get added via Chillitweets RSS feed to my Reader. Now they can be used to rate the feeds I’m presented with. I’ve been a user of &lt;a href="http://chilitweets.com/"&gt;Chillitweets&lt;/a&gt; since the early days and I gotta say Mario really build a great service there. And to see &lt;a href="http://nodejs.org"&gt;NodeJS&lt;/a&gt; in action is always nice :).&lt;/p&gt;</description><link>http://sideshowcoder.com/post/5831117436</link><guid>http://sideshowcoder.com/post/5831117436</guid><pubDate>Wed, 25 May 2011 08:06:06 -0400</pubDate><category>chillitweets</category><category>fever</category><category>rss</category><category>setup</category></item><item><title>Todo.txt TextMate Bundle </title><description>&lt;p&gt;&lt;a href="http://www.flickr.com/photos/fadingischi/5718101699/" title="tmtodotxt by philipp.fehre, on Flickr"&gt;&lt;img src="http://farm3.static.flickr.com/2564/5718101699_8644b85eb9.jpg" width="500" height="216" alt="tmtodotxt.png"/&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="http://todotxt.com/"&gt;Todo.txt&lt;/a&gt; is a command line todo list manager completely based around a bash script to manage a txt file which holds the todos and an Android App is available as well. Since it is just a plain text file it is really nice to work with, and it syncs very easily, even if the machine you are working with doesn’t feature a GUI. 
From time to time there is the need to edit the file not via the command line but via an editor. To ease my life doing this I was looking around for some support in TextMate, and since there was none I decided to start a TextMate bundle for it. Currently there is just some syntax highlighting but I plan on adding some commands as well as soon as I figure out what might be useful in the editor. The goal is not to replace the command line after all since it works perfectly well. So for anybody interested check it out, code is available on &lt;a href="https://github.com/sideshowcoder/tmTodoTXT"&gt;github&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;UPDATE: Started to add commands, nice to use ruby to extend my text editor.&lt;/p&gt;</description><link>http://sideshowcoder.com/post/5489719893</link><guid>http://sideshowcoder.com/post/5489719893</guid><pubDate>Sat, 14 May 2011 16:05:00 -0400</pubDate><category>textmate</category><category>todotxt</category><category>development</category><category>tools</category></item><item><title>SSH into Windows</title><description>&lt;p&gt;Sometimes it’s just nice to have a secure access to the Windows box at home. In my case, if possible, I try to use SSH all the way, especially since it allows tunneling as well as file access in an easy to use fashion. So just for a quick setup I currently am using &lt;a href="http://www.freesshd.com/"&gt;freeSSHd&lt;/a&gt; on Windows. To be more secure I only allow authorization via a ssh key for my own specific user. This is done by copying the “key.pub” file to “C:\Program Files\freesshd” and rename it to the user using it, in my case it’s now “phil”. Now just change the settings to only allow specific users, and the authentication to require Publickey. Now everything just works like every other SSH server, and it’s possible to use this connection for tunneling, file access and in my case to tunnel my RDP connection.&lt;/p&gt;

&lt;p&gt;&lt;a href="http://www.flickr.com/photos/fadingischi/5712251401/" title="SSH connection to Windows by philipp.fehre, on Flickr"&gt;&lt;img src="http://farm4.static.flickr.com/3096/5712251401_d2d16703e0.jpg" width="500" height="353" alt="SSH connection to Windows"/&gt;&lt;/a&gt;&lt;/p&gt;</description><link>http://sideshowcoder.com/post/5419084213</link><guid>http://sideshowcoder.com/post/5419084213</guid><pubDate>Thu, 12 May 2011 08:00:06 -0400</pubDate><category>ssh</category><category>tools</category><category>windows</category></item></channel></rss>

