Posts Tagged ‘Ruby’

Securing a Ruby on Rails app

Wednesday, June 8th, 2011

This tutorial is about how to add basic authentication to a RoR app through a simple user table, no ACL or fancier stuff is implemented.... Read More

Cleaning up CSS with Ruby

Monday, March 21st, 2011

I just created a small Ruby script that will remove duplicate classes/blocks from a css file.... Read More

Batch FTP with NcFTP and Ruby

Saturday, July 10th, 2010

I just experienced the weirdest thing ever on a shared hosting space (avoid One.com). For some reason folders I knew to be there (accessible through http) were not showing up in the FileZilla directory browser. Files I just had to download due to a hosting move.... Read More

My Clojure Editor

Monday, May 3rd, 2010

picoeditor.png... Read More

Posting with the Ruby HTTPClient

Friday, March 19th, 2010

We’ve arrived at the final piece of the puzzle when it comes to the latest WP MU mass posting addition to SEO tools.... Read More

SEO Tools, my first Ruby on Rails application

Wednesday, April 29th, 2009

So for the last two days I’ve completed my first RoR application that is actually used by somebody, my SEO colleagues to be more precise, their first wish was a script that would make it much easier to submit links to link directories, that and an article spinner.... Read More

Parsing PHP gettext strings with Ruby

Monday, December 1st, 2008

I just had the need to fetch all gettext strings from a whole project. Sure poEdit can normally do this but this project is using Smarty and {t}something to translate{/t}, poEdit can’t do the Smarty stuff so we need something custom.... Read More

A noob and Ruby on Rails 2

Friday, November 14th, 2008

Update: I just had to install the whole stack again, now apart from the gems the following is needed:
1.) Mysql drivers/libs/dev files, beats me which ones, I just installed them all in synaptic.
2.) OpenSSL libs/dev files, installed them too via synaptic.... Read More

Scraping and Converting Data with Hpricot and JSON in Ruby

Sunday, November 9th, 2008

Did you ever wonder how Warren Buffet managed to get that rich? Pure luck my friend, the man was born with perfect timing, one year after the stock market crash of 1929, at the beginning of the great depression.... Read More

Converting Folder Tree using iconv with Ruby

Sunday, November 9th, 2008

I’ve just experienced one of the strangest problems ever. A PHP project was probably copied from a Swedish Windows machine to a Linux server, set to handle Swedish somehow. From the server it was then downloaded to a Mac that was probably running Swedish too, and from the Mac to my strictly English Windows installation running Wamp and XAMPP.... Read More