Bash script to backup my configs (dotfiles)

I needed some script to take care of my config files and put them in a single directory. So here it is.

#!/bin/bash

# Display All Hidden Dot Files In a Directory
# ls -a | egrep “^\.” > backup_dotfiles.sh

DESTINATION=”/storage/dotfiles” # […] Continue Reading…

Moved to ArchLinux!

Moved my ThinkPad T61 to ArchLinux! (Still using Ubuntu on many other machines.)

Screenshot:

I will post some install script I used to configure my system.

Liferea custom stylesheet

I don’t like very much the default font used by Liferea, so I decided to use my custom font. Here is how:
1. Copy the default stylesheet to liferea folder in my $HOME:

cp /usr/share/liferea/css/liferea.css $HOME/.liferea_1.6

2. Add this:

{
font-family: Aurulent Sans;
}

at the […] Continue Reading…

Ubuntu Kindle eBooks

Need some great Ubuntu eBooks to read on your Kindle? Look no further. Keir Thomas has some excellent guides for you.

Beautify SQL code

Recently I had the oportunity to test SQL Pretty Printer (Add-In for SSMS). I don’t have to waste time formatting long sql queries. In no time, SQL Pretty Printer does the job
for me. It can also translate the sql […] Continue Reading…

Just installed Archlinux on my ThinkPad T61

archlinux, linux […] Continue Reading…

Quick gnome tweaks

Here are some tweaks for your gnome:

Print all subdirectories and entries under a dir, recursively:

gconftool-2 -R /

Change GDM font:

sudo -u gdm gconftool-2 –set –type string \
/desktop/gnome/interface/document_font_name “Ubuntu”
sudo -u gdm gconftool-2 –set –type string \
/desktop/gnome/interface/font_name “Ubuntu”
sudo -u gdm gconftool-2 –set […] Continue Reading…

Set default gnome terminal size in Lucid Lynx

Use these commands to change the default gnome terminal size:

gconftool-2 –set /apps/gnome-terminal/profiles/Default/default_size_columns \
–type integer 160
gconftool-2 –set /apps/gnome-terminal/profiles/Default/default_size_rows \
–type integer 50

XMLStarlet: command line XML toolkit

XMLStarlet is a set of command line utilities (tools) which can be used to transform, query, validate, and edit XML documents and files using simple set of shell commands in similar way it is done for plain text files […] Continue Reading…

Vacuum your Firefox 3

This tip will hopefully speed up your Firefox 3 by optimizing it’s database.
Firefox stores your browsing data using SQLite – self contained, small footprint database.
Having database store your browsing data has one drawback, you have to optimize the database […] Continue Reading…

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close