Creating sites on VPS

Create new configuration file cp /etc/apache2/sites-available/www.uzza.pl.conf /etc/apache2/sites-available/www.new-domain.pl.conf Edit configuration vi /etc/apache2/sites-available/www.pomoc-dla-pauliny-klin.pl.conf Update apache2.conf file vi /etc/apache2/apache2.conf Enable service #disable service a2dissite www.new-domain.pl #enable service a2ensite www.new-domain.pl   service apache2 reload Additional info: https://help.ubuntu.com/community/ApacheMySQLPHP

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 »

Relocating SVN repository

Just execute following SVN command: svn switch –relocate https://svn.exmaple.de/trunk https://repos.example.de/scm/svn/trunk where first argument is the current path to repository (execute ‘svn info’ for more details) and the second argument is a new path