Category Archives: Commandline

Installing ImageMagick on OSX Lion

The problem I had was: dyld: Library not loaded: @@HOMEBREW_PREFIX@@/opt/libpng/lib/libpng16.16.dylib Referenced from: /usr/local/opt/freetype/lib/libfreetype.6.dylib Reason: image not found [1] 99125 trace trap convert data/assets/images/heroes/123×87/andromeda.jpg +append Informations have been taken from Stackoverflow: cd /tmp curl -OL ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick.tar.gz tar -xzf ImageMagick.tar.gz cd ImageMagick-6.7.2-7/ ./configure –prefix=/usr/local –disable-static –with-modules –without-perl –without-magick-plus-plus –with-quantum-depth=8 –disable-openmp –with-gs-font-dir=/usr/local/share/ghostscript/fonts make sudo make install http://stackoverflow.com/questions/7412208/imagemagick-and-os-x-lion-trouble On… Read More »

Adding SSH Keys

Generate key: ssh-keygen -t rsa -b 4096 Generating public/private rsa key pair. Enter file in which to save the key (/home/uzza/.ssh/id_rsa): your_key_name Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in your_key_name. Your public key has been saved in your_key_name.pub. The key fingerprint is: 30:c4:21:b3:2d:33:f7:00:f2:7b:24:1b:18:29:2c:31 uzza@Uzza-mint The key’s… Read More »

Guake console shortcut fix

There is a problem with binding CTRL as a shortcut in Guake console. Following code solves this problem: Getting current shortcut: gconftool-2 -g /apps/guake/keybindings/global/show_hide Setting new one: gconftool-2 -t string -s /apps/guake/keybindings/global/show_hide "<Control>less"