- Update all packages
- Install Git
sudo apt-get install git
- Install
zsh
https://gist.github.com/tsabat/1498393 - Customize
zsh
prompt https://gist.github.com/armno/4959661 - Solarize your terminal http://www.webupd8.org/2011/04/solarized-must-have-color-paletter-for.html
- Install Unity2D
- Install Vim
sudo apt-get install vim
- Change default editor to be Vim
editor-select
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$hostname = 'localhost'; | |
$username = 'root'; | |
$password = 'root'; | |
try { | |
$dbh = new PDO("mysql:host=$hostname;dbname=prod", $username, $password); | |
echo 'Connected to database'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# rewrite prompt prefix | |
PS1='➜ ' | |
# from nettuts | |
txtblk='\e[0;30m' # Black - Regular | |
txtred='\e[0;31m' # Red | |
txtgrn='\e[0;32m' # Green | |
txtylw='\e[0;33m' # Yellow | |
txtblu='\e[0;34m' # Blue |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" no compatible with VI | |
set nocompatible | |
" start pathogen | |
execute pathogen#infect() | |
" Look and Feel | |
syntax on | |
colorscheme Tomorrow-Night | |
set guifont:Inconsolata\ for\ Powerline:h20 |
- Package Control
- Emmet
- RailsCast Color Scheme
- Daylerees Color Scheme - https://github.com/daylerees/colour-schemes
- SidebarEnhancement
- DocBlockr
- Theme Soda
- Nettuts+ Fetch
- SCSS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# source: http://www.lowest-common-denominator.com/2010/01/http_access_control_to_multipl.php | |
# - replace `domain1.com` and `domain2.com` | |
# - add more domains by separating each domain with a pipe `|` | |
# - escape dot `.` with a backslash | |
<IfModule mod_headers.c> | |
SetEnvIf Origin "^http(s)?://(.+\.)?(domain1\.com|domain2\.com)$" origin_is=$0 | |
Header always set Access-Control-Allow-Origin %{origin_is}e env=origin_is | |
</IfModule> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PROMPT='$fg_bold[red]~: $fg[yellow]$(get_pwd) $(git_prompt_info) | |
$reset_color➜ ' | |
function get_pwd() { | |
echo "${PWD/$HOME/~}" | |
} | |
ZSH_THEME_GIT_PROMPT_PREFIX="$reset_color$fg[green][" | |
ZSH_THEME_GIT_PROMPT_SUFFIX="]" | |
ZSH_THEME_GIT_PROMPT_DIRTY="$fg_bold[red]+$reset_color$fg[green]" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"bold_folder_labels": true, | |
// "theme": "Spacegray.sublime-theme", | |
"caret_style": "phase", | |
"detect_slow_plugin": false, | |
"fade_fold_buttons": false, | |
"folder_exclude_patterns": | |
[ | |
".svn", | |
".git", |
- Vim Pathogen (https://github.com/tpope/vim-pathogen)
- NERDTree (https://github.com/scrooloose/nerdtree)
- Vim-jade
Zencoding-vimEmmet-vim (https://github.com/mattn/emmet-vim)- Neocomplcache (https://github.com/Shougo/neocomplcache.vim)
- Vim Powerline
- AutoClose
- TComment
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* apply a natural box layout model to all elements */ | |
*, *:before, *:after { | |
-webkit-box-sizing: border-box; | |
box-sizing: border-box; | |
} | |
/* from http://devgeeks.github.io/presentation--none-of-the-above/#5 */ | |
body { | |
-webkit-tap-highlight-color: rgba(0,0,0,0); | |
-webkit-touch-callout: none; | |
-webkit-text-size-adjust: none; |
OlderNewer