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
def every_10th_min | |
600 - (Time.now.to_i % 600) | |
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
#!/bin/bash | |
set -e | |
hostport=(${1//:/ }) | |
host=${hostport[0]} | |
port=${hostport[1]} | |
shift | |
cmd="$@" |
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
<key>Custom Commands</key> | |
<dict> | |
<key>Duplicate Line - Down</key> | |
<string>selectLine:, copy:, moveToBeginningOfLine:, moveDown:, insertLineBreak:, moveUp:, paste:, deleteBackward:</string> | |
<key>Duplicate Line - Up</key> | |
<string>selectLine:, copy:, moveToBeginningOfLine:, insertLineBreak:, moveUp:, paste:, deleteBackward:</string> | |
</dict> |
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
IDEs: | |
* Sublime Text (http://www.sublimetext.com/): | |
awesome plugins and its community | |
* Atom from Github(https://atom.io): | |
text editor from Github. | |
still waiting for beta invitation | |
* Scripted (https://github.com/scripted-editor/scripted): |