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
❯ echo "foo" | |
echofoo | |
..thbox/dbx-api | |
~/Code/Healthbox/dbx-api master* | |
❯ echo "bar" | |
echobar | |
..thbox/dbx-api | |
~/Code/Healthbox/dbx-api master* | |
❯ |
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
api_domain: 'databoxapi.dev' | |
aws_key: 'none' | |
aws_secret: 'none' | |
aws_bucket: 'none' | |
asset_host: 'databoxapi.dev' | |
dbx_apps_spa_base: '/' |
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
"powerline | |
set guifont=Source\ Code\ Pro\ for\ Powerline:h13 | |
" Plug check and auto install | |
let iCanHazVimPlug=1 | |
let VimplugReadme=expand('~/.vim/autoload/plug.vim') | |
if !filereadable(VimplugReadme) | |
echo "Installing VimPlug.." | |
echo "" | |
silent !curl -fLo ~/.vim/autoload/plug.vim --create-dirs |
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
" now do the same for terminal | |
tnoremap <Esc> <C-\><C-n> | |
tnoremap <C-h> <C-\><C-n><C-w>h | |
tnoremap <C-j> <C-\><C-n><C-w>j | |
tnoremap <C-k> <C-\><C-n><C-w>k | |
tnoremap <C-l> <C-\><C-n><C-w>l | |
nnoremap <C-h> <C-w>h | |
nnoremap <C-j> <C-w>j | |
nnoremap <C-k> <C-w>k | |
nnoremap <C-l> <C-w>l |
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
infocmp $TERM | sed 's/kbs=^[hH]/kbs=\\177/' > $TERM.ti | |
tic $TERM.ti |
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
"for better split navigation | |
noremap <C-h> <C-w>h | |
noremap <C-j> <C-w>j | |
noremap <C-k> <C-w>k | |
noremap <C-l> <C-w>l |
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
api_domain: 'databoxapi.dev' | |
aws_key: 'none' | |
aws_secret: 'none' | |
aws_bucket: 'none' | |
asset_host: 'databoxapi.dev' | |
dbx_apps_spa_base: '/app-portal/' |
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
export PATH=`rbenv root`/shims:`rbenv root`/bin:$PATH | |
export POW_DST_PORT=20559 |
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
# steps to build | |
### init ### | |
0. delete dir | |
- https://github.com/gruntjs/grunt-contrib-clean | |
### sprites ### | |
1. create spritemap, stylus / sass for spritemap | |
- https://github.com/bguiz/broccoli-sprite |
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
# replace $$value$$ with actual reference to ngModel | |
# i.e. model['attr'] or model['nested']['attr'] | |
key = '' | |
if scope.form.key | |
key = sfPath.stringify(scope.form.key).replace(/"/g, '"') | |
keyStr = 'model' + (if key[0] != '[' then '.' else '') + key |