<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>omarqureshi.net</title>
    <link>http://www.omarqureshi.net/articles</link>
    <item>
      <title>ArgumentError: invalid byte sequence in US-ASCII </title>
      <description>Getting ArgumentError: invalid byte sequence in US-ASCII even though you have set your servers language as UTF-8?

Read on!</description>
      <pubDate>Thu, 29 Dec 2011 00:32:21 +0000</pubDate>
      <link>http://www.omarqureshi.net/articles/2011-12-29-jquery-rails-2-dot-0-0</link>
    </item>
    <item>
      <title>RMagick on CentOS</title>
      <description>Ever tried to install the latest version of the RMagick gem (or ImageMagick) on CentOS (x86_64)?

No? Lucky you! If you are unfortunate enough to need to do it, continue reading.</description>
      <pubDate>Wed, 12 Oct 2011 16:38:03 +0000</pubDate>
      <link>http://www.omarqureshi.net/articles/2011-10-12-rmagick-on-centos</link>
    </item>
    <item>
      <title>Infrastructure at development shops</title>
      <description>Infrastructure is one of those things where if you are going to be managing servers and deploying web applications, you need to get right as soon as possible. This guide will hopefully be enough to get anyone sorted with a reasonable path to success.</description>
      <pubDate>Tue, 06 Sep 2011 00:18:38 +0000</pubDate>
      <link>http://www.omarqureshi.net/articles/2011-9-6-infrastructure-at-development-shops</link>
    </item>
    <item>
      <title>Puppet initd script for CentOS when installed as a gem</title>
      <description>Teaches you how to set up an initd script for puppet so that you can manage it through the use of the service command when installed via RVM as a gem.</description>
      <pubDate>Mon, 05 Sep 2011 21:39:19 +0000</pubDate>
      <link>http://www.omarqureshi.net/articles/2011-9-5-puppet-initd-script-for-centos-when-installed-as-a-gem</link>
    </item>
    <item>
      <title>Select x records per category in a table</title>
      <description>Ever wanted to grab a certain number of records per category in a table without having to resort to a union query? Read about over partition by row_number()</description>
      <pubDate>Tue, 16 Aug 2011 23:22:00 +0000</pubDate>
      <link>http://www.omarqureshi.net/articles/2011-8-26-select-x-records-per-category-in-a-table</link>
    </item>
    <item>
      <title>PostgreSQL 9.0.4 on Lion (Clean Install)</title>
      <description>Just done a clean install of Lion and are trying to get PostgreSQL back into working order?

Fear no more, help is here!</description>
      <pubDate>Fri, 29 Jul 2011 21:16:24 +0000</pubDate>
      <link>http://www.omarqureshi.net/articles/2011-7-29-postgres-9-dot-0-4-on-lion-clean-install</link>
    </item>
    <item>
      <title>One-liner to list all databases to backup</title>
      <description>Just a simple one-liner to get a list of all the databases to backup - which should work for postgres 9.</description>
      <pubDate>Mon, 06 Jun 2011 09:14:24 +0000</pubDate>
      <link>http://www.omarqureshi.net/articles/2011-6-6-one-liner-to-list-all-databases-to-backup</link>
    </item>
    <item>
      <title>tsearch2 for Rails applications</title>
      <description>tsearch2 is a database backed fulltext search which is dependancy free (other than having postgres installed). If you ever want a simple search, this is probably the best way to go about it.</description>
      <pubDate>Sat, 04 Jun 2011 17:51:35 +0000</pubDate>
      <link>http://www.omarqureshi.net/articles/2010-12-25-tsearch2-for-rails-applications</link>
    </item>
    <item>
      <title>Using "or" in Mongoid</title>
      <description>Ever wanted to do a complicated "or" query in Mongoid? Fear no more - here's how to go about it.</description>
      <pubDate>Sat, 04 Jun 2011 16:32:11 +0000</pubDate>
      <link>http://www.omarqureshi.net/articles/2010-6-17-using-or-in-mongoid</link>
    </item>
    <item>
      <title>Find in set for PostgreSQL</title>
      <description>Consider the following situation, from an XML feed, or something else, from your own app you are given a number of ids, this could be from some sort of mechanism that handles your search or something else, whatever. So, given the id's of table foo in the order 3,5,1,9,7 how would you retrieve them from the database in that order?
</description>
      <pubDate>Thu, 02 Jun 2011 22:20:49 +0000</pubDate>
      <link>http://www.omarqureshi.net/articles/2010-6-10-find-in-set-for-postgresql</link>
    </item>
    <item>
      <title>Negative Look-behinds in Ruby 1.8 (and Javascript)</title>
      <description>There are two possible solutions for this, firstly you can use the Ruby 1.9 regular expression engine (Oniguruma) and continue using regular expressions in full glorious manner. However as Oniguruma is a C extension to the Ruby programming language, I would err on the side of caution before attempting to install it.
</description>
      <pubDate>Thu, 02 Jun 2011 22:20:48 +0000</pubDate>
      <link>http://www.omarqureshi.net/articles/2010-6-9-negative-look-behinds-in-ruby-1-dot-8-and-javascript</link>
    </item>
    <item>
      <title>Building gems from github source</title>
      <description>I've been trying to create a blog for several months now with Rails being the framework of choice behind a lot of my failed attempts. 

Having been not to pleased with having to store blog content in a database, I was thrilled with finding Jekyll, a Ruby based site generator which takes Liquid templates and textile to provide the main driving force for creating content.  
</description>
      <pubDate>Thu, 02 Jun 2011 22:20:48 +0000</pubDate>
      <link>http://www.omarqureshi.net/articles/2010-6-4-building-gems-from-github-source</link>
    </item>
  </channel>
</rss>

