start new:
tmux
start new with session name:
tmux new -s myname
| /* | |
| As of version 1.1.2, Propane will load and execute the contents of | |
| ~Library/Application Support/Propane/unsupported/caveatPatchor.js | |
| immediately following the execution of its own enhancer.js file. | |
| You can use this mechanism to add your own customizations to Campfire | |
| in Propane. | |
| Below you'll find two customization examples. |
| /**********************************************/ | |
| /* | |
| /* Tomorrow Skin by Ben Truyman - 2011 | |
| /* | |
| /* Based on Chris Kempson's Tomorrow Theme: | |
| /* https://github.com/ChrisKempson/Tomorrow-Theme | |
| /* | |
| /* Inspired by Darcy Clarke's blog post: | |
| /* http://darcyclarke.me/design/skin-your-chrome-inspector/ | |
| /* |
| module Todo | |
| class API < Grape::API | |
| use Rack::Session::Cookie | |
| version 'v1', :format => :json | |
| helpers do | |
| def current_user | |
| return nil if env['rack.session'][:user_id].nil? | |
| @current_user ||= User.get(env['rack.session'][:user_id]) | |
| end |
| #!bash | |
| # | |
| # bash completion support for core Git. | |
| # | |
| # Copyright (C) 2006,2007 Shawn O. Pearce <[email protected]> | |
| # Conceptually based on gitcompletion (http://gitweb.hawaga.org.uk/). | |
| # Distributed under the GNU General Public License, version 2.0. | |
| # | |
| # The contained completion routines provide support for completing: | |
| # |
Locate the section for your github remote in the .git/config file. It looks like this:
[remote "origin"]
fetch = +refs/heads/*:refs/remotes/origin/*
url = [email protected]:joyent/node.git
Now add the line fetch = +refs/pull/*/head:refs/remotes/origin/pr/* to this section. Obviously, change the github url to match your project's URL. It ends up looking like this:
| # Custom directories with classes and modules you want to be autoloadable. | |
| config.autoload_paths += %W(#{config.root}/lib) | |
| config.autoload_paths += Dir["#{config.root}/lib/**/"] | |
| "------------------------------------ | |
| " VimFiler | |
| "------------------------------------ | |
| " 起動コマンド | |
| " default <leader><leader> | |
| nnoremap <Leader><leader> :VimFilerBufferDir<CR> | |
| " nnoremap <C-H><C-F> :VimFilerExplorer<CR> | |
| nnoremap <C-H><C-F> :call VimFilerExplorerGit()<CR> | |
| " lean more [ utf8 glyph ]( http://sheet.shiar.nl/unicode ) | |
| let g:vimfiler_safe_mode_by_default = 0 |
| { "keys": ["super+shift+o"], "command": "open_dir", "args": {"dir": "$file_path", "file": "$file_name"} } |