create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
| yum -y install apr apr-util yum-utils | |
| mkdir ~/httpd | |
| cd ~/httpd | |
| yumdownloader httpd | |
| rpm2cpio httpd-2.2.3-53.el5.centos.1.x86_64.rpm | cpio -idmv | |
| mv usr/bin/ab /usr/bin/ab | |
| cd ~ | |
| rm -rf ~/httpd | |
| ab http://google.ru/ |
| hitTool = new paper.Tool(); | |
| hitTool.activate(); | |
| hitTool.onMouseDown = function (event) { | |
| hitOptions = { | |
| segments: true, | |
| stroke: true, | |
| fill: true, | |
| tolerance: 5 | |
| }; | |
| hitResult = paper.project.hitTest(event.point, hitOptions); |
| // http://paulirish.com/2011/requestanimationframe-for-smart-animating/ | |
| // http://my.opera.com/emoller/blog/2011/12/20/requestanimationframe-for-smart-er-animating | |
| // requestAnimationFrame polyfill by Erik Möller. fixes from Paul Irish and Tino Zijdel | |
| // MIT license | |
| (function() { | |
| var lastTime = 0; | |
| var vendors = ['ms', 'moz', 'webkit', 'o']; |
| /* | |
| * This work is free. You can redistribute it and/or modify it under the | |
| * terms of the Do What The Fuck You Want To Public License, Version 2, | |
| * as published by Sam Hocevar. See the COPYING file for more details. | |
| */ | |
| /* | |
| * Easing Functions - inspired from http://gizma.com/easing/ | |
| * only considering the t value for the range [0, 1] => [0, 1] | |
| */ | |
| EasingFunctions = { |
| brew update | |
| brew versions FORMULA | |
| cd `brew --prefix` | |
| git checkout HASH Library/Formula/FORMULA.rb # use output of "brew versions" | |
| brew install FORMULA | |
| brew switch FORMULA VERSION | |
| git checkout -- Library/Formula/FORMULA.rb # reset formula | |
| ## Example: Using Subversion 1.6.17 | |
| # |
| brew update | |
| brew install gmp | |
| #install Nginx | |
| brew install nginx | |
| # copy launch script | |
| cp /usr/local/Cellar/nginx/1.0.12/homebrew.mxcl.nginx.plist ~/Library/LaunchAgents/ | |
| #try to launch Nginx | |
| launchctl load -w ~/Library/LaunchAgents/homebrew.mxcl.nginx.plist |
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
| # Remove items used for building, since they aren't needed anymore | |
| apt-get clean | |
| apt-get -y remove linux-headers-$(uname -r) build-essential | |
| apt-get -y autoremove | |
| # Zero out the free space to save space in the final image: | |
| dd if=/dev/zero of=/EMPTY bs=1M | |
| rm -f /EMPTY | |
| # Removing leftover leases and persistent rules |
| server { | |
| listen 80; | |
| server_name localhost; | |
| root /home/website/web; | |
| rewrite ^/app\.php/?(.*)$ /$1 permanent; | |
| try_files $uri @rewriteapp; | |
| location @rewriteapp { |
| define(['require', 'exports'], function(require, exports) { | |
| exports.GATrackingHelper = function(settings) { | |
| // MEMBERS & DEFAULTS | |
| var urchinId = settings.gaqId || false, | |
| devId = settings.devId || 'UA-3172639-5', | |
| page = settings.page || null, | |
| trackingLabel = settings.label || false, | |
| domainName = settings.domainName || '.defencejobs.gov.au', |