Getting started:
Related tutorial: http://cd64.de/mysql-cli
SQL joins infografic: http://cd64.de/sql-joins
.box { | |
background: url( 'img/box-bg.png' ) no-repeat top left; | |
width: 200px; | |
height: 200px; | |
} | |
@media only screen and ( -webkit-min-device-pixel-ratio: 1.3 ), | |
only screen and ( min--moz-device-pixel-ratio: 1.3 ), | |
only screen and ( -o-min-device-pixel-ratio: 2.6/2 ), /* returns 1.3, see Dev.Opera */ | |
only screen and ( min-device-pixel-ratio: 1.3 ), | |
only screen and ( min-resolution: 124.8dpi ), |
div{ | |
position: absolute; | |
margin-left: auto; | |
margin-right: auto; | |
left: 0; | |
right: 0; | |
} |
"~/.vimrc | |
execute pathogen#infect() | |
filetype plugin indent on | |
set encoding=utf-8 | |
set number | |
syntax on | |
set background=dark |
[ | |
{ "keys": ["super+alt+7"], "command": "encode_html_entities" }, | |
{ "keys": ["shift+ctrl+u"], "command": "title_case" }, | |
{ "keys": ["super+enter"], "command": "insert", "args": {"characters": "<br>\n"} }, | |
{ "keys": ["super+alt+l"], "command": "insert_snippet", "args": {"contents": "<li>${0:$SELECTION}</li>" } }, | |
{ "keys": ["super+alt+b"], "command": "insert_snippet", "args": {"contents": "<strong>${0:$SELECTION}</strong>" } }, | |
{ "keys": ["super+alt+i"], "command": "insert_snippet", "args": {"contents": "<em>${0:$SELECTION}</em>" } }, | |
{ "keys": ["super+alt+n"], "command": "insert_snippet", "args": {"contents": "<span>${0:$SELECTION}</span>" } }, | |
{ "keys": ["super+alt+down"], "command": "insert_snippet", "args": {"contents": "<sub>${0:$SELECTION}</sub>" } }, |
#!/bin/sh | |
echo Install all AppStore Apps at first! | |
# no solution to automate AppStore installs | |
read -p "Press any key to continue... " -n1 -s | |
echo '\n' | |
echo Install and Set San Francisco as System Font | |
ruby -e "$(curl -fsSL https://raw.github.com/wellsriley/YosemiteSanFranciscoFont/master/install)" | |
echo Install Homebrew, Postgres, wget and cask | |
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)" |
Getting started:
Related tutorial: http://cd64.de/mysql-cli
SQL joins infografic: http://cd64.de/sql-joins
Configure Dropbox Repository
Create a file called dropbox.repo inside of /etc/yum.repos.d
$ cd /etc/yum.repos.d
$ sudo vim dropbox.repo
Paste the following:
``[Dropbox] name=Dropbox Repository
You can add a line to your .zshrc to ignore auto-correct for all git commands:
alias git='nocorrect git'
The other option is to re-create your aliases from .gitconfig in .zshrc like so:
alias 'glg'='git lg'
Git deploy setup:
copy your public key to your ec2 instance:
cat ~/.ssh/id_rsa.pub | ssh -i ~/.ssh/your_pemfile.pem ubuntu@your_ip_addr "cat>> .ssh/authorized_keys"
on remote server: create bare git directory
Install blueutil via brew(package manager for OSX - http://mxcl.github.io/homebrew/)
$ brew install blueutil # install it
$ blueutil power 0 # turn bluetooth off