It was normal Monday like every week. I got my laptop and pressed the Power button then I remembered that I had not Suspended(Hibernated) my machine but instead had shut it down last Friday to make sure the memory is not occupied and system runs faster .

Now the problem with shutting down is, I have to start eight different servers to get my Crossroad's apps up and running. Just for this reason ,I refrained from Shutting Down my machine every day and instead chose to Suspend which would save...

Read complete blog post

Following is an handy list of frequently used Linux (Ubuntu flavour) console commands

Find Files

find . -name '*.cnf'
find . -name 'hello.workd'

The dot here represents all files and folders in current path

Mysql DUMP - Import and Export

1) Export

mysqldump -u username -p database_name  file_name_to_save.sql

2) Import

mysql -u username -p database_name < filename.sql

Install LAMP on Ubuntu

sudo apt-get install tasksel
sudo tasksel
sudo tasksel install lamp-server

Install Apache2 on...

< filename.sql

Read complete blog post

Following is an handy list of frequently used Linux (Ubuntu flavour) console commands

Find Files

find . -name '*.cnf'
find . -name 'hello.workd'

The dot here represents all files and folders in current path

Mysql DUMP - Import and Export

1) Export

mysqldump -u username -p database_name  file_name_to_save.sql

2) Import

mysql -u username -p database_name < filename.sql

Install LAMP on Ubuntu

sudo apt-get install tasksel
sudo tasksel
sudo tasksel install lamp-server

Install Apache2 on...

< filename.sql

Read complete blog post

You may have came across a situation where you need to share your local app to clients (in other words your Rails app running on your local server port 3000).

You may have came across a situation where you need to share your local server.
So in such cases a widely used tool is localtunnel

But it has a limitation with consistent url as it generates a random URL for every new instance.

Pagekite suffices this need and gives a consistent URL for one server bind to a port.

PageKite makes local...

Read complete blog post