create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
sudo apt-get install unzip; | |
wget -O /tmp/chromedriver.zip http://chromedriver.googlecode.com/files/chromedriver_linux64_19.0.1068.0.zip && sudo unzip /tmp/chromedriver.zip chromedriver -d /usr/local/bin/; |
Please use these at your own risk. I cannot be responsible for having no idea what I am doing and breaking your server.
This is a collection of Apache configuration settings that I use in my ExpressionEngine projects. Since I have always been a big fan of the HTML5 Boilerplate I took inspiration from their .htaccess file and tweaked my configuration with other settings I have used over the years.
This gist contains:
#!/bin/bash | |
if [ $# -ne 2 ]; then | |
echo "mkvhost.sh http://<subdomain>.localhost <dirname/path under DocRoot>" | |
exit 1; | |
fi | |
FILE="/etc/httpd/conf/extra/vhosts/$1.conf" | |
read -r -d '' DATA <<EOF |
#---------------------------------------------------------------------------- | |
# EMBER-CLI DEFAULT | |
#---------------------------------------------------------------------------- | |
# See http://help.github.com/ignore-files/ for more about ignoring files. | |
# compiled output | |
/dist | |
/tmp | |
# dependencies |
txtblk='\[\e[0;30m\]' # Black | |
txtred='\[\e[0;31m\]' # Red | |
txtgrn='\[\e[0;32m\]' # Green | |
txtylw='\[\e[0;33m\]' # Yellow | |
txtblu='\[\e[0;34m\]' # Blue | |
txtpur='\[\e[0;35m\]' # Purple | |
txtcyn='\[\e[0;36m\]' # Cyan | |
txtwht='\[\e[0;37m\]' # White | |
txtrst='\[\e[0m\]' # Text Reset |
@mixin circle($width, $color) { | |
width: $width; | |
height: $width; | |
background: $color; | |
-webkit-border-radius: $width/2; | |
-moz-border-radius: $width/2; | |
border-radius: $width/2; | |
} | |
.circle { |
@mixin ellipsis ($max-width){ | |
display: inline-block; | |
max-width: $max-width; | |
overflow: hidden; | |
text-overflow: ellipsis; | |
white-space: nowrap; | |
} |
<html> | |
<head> | |
<style type="text/css"> | |
label { display: block; } | |
</style> | |
<body> | |
<form> | |
<label><input type="radio" name="q" id="radio-a" value="A"> A</label> | |
<label><input type="radio" name="q" id="radio-b" value="B"> B</label> | |
<label><input type="radio" name="q" id="radio-c" value="C"> C</label> |
function Foo(who) { | |
this.me = who; | |
} | |
Foo.prototype.identify = function() { | |
return "I am " + this.me; | |
}; | |
function Bar(who) { | |
Foo.call(this,"Bar:" + who); |