- 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
- apps in app store | |
- iterms | |
- brew | |
- git | |
- zsh & oh-my-zsh | |
- vim | |
- sublime-text | |
- adobe cc | |
- xcode with command line tools | |
- spectacle |
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
# updated: i'm always fucked up with this command. | |
# from http://stackoverflow.com/questions/750172/how-do-i-change-the-author-of-a-commit-in-git | |
# or better, use this shell script from GitHub https://help.github.com/articles/changing-author-info | |
git filter-branch -f --env-filter "GIT_AUTHOR_NAME='<newname>'; GIT_AUTHOR_EMAIL='<newemail>'; GIT_COMMITTER_NAME='<oldname>'; GIT_COMMITTER_EMAIL='<oldemail>';" HEAD |
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
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
OlderNewer