Ignoring every channels join/part/quit messages in IRSSI

Tired of all those join part messages?

/ignore \* joins  
/ignore \* parts  
/ignore \* quits  
/save

Read more about ignore /help ignore

Taken from Archwiki: https://wiki.archlinux.org/index.php/Irssi

Continue reading »

Create tar archive of changed/added files in a git commit

The following command first gets the changed and added files of a git commit and then creates a tar archive of those changed files.

git show {{COMMIT_ID}} --name-status | grep -Ew '^M|A' | awk '{ print $2 }' | xargs tar czf usb-passthrough.tar.gz

Continue reading »

Full migration/clone of linux installation to a new system(Without reinstalling)

I'm switching to a new laptop, but don't want to have to install Archlinux again. So instead of re-installing I will try to copy all files and hope the system will work. In this blogpost I will describe the steps and issues I encountered while doing so.

Status: Succeeded!!!!

Summary …

Continue reading »

Importing a SQL dump in postgres

I always keep forgetting how to import a SQL dump into postgres and found it always hard to find the right documentation. So I thought lets share it:

psql -d dbname -U username -f dumpfile.sql

This should also work with files created by pgdump.

Continue reading »

Installing fastboot for Ubuntu (Linux)

mkdir ~/fastboot  
cd ~/fastboot  
wget http://xt720.ru/Tools/fastboot  
chmod +x fastboot  
sudo ./fastboot --help

Reference: http://forum.xda-developers.com/showthread.php?t=1121420

I tested the above with Ubuntu 11.10, but it should work on any ubuntu version I think.

Continue reading »

Ubuntu 11.10 error while loading shared libraries: libssl.so.0.9.8: cannot open shared object file: No such file or directory

A quick solution is to install the libssl 0.9.8 package with the Following command:
sudo apt-get install libssl0.9.8

Thanks to Rob who commented below and provided an answer on Stackoverflow

I just upgraded from ubuntu 11.04 to 11.10 with a fresh install, by keeping …

Continue reading »