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
--- pit.py.org 2014-05-01 05:22:27.000000000 +0900 | |
+++ pit.py 2014-05-12 12:06:55.989623817 +0900 | |
@@ -33,7 +33,7 @@ | |
if result == c: | |
print 'No Changes' | |
if name in profile: | |
- return profile[nane] | |
+ return profile[name] | |
return | |
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
*** ./lib/grit/index.rb.org 2013-10-22 12:56:48.654590275 +0900 | |
--- ./lib/grit/index.rb 2013-10-23 13:17:49.316559983 +0900 | |
*************** | |
*** 173,179 **** | |
k = obj.name | |
k += '/' if (obj.class == Grit::Tree) | |
tmode = obj.mode.to_i.to_s ## remove zero-padding | |
! tree_contents[k] = "%s %s\0%s" % [tmode, obj.name, sha] | |
end if now_tree | |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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
#! /usr/bin/python | |
# coding: utf-8 | |
def HelloWorld(): | |
print 'hello world' | |
if __name__ == '__main__': | |
HelloWorld() |
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
" ユーザ定義コマンド SilSh | |
" :!{cmd} を silent に実行 | |
command -nargs=1 -complete=command SilentShell | |
\ | execute ':silent !'.<q-args> | redraw! | |
command -nargs=1 -complete=command SilSh | |
\ | execute ':SilentShell '.<q-args> |
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
// Patch for Taberareloo | |
// Taberareloo (https://chrome.google.com/webstore/detail/ldcnohnnlpgglecmkldelbmiokgmikno) | |
// lib/models.js | |
// Models: GoogleBookmarks | |
// getUserTags() | |
getUserTags : function() { | |
return request('https://www.google.com/bookmarks/mark', { |
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
#! /usr/bin/python | |
# coding: utf-8 | |
import sys | |
try: | |
from ibus import bus, inputcontext | |
except ImportError: | |
sys.exit(1) | |
msg_usage = '''usage: ibus-switch.py [on | off | toggle] |
NewerOlder