installing apache php and mysql in ubuntu

In this article, i will guide you through the steps for installing apache, mysql and php on ubuntu and kick start some php development. These  are the individual software in the ubiquitous LAMP stack. More on this can be found here. MySQL is the most used open source RDBMS. To install MySQL, go to Ubuntu … Continue reading

Installing skype on Ubuntu

Skype is a Voice over IP (VoIP) that lets you make free calls over the internet. It allows people to communicate by messaging, voice and video calling. Millions of individuals and corporations use Skype to stay in touch and collaborate with each other. Skype is available for multiple platforms including ubuntu. Its increasingly used these … Continue reading

Issue with firefox right click context menu

After updating Firefox browser to latest version (v20.0), the right click context menu is showing much more commands than before. Most of these commands are out of context and none of these seems to be working. After a little troubleshoot, i came to know that the issue is with incompatible version of the add-on Firebug. … Continue reading

Customizing Paperclip in Rails

In this post i would like to share various interesting paperclip options i’ve used so far to achieve upload functionality across multiple applications. For someone who doesn’t have any idea what Paperclip is about, Paperclip is an easy file attachment library for Active Record and is the most popular library in that category. More information … Continue reading

cron jobs made easy

In rails applications, we often need to handle periodical / repetitive tasks. The most common way to implement this in Unix like environments is by using Cron, a time based job scheduler. Cron enables users to schedule jobs and run them periodically driven by a crontab (cron table) file. Inspite of the ubiquity of cron … Continue reading

Running windows applications on linux

When i started transitioning from windows to linux a few years ago, i used to have many doubts in my mind. I used to wonder what software to use for common tasks. Then i came across osalt which answered most of my questions.In that site, you can enter the name of the windows application and … Continue reading

Generate CRUD in php

Recently, i’ve worked on an old PHP project trying to quickly add some new features to the application. As part of this task, i am supposed to write code that performs basic CRUD operations on a MySQL  table. Having achieved this like a charm using Rails, i’ve wondered if i can do scaffolding even in php. With some … Continue reading

Unix tips | Part 1

I would like to share in this series of posts all the interesting tips in UNIX i’ve came across till date. To understand read, write, execute permissions for a file The first letter – stands for a normal file, d for directory, c or b for a device, l for a link to another file. … Continue reading

Using html entities in Ruby

HTML character entities are used to display reserved characters in a web page. The entire list of character entity references can be found here. Sometimes you may want to use HTML entities inside your ruby code. This is where gem htmlentities comes into picture. This is a simple library to facilitate encoding and decoding of … Continue reading