DRYing HTML using content_for and helpers

by sylv3rblade on March 2, 2012

I recently encountered a scenario where I needed to dry up some HTML code for a navigation snippet that needed to appear on both the top and bottom of my main content. Here’s a snipped version of the code The (…)

Read the rest of this entry »

[Linux] changing file or folder permission recursively

by sylv3rblade on February 19, 2012

I recently encountered a permissions problem when installing a new application on my Wiredtree VPS.  The crux of the problem was some of the necessary files have the wrong access permission thereby rendering the application almost inoperable.  To fix that, (…)

Read the rest of this entry »

Leaving the current nest

by sylv3rblade on February 2, 2012

So yes. I finally made the decision to write THE letter. I’ll be forwarding it to my superiors on the 15th and I’ll be signing my contract with the new company on Monday. More monies plox.

ArgumentError: invalid byte sequence in US-ASCII

by sylv3rblade on January 3, 2012

If you’re on Ruby 1.9.2 and have started getting this error when trying to install gems (either by gem install or bundle install), your environment is simply missing the LANG variable and is loading up US-ASCII by default. To fix (…)

Read the rest of this entry »

Built a new PC over the holidays

by sylv3rblade on January 1, 2012

I was planning on saving things up for Ivy Bridge but seeing that it’s release date is around 6 months (or more) away, I decided to bite the bullet and splurge a bit to build a new gaming PC. Here’s (…)

Read the rest of this entry »

Need moar coffee

by sylv3rblade on November 24, 2011

Sleep is a bit of a rare commodity for me these past few days :/ Must. Get. Sleep. But I need to finish my projects. Need. Moar. Coffee.

Back online yay!

by sylv3rblade on October 27, 2011

FINALLY! I lost all hope of waiting for the host of my dev box to get things in line and bring back my development VPS from it’s infinite downtime so I said “screw it” and moved this blog back under (…)

Read the rest of this entry »

Installing XCache on a server with Cpanel

by sylv3rblade on May 3, 2011

Traffic on my VPS jumped over the past few weeks and I needed a better caching solution so I installed W3 Total Cache. It provided you the option of caching pages, databases queries, features an object cache and even allows (…)

Read the rest of this entry »

Just upgraded ;)

by sylv3rblade on April 19, 2011

I bit the bullet. I’ve managed to complete a few projects this year which gave me enough money to sponsor the upgrade . Yep it’s a costly upgrade (but I still have a few more things to get, like 2 (…)

Read the rest of this entry »

cPanel error: httpd failed – A restart was attempted automagically

by sylv3rblade on April 10, 2011

While my recent server transfer has been smooth sailing, I did encounter one error that bugged the hell out of me. At certain points of the day, I’d be receiving a notice that my VPS had it’s httpd process fail (…)

Read the rest of this entry »