run sql/queries (postgres) within bash

e.g. for things-to-buy in $(psql -d database-name -U username -c “select item from glossaries where priority = ‘urgent’ “; do blah, blah, blah … done

Troubleshoot Firefox - safe mode

Troubleshoot Firefox – safe mode

  Today, visited a website with flash and some how it just trash Firefox. I know this sounds like winbloze but starting Firefox in Safe Mode is a good way to troubleshoot. During the startup of Safe Mode, plungins, toolbars…

Downgrade package in Debian

Downgrade package in Debian

  For some reason, the recent Icedove (aka Thunderbird) version 20.0.0.9-3 in Debian does not work with the latest Enigmail version 0.95.6. No choice, got to downgrade it back to Icedove version 1.5. How ? No worries, apt is a…

vim - search & replace

vim – search & replace

was searching what is the escape sequence for tab & return, found this cheat sheet. Anyway, below are the common ones : shamelessly plug it from Laurent Grégoire home page. Thanks Laurent !!!