Who doesn’t love Super mario? 🙂 This Super Mario Clone => Mega Mario runs decently well on Linux. Though I am not into gaming anymore, I do love to play ‘the classic games’ once in a while :). And I don’t like to install the “make install” way. I like packages – deb/rpm. So I have packaged Mega Mario and added it to my PPA. Install it and Enjoy it.Continue reading
Launchpad PPA for Ruby and Ruby Bindings with the Base Version as 1.9.1
I have started working on a Ruby on Rails project and am using Rails 3.0 as the base version. Rails 3.0 can be installed either with Ruby 1.8.7 or Ruby 1.9.1. I decided to go along with 1.9.1. However I soon found out that a lot of ruby-bindings have not been updated to support Ruby 1.9.1. I did not want a system with both Ruby 1.8.7 and Ruby 1.9.1 versions. Continue reading
Install Error rails-3.0.0.beta3 => ERROR: While executing gem … (Errno::ENOENT) on Ubuntu
I am installing the Beta Version of Rails using the tutorial below:
http://grigio.org/how_install_rails_3_0_beta_ubuntu_linux_step_step
However I came across an error thats not listed in the above tutorial!
Continue reading
Custom PHP Compilation for DreamHost
I have been playing around with Symphony CMS the past one week (I’m kinda bored of WordPress). I use Dreamhost for all my hosting needs. Dreamhost is also one of the recommended hosts for Symphony, but has a low 3 star rating. I soon figured out why – one of the core symphony features called ensemble doesn’t work on Dreamhost because PHP on Dreamhost isn’t compiled with the ZipArchive class. Continue reading
Terminator Patched to Support Google Search Through Right Click Menu
Besides xterm which is my all time favourite terminal app, Terminator is the other terminal app that I use on an everyday basis. I do a lot of coding and compiling in Terminator using vim. Its been an annoyance ever since I started using Linux (which is about 10 years now), that everytime I have to google an error, there’s no way of doing it in one singe step from any existing terminal app. Today I had an especially rough day with compilation errors and the repeated copy/pasting into google irritated the hell out me. Thats when I decided to add this support to Terminator knowing that its a python app and should be relatively simple to modify. It was infact quite easy to add the support and you can see the result of the effort below.Continue reading
WordPress Debug Function aka PRINTF
Being a longtime C programmer, I love printfs. Printfs are the quickest way to debug simple bugs. Here is my WordPress version of Printf. This 3 line function ensures that it will spew junk only if you are logged in as the Administrator. Continue reading
Plugin-less Integration of Twitter Anywhere with WordPress
Continuing my attempt to avoid wordpress plugins when possible and hand code the theme to include different functionalities, I looked around for php code snippets so that I could include the twitter anywhere code in my theme – the hovercards, the tweetbox and all that jing-bang. I found it here. I also added the tweetbox in addition to that. Here are the code snippets that you need to include in your theme’s functions.php to get twitter anywhere on your theme. Enjoy!Continue reading
Open Links in Your Linux Distro’s Current Browser Instead of the Default
This post is inspired by this lifehacker post which shows how to open links in your Mac’s current browser instead of the default. I also use multiple browsers and face the same annoyance. Hence I decided to create a similar solution for linux too.Continue reading
Plugin-less Integration of Facebook Like, Google Buzz and TweetMeme Retweet with WordPress
There are lots of plugins in the wordpress plugin repository which can be used to integrate Facebook Like, Google buzz, TweetMeme Retweet etc with wordpress. However none of them provided all three functionalities at the same time or were flexible enough to integrate seamlessly with the theme. Hence I wrote a small php function which can be used to integrate the aforementioned services with any wordpress theme. You can see a live preview at the bottom of this post. Here’s the code:Continue reading
Display Latest Tweet Code Snippet for WordPress
I took yoast’s code for the displaying the latest tweet and modified it so that it would work on my blog. For some reason the exact code on Yoast’s page didn’t work all the time for me. Please visit Yoasts blog linked previously for an explanation of the code. Here’s the code:Continue reading