Android

Install RhoSync on ubuntu 11.10 (with fix)

Recently, I was trying to install RhoMobile suite on my ubuntu11.10 machine. And faced some issues for installing 'rhosync' package. This blog tells how to fix these issues (as they worked for me).   I am assuming ruby and gem are already installed on your machine. Note: if you are on older version of ruby please upgrade to...

by Salil
Tag: Linux
18-Sep-2012

Technology

Sending email through command line with Mutt

In one of the shell scripts I was reading I saw a usage of mutt text-based command line email client. Mutt can be used to send out the emails from the production machines or any other servers where you do not have access to the browsers or UI based email clients. Sometimes it is essential to send out a particular log file to certain...

by Abhishek Tejpaul
Tag: Linux
12-Sep-2012

Grails

PostgreSQL with Grails

Currently in my Grails project I am using PostgreSQL database so I thought to share my knowledge with everyone. I am using it on Linux operating system. I am mentioning all the steps that I followed to integrate PostgreSQL with Grails . Step 1: Install PostgreSQL on your system To install postgreSql [java] sudo apt-get install...

by Gunpreet
Tag: Linux
05-Sep-2012

Grails

Auto Completion for Grails Scripts with Dynamic Version Determination

We are constantly striving to be more productive by minimizing key-strokes for a lot of commonly used shell commands. Alias is one way of achieving it, but it isn't always the answer. Bash auto completion is one feature that I use a lot. To avoid the hassles of working with multiple grails projects, I use this script and for auto...

by Vivek Krishna
Tag: Linux
16-Aug-2012

Grails

Using Apache to save data in redis

In one of my projects, I was using redis database to collect some statistics and I thought of saving data into it at apache level. This would considerably enhance the speed of saving data as it would not require the interception of grails to save data. The first step for this was to install apache by firing the following command in...

by raj
Tag: Linux
30-Jul-2012

Technology

Export very large data from a MongoDB collection using script

In this post, we will learn how to use javascript as MongoDB shell script to export (fields of) a collection.   If you just want to execute MongoDB commands then look at the another post there..   OK, so let's focus back to the objective of this post. Generally, to export data from a MongoDB collection, we use the...

by Salil
Tag: Linux
04-Jul-2012

Technology

How to Set-up SSL certificates on your Linux server

In one of my project, I have to set-up SSL certificates for my website to make it secure, so that it could also be access via https protocol. SSL is a way to secure internet communication from your browser to a secure website. The websites using SSL will have https:// to their name. Following are the steps to set-up SSL certificate on...

by Gautam Malhotra
Tag: Linux
01-Jun-2012

Technology

Set-up SSL Communication between two Linux servers Using Keytool Command

In one of my project, My front end application runs on one server and back end application runs on another. Both application have to communicate with each other through SSL(Secure Sockets Layer). SSL is a way to secure internet communication from your browser to a secure website. The websites using SSL will have https:// to their name. ...

by Gautam Malhotra
Tag: Linux
31-May-2012

Technology

Bash script to open a terminal with multiple tabs on Linux start-up

All of the tasks performed by us after system startup such as opening a browser, MySql etc can be automated by following the steps mentioned below : 1. Write a script:- [bash] sleep 1m;gnome-terminal --geometry=150x50 --tab --title="echo" -e "bash -c \"echo "hello";echo "there";exec...

by Nitesh
Tag: Linux
25-May-2012

Technology

Multiple Bootable OS in Single USB

Recently I have been knee deep into Linux installations. Installing through  USB is great process, there is no hassle of CD and its faster too. But problem is first we need bootable USB. Up till now I used "Start Disk Creator", which is bundled in Ubuntu and is great for creating bootable USB, major problem with it is that it ...

by Hitesh Bhatia
Tag: Linux
19-Apr-2012

Technology

Forgot Root Password in Linux, How to Reset Root Password through GRUB?

Hi,   It is a major problem when we forgot our root password in linux. But don't know how to recover it. First thought that came to mind reinstall machine. But I found a way that might help you without reinstall and save your hours. It is a interesting trick in linux to get back our root password in few minutes. I used it on ubuntu...

by Tarun Pareek
Tag: Linux
28-Mar-2012

Technology

Speeding up Ubuntu

Of-late my laptop has been highly responsive .... as responsive as a sloth can be... :P I mean you wouldn't be expecting an Intel i5 Processor with 4GB Ram and 500GB hard disk making you go for a coffee break every time you had to build or compile your code. I am sure many of you must have experienced some form of lag with your Ubuntu...

by Manoj Mohan
Tag: Linux
06-Dec-2011