Based on post_filters by imathis.
First Move the original method out the way with alias_method
then create a new method …
Based on post_filters by imathis.
First Move the original method out the way with alias_method
then create a new method …
Stackoverflow have supported markdown for a while. The syntax for showing an image is :
![Holes in Leaf 1][1]
[1 …
To add static about page to octopress blog, assuming that octopress has been already setup:
Create the page from the …
read moreAfter struggling to get the rake task for octopress to deploy I decided to fall back to the command line …
read moreNormally this would just end up on my link blog, but thought it was worthy of a proper mention.
read moreThis is based on a guide to adding retina support to websites.
To add a tiled (repeating) background cretae 2 …
read moreTHIS NO LONGER WORKS, IF IT EVER DID :(
When you add a link to safari, it replaces the link to …
read moreThere was an interesting post on hacker news recently, safeshepherd suddenly fell off the google for their own name. The …
read moreAfter making a few updates to my site it stopped working after deploying. The issue was that the gem version …
read moreThere are gzip compression options available but when I looked at this a long time ago I found that the …
read moreI have been setting up my recent Sinatra projects with a standard ruby project layout putting all of the application …
read moreAre you running into the following error
Encoding::UndefinedConversionError - "\xE2" from ASCII-8BIT to UTF-8:
If you are using Ruby and …
read moreWhile working on this site I wanted to find a simple way of trying out multiple stylesheets for different colour …
read moreWorking on my site design I thought it would be nice to have user selectable stylesheets, say a black text …
read moreTo make an automatic ActiveRecord database connection using ENV['DATABASE_URL'] The following snippet can be used:
From ActiveRecord 3.2 …
read moreThis vim plugin will allow you to gist directly from vim, simple way is just :Gist to gist entire file …
read moreI have just finished some minor updates to the site. The largest is the move to Droid Fonts, Google Fonts …
read moreThe new EC2-Pricing also includes a new Micro service. This micro service is intended for small apps servicing tens of …
read moreI have been wondering how to do this for a while and accidentally discovered it while perusing this heroku page …
read moreCSS or Cascading Style Sheets are used for styling html elements. HTML elements can have id's, which must be unique …
read moreI have been trying to use the GeoIP Rack App, by copying this gist in my Rack stack with a …
read moreI used this as a jQuery reference to hide and show default text in forms.
<head>
<script type=”text/javascript …
After updating my website on webfaction nginx kept saying permission denied and when I tried to view my site I …
read moreI do not like having to use sudo to run development servers for testing web applications. sudo should be reserved …
read moreUsing the new IR ANYWHERE IR OVER IP MODULE you can send web requests that get turned into standard consumer …
read moreDirectory listing can be enabled (disabled by default) by adding this:
autoindex on;
Example usage
http{
server {
#Server with no …
I recently documented how I installed Ruby Enterprise and nginx on Mac OS X. Here we see how to make …
read moreThe '413 Request Entity Too Large' Error message is because you have filled in a form and are submitting it …
read more