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
date '+%Y/%m/%d %H:%M:%S' | |
# history | |
HISTFILE=~/.zsh_history | |
HISTSIZE=100000 | |
SAVEHIST=100000 | |
## prompt settings | |
# autoload colors | |
# colors |
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
set kanji-code utf-8 | |
set editing-mode vi | |
set meta-flag on | |
set convert-meta off | |
set input-meta on | |
set output-meta on | |
set completion-ignore-case on | |
set enable-keypad on |
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
" display/view setting | |
set tabstop=4 | |
set shiftwidth=4 | |
set laststatus=2 | |
set ruler | |
set wildmenu | |
set nocompatible | |
set showmode | |
set title | |
set showcmd |
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
#!/bin/bash | |
######################################### | |
# .bashrc # | |
# Author: Randy Rhoads 22 Jan 2010 # | |
# Copyright (c) Force Operation X 2009 # | |
######################################### | |
date '+%Y/%m/%d %H:%M:%S'; | |
echo "initializing .bashrc....." | |
######################################### |
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
noremap H gT | |
noremap L gt | |
noremap h <A-Left> | |
noremap l <A-Right> | |
noremap <BS> <A-Left> | |
set titlestring=FireFox | |
noremap j 3j | |
noremap k 3k |
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
Windows PowerShell Alias settings | |
alias behave like UNIX system |
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
<!-- Add the following lines to theme's html code right before </head> --> | |
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.0/jquery.min.js"></script> | |
<script src="http://static.tumblr.com/fpifyru/VCxlv9xwi/writecapture.js"></script> | |
<script src="http://static.tumblr.com/fpifyru/AKFlv9zdu/embedgist.js"></script> | |
<!-- | |
Usage: just add <div class="gist">[gist URL]</div> | |
Example: <div class="gist">https://gist.github.com/1395926</div> | |
--> |
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
ajax_req = (param, beforeReq, doneReq, afterReq) -> | |
beforeReq = null if typeof beforeReq == 'undefined' | |
doneReq = null if typeof doneReq == 'undefined' | |
afterReq = null if typeof afterReq == 'undefined' | |
$.ajax 'http://www.example.com/blah', | |
type:'GET' | |
dataType:'json' | |
beforeSend: (jqXHR, settings) -> | |
console.log settings |
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
#/bin/bash | |
# move to home directory | |
cd ${HOME}; | |
# clone rbenv into home directory | |
git clone git://github.com/sstephenson/rbenv.git ~/.rbenv | |
# set env path for zsh | |
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.zshenv |
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
# Test Frameworks | |
pod 'gh-unit' | |
pod 'kiwi' | |
## Mock Frameworks | |
pod 'OCMock' | |
# Debugging/Logging | |
pod 'UALogger' |
OlderNewer