This file contains hidden or 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
| # https://github.com/tmux/tmux/issues/145 | |
| set -g mouse on | |
| bind -n WheelUpPane if-shell -F -t = "#{mouse_any_flag}" "send-keys -M" "if -Ft= '#{pane_in_mode}' 'send-keys -M' 'select-pane -t=; copy-mode -e; send-keys -M'" | |
| bind -n WheelDownPane select-pane -t= \; send-keys -M | |
| bind -n C-WheelUpPane select-pane -t= \; copy-mode -e \; send-keys -M | |
| bind -t vi-copy C-WheelUpPane halfpage-up | |
| bind -t vi-copy C-WheelDownPane halfpage-down |
This file contains hidden or 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
| image: golang:1.5 | |
| before_script: | |
| - echo " ===== :D ===== " | |
| test: | |
| script: | |
| - go test |
This file contains hidden or 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
| [:INT, :TERM, :HUP].each do |s| | |
| Signal.trap(s) { | |
| puts "#{s}" | |
| exit 1 | |
| } | |
| end |
This file contains hidden or 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
| let g:syntastic_eruby_ruby_quiet_messages = | |
| \ {'regex': 'possibly useless use of a variable in void context'} |
This file contains hidden or 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
| ActiveRecord::Base.connection.select_values("select uuid_generate_v4();").first |
This file contains hidden or 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
| ActiveRecord::Base.connection.select("select uuid_generate_v4();") |
This file contains hidden or 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
| function wikip() { | |
| if [ $# != 0 ]; then | |
| w3m -dump "http://ja.wikipedia.org/wiki/$*" |less | |
| else | |
| echo "Usage: wikip <keyword>" | |
| fi | |
| } |
This file contains hidden or 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
| [Unit] | |
| Description=nginx | |
| SourcePath=/etc/init.d/nginx | |
| Before=multi-user.target multi-user.target multi-user.target graphical.target shutdown.target | |
| After=network-online.target remote-fs.target local-fs.target | |
| Wants=network-online.target | |
| Conflicts=shutdown.target | |
| [Service] | |
| Type=forking |
This file contains hidden or 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
| tags | |
| tmp | |
| .git/ | |
| node_modules/ |
This file contains hidden or 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
| #!/usr/bin/env bash | |
| brew $@ && echo $@ >> ~/Documents/brew.txt |
NewerOlder