Aid
b}JZZLk3TZ7ikDHmKN;w6FPCBG&XoN
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
AES and MD5 Javascript implementations
You can find them here: http://www.movable-type.co.uk/scripts/aes.html http://www.webtoolkit.info/javascript-md5.html
How to start Quake 3 Server (already installed)
Starting server 1. Login to your VPS server 2. Go to Quake 3 directory cd /usr/games/quake3 3. Create new screen thread (name q3) screen -dmS q3 4. Connect to to screen thread screen -r q3 5. Or shorter: screen -dmS q3 && screen -r q3 6. Start server ./start.sh Stopping server 1. List all running… Read More »
New Mac configuration
Git git config –global alias.st status
Cloning from hosting server
git clone {username}@{server-url}:repos/{git-repository}.git
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 »
Problem with clicking trough elements in IE
You can find a situation when there are for example 2 elements, one positioned relatively, second one absolutely. Normal logic would suggest that the second one will be over the first one. But now in IE. To fix this situation you should add background-color or some transparent background image. Actually I found that even broken… Read More »
Installing Grunt
Execute: npm install -g grunt-cli If problems with user-rights occurs, do: sudo chown -R <username> /usr/local/lib/node_modules/grunt-cli/