LightTable Theme

I love how LightTable is shaping up. It’s easy to use and is what i want in a editor. Simple yet useful. Have plugin support plus themes and skins. I was playing around with it and was looking for a theme which can suit my taste, so the result is my own theme. And i for good going to release it for community consumption. Feel free to use , modify and distribute. 🙂

lt anl4u theme

Simple bash script to backup database and web server directory aka ezi bakup

I wrote this script long time ago and released its 1st version v0.1 with very initial setup in mind. After that i haven’t got time to look into the code and enhance it further. But today i am going to announce the 2nd version v0.2 with new features plus easy to setup params file. Detailed error description are added to the code for better output. A separate params.ini file to change the settings, so it will be not needed to touch the code if you are not familiar with it. Just setup the params.ini file and you are good to go. As usual it will backup the database and directory you want it to backup for you in your desired location(local system). Even can run it under cron to create backup for you let’s say once a day or a week, that depends on your needs. I will explain the params.ini file in details so you get an idea, how it will work. The archive will include readme.txt, params.ini and files. readme.txt will contain some basic setup and details about the script. params.ini will contain the settings and is the meat which will do what you tell it via params.ini.


How to use(params.ini):

[cc lang=”bash” escaped=”true” nowrap=”false” noborder=”true” line_numbers=”true” lines=”10″ tab_size=”4″]


Line 1: set to true if want to backup web server or any dir, TRUE = create, FALSE = skip

Line 2: set to true for database backup, TRUE = create, FALSE = skip

Line 3,4: Database Username and password

Line 5: Database Name

Line 6: Storage/backup directory, where you want to backup your files

Line 7: Directory to create backup of

Cron sample setup:

This will run the script every day at 11PM with a log file created to output log events. Please change the path to the script.

[cc lang=”bash” escaped=”true” nowrap=”false” noborder=”true” line_numbers=”true” lines=”2″ tab_size=”4″]

0 23 * * * /backup/bash/ >> /backup/bash/cron.log 2>&1


– Future updates will be directly pushed to bitbucket repository, keep eye on the repository for new features and updates.
– Repository:

– Clone the repository. OR
Download it as archive by clicking on the branches tab.

Got any issues with it, feel free to report a bug/issue here.

How to install chromium browser in fedora 19

To install chromium browser in fedora you need to add a repo file to the yum.repos.d dir as it is not available in rpm fusion repos. So download the repo file from the link below:

Right click on the fedora-chromium-stable.repo and save it to you hard drive by selecting “Save Link As”.

Now open terminal and cd to the location/dir where you downloaded the file. After that run this command:

sudo cp fedora-chromium-stable.repo /etc/yum.repos.d

And now time to install it:

sudo yum -y install chromium

And that’s it.


Scratch: simple editor by elementaryOS devs

elementaryOS is quite in news now a days and well it deserve that spot. It is one of those OS which really need praise and backup. The guys behind this OS are simply awesome, they are not full time developers but still managing it quite well. Luna is on its way, still in beta stage. What elementaryOS make different from other distributions is easy to use interface, clean UI, fast and reliable and finally some of their newly created apps. One of them is a text editor and called Scratch. It is very simple text editor but very nicely done by the devs with having nice UI and simple to use menu.


From the preferences, one can easily change the settings like show line numbers, highlight current line, enabling some extensions like file manager, terminal etc. Quite useful if some one want to work with it.


Another nice feature is, if you open a system file which you can’t edit/save under normal user, you can easily save it any where and check it out.


One more nice feature is to compress the file from the editor. You can directly compress it from the save menu at the right hand side.


And the most impressive one i should say is the auto save feature, when ever you type some thing it will automatically save the changes to the file.

Well, there are more nice and simple features which depends on user needs. Did i miss some thing?

Give it a shot, you will not be disappointed.

Thunderbird: Auto select latest message on startup

When you start Thunderbird client normally will see the Mozilla page which can be changed from the preferences. But what about the message?, it will not automatically select the latest read or unread message. If you have thousands of mails in your inbox and think that scrolling up is pain. To me Thunderbird should have this feature by default, when start it 1st time it should automatically select the 1st latest message. But it is not.

No worries, there is an add on for this which do the job very well.

Open Thunderbird, go to Add on and search for ‘auto select latest message‘ without quotes and click to install it. Restart Thunderbird and you will see the change this time.

Thunderbird-auto-select-latest-messageAnd that should be it.

Artha: offline dictionary for linux

Artha is nice and well written dictionary application for Linux. The good thing about it is that it can work offline, which means it will pull the database during installation so that it can work offline. So next time if you are not connected to internet and want to search some word meaning, Artha will do the job well.


How to install it in elementary/Ubuntu, fire up terminal and type:

[cc lang=”bash” escaped=”true” nowrap=”false” noborder=”true” line_numbers=”false” lines=”2″ tab_size=”4″]

sudo apt-get install artha


How to install it in openSUSE, type in terminal after became root by su – :

[cc lang=”bash” escaped=”true” nowrap=”false” noborder=”true” line_numbers=”false” lines=”2″ tab_size=”4″]

zypper install artha


And there you have it.