I hereby claim:
- I am xeus on github.
- I am xeus (https://keybase.io/xeus) on keybase.
- I have a public key whose fingerprint is 8FA7 348F 6A7B 744C 323D 2B38 0D6D 6191 4294 3BB9
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
# | |
# updated 14/04/16 | |
set -o nounset | |
set -o errexit | |
cd ~ | |
sudo apt-get update | |
sudo apt-get -y upgrade | |
sudo apt-get -y install python tcl git nodejs npm build-essential zlib1g-dev libbz2-dev libreadline-dev openssl python-setuptools g++ make php5-curl supervisor mysql-client php5-mcrypt php5-mysql phpunit libapache2-modsecurity libssl-dev curl git-core htop rubygems python-pip python-dev openjdk-7-jre-headless curl xml2 libxml2-dev libxslt-dev python-software-properties python3 mysql-server imagemagick software-properties-common libpcre3 libpcre3-dev unzip | |
# install openssh-server |
<script> | |
var countryAges = { | |
'ageDefault': 18, | |
'albania': 0, | |
'angola': 0, | |
'armenia': 0, | |
'cambodia': 0, | |
'comoros': 0, | |
'cuba': 0, |
// via rh0dium @ http://stackoverflow.com/questions/5739830/simple-log-to-file-example-for-django-1-3 | |
// I truly love this so much here is your working example! Seriously this is awesome! | |
// | |
// Start by putting this in your settings.py | |
LOGGING = { | |
'version': 1, | |
'disable_existing_loggers': True, | |
'formatters': { | |
'standard': { |
var assert = function(condition, msg) { | |
if (!condition) { | |
// throw message || "Assertion failed"; | |
console.log('FAIL ----- ' + msg); | |
} | |
else { | |
console.log('PASS ----- ' + msg); | |
} | |
}; |
$ mysql -u root | |
If a password is required, use the extra switch -p: | |
$ mysql -u root -p | |
Enter password: | |
Now that you are logged in, we create a database: | |
mysql> create database test; |
- jslint | |
- qunit | |
- grunt | |
- html5 validation: http://validator.w3.org/ | |
- ssl test: https://www.ssllabs.com/ssltest/index.html |
// via http://www.ericmartindale.com/2012/07/19/mitigating-the-beast-tls-attack-in-nodejs/ | |
var options = { | |
key: fs.readFileSync('key.pem'), | |
cert: fs.readFileSync('cert.pem'), | |
ciphers: 'ECDHE-RSA-AES256-SHA:AES256-SHA:RC4-SHA:RC4:HIGH:!MD5:!aNULL:!EDH:!AESGCM', | |
honorCipherOrder: true | |
}; |
# the admin password for all of the IE VMs is “Password1″ without the quotes, it's also used for the password hints | |
1) Install VirtuaBox on your mac | |
http://download.virtualbox.org/virtualbox/4.1.10/VirtualBox-4.1.10-76795-OSX.dmg | |
2) Decide which versions of Internet Explorer you want to download and install – each version of Internet Explorer is contained within a separate virtual machine that runs within VirtualBox. In other words, if you want to run Internet Explorer 7, 8, and 9, you will need to download three separate VM’s, which may take a while so keep that in mind. Select the text below and copy it: | |
# Install ALL versions of Internet Explorer: IE 7, IE 8, and IE 9 (for now this script will also pull down a IE 6 vm with windows xp) |
for(var b in window) { | |
if(window.hasOwnProperty(b)) console.log(b); | |
} |