Open file /etc/default/locale to add or change LC_ALL to the following
LC_ALL="en_US.UTF-8"
Then logout and login again.
Install necessary packages
| echo 'export PATH=$HOME/local/bin:$PATH' >> ~/.bashrc | |
| . ~/.bashrc | |
| mkdir ~/local | |
| mkdir ~/node-latest-install | |
| cd ~/node-latest-install | |
| curl http://nodejs.org/dist/node-latest.tar.gz | tar xz --strip-components=1 | |
| ./configure --prefix=~/local | |
| make install # ok, fine, this step probably takes more than 30 seconds... | |
| curl https://www.npmjs.org/install.sh | sh |
| .DS_Store | |
| *.log | |
| Gemfile.lock |
| #!/bin/bash | |
| # vars | |
| PHP_VERSION="5.3.6" | |
| NGINX_VERSION="1.0.4" | |
| MONGO_VERSION="1.8.1" | |
| MEMCACHED_VERSION="1.4.5" | |
| DIRECTORY=$(cd `dirname $0` && pwd) | |
| PHP_DIR=$DIRECTORY/lib/php/$PHP_VERSION/ |
| .fb_access_token | |
| .fbconsole.py |
| #!/bin/bash | |
| sudo apt-get -qq install build-essential g++ apache2-utils libssl-dev curl | |
| latest_dir="http://nodejs.org/dist/latest/"; | |
| latest_version=$(curl -s "$latest_dir" | grep "tar\.gz" | sed -re 's/.*?href="node-(v[0-9\.]+)\.tar\.gz".*/\1/'); | |
| cleanup() { | |
| rm -rf "$temp"; | |
| } |
| 0 - Read http://blog.databigbang.com/running-your-own-anonymous-rotating-proxies/ | |
| 1 - Install monit, haproxy, tor and delegated. | |
| 2 - Setup your environment in the setup.rb file | |
| 3 - Just run > ruby setup.rb | |
| 4 - ........... | |
| 5 - PROFIT! > http://www.southparkstudios.com/clips/151040/the-underpants-business |
Custom recipe to get OS X 10.9 Mavericks running from scratch, setup applications and developer environment. I use this gist to keep track of the important software and steps required to have a functioning system after a semi-annual fresh install.
The software selected is software that is "tried and true" --- software I need after any fresh install. I often install other software not listed here, but is handled in a case-by-case basis.
| /** | |
| * This casper scipt checks for 404 internal links for a given root url. | |
| * | |
| * Usage: | |
| * | |
| * $ casperjs 404checker.js http://mysite.tld/ | |
| * $ casperjs 404checker.js http://mysite.tld/ --max-depth=42 | |
| */ | |
| /*global URI*/ |
| (function() { | |
| var script, | |
| scripts = document.getElementsByTagName('script')[0]; | |
| function load(url) { | |
| script = document.createElement('script'); | |
| script.async = true; | |
| script.src = url; | |
| scripts.parentNode.insertBefore(script, scripts); |