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 python | |
# | |
# Read a CSV file from STDIN, assume the 1st column is unix-seconds | |
# convert it to excel time value ( (UNIXSEC + 32400) / 86400 + 25569 ) | |
# and insert it as 2nd column | |
# | |
import sys | |
for line in sys.stdin.readlines(): | |
(unixsec_str, delim, rest) = line.partition(',') |
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
// ==UserScript== | |
// @name anti key-grabber | |
// @description Prevent web apps from capturing and muting vital keyboard shortcuts | |
// @grant none | |
// @version 1.1 | |
// ==/UserScript== | |
(function(){ | |
var isMac = unsafeWindow.navigator.oscpu.toLowerCase().contains("mac os x"); | |
unsafeWindow.document.addEventListener('keydown', function(e) { | |
if (e.keyCode === 116) { |
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
; Auto execute section is the region before any return/hotkey | |
; For Terminal/Vim | |
GroupAdd Terminal, ahk_class PuTTY | |
GroupAdd Terminal, ahk_class mintty ; cygwin | |
GroupAdd TerminalVim, ahk_group Terminal | |
GroupAdd TerminalVim, ahk_class Vim | |
; Include IME.hak | |
; http://www6.atwiki.jp/eamat/pages/17.html |
OlderNewer