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
(defun microsoft-date-to-iso (microsoft-date) | |
(format-time-string "%Y-%m-%d %H:%M:%S%z" (days-to-time (- (string-to-number microsoft-date) 25569)))) |
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 Printable GitHub | |
// @version 1.1 | |
// @namespace https://github.com/gaute | |
// @include https://github.com/*/issues/* | |
// @include https://github.com/*/pull/* | |
// @include https://github.com/*/wiki/* | |
// @include https://github.com/*/commit/* | |
// ==/UserScript== |
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 Printable GitHub issues | |
// @namespace https://github.com/gaute | |
// @include https://github.com/*/issues/* | |
// ==/UserScript== | |
if (typeof($) === "undefined") { | |
$ = unsafeWindow.$; | |
} |
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
# rmapstogpx.py | |
# | |
# Extracts tracklogs from the RMaps database (/rmaps/data/geodata.db) | |
# and converts them to GPX files. | |
# | |
# Workaround for http://code.google.com/p/robertprojects/issues/detail?id=88 | |
# | |
# Usage: python rmapstogpx.py geodata.db |
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
;;; PO-mode | |
(setq po-msgfmt-program "/sw/bin/msgfmt" | |
po-translator "Gaute Hvoslef Kvalnes <[email protected]>" | |
po-language-team "Norwegian Nynorsk <[email protected]>" | |
po-auto-select-mode 'by-order | |
po-lookup-replace "/nn/" | |
po-lookup-replace-with "/nb/" | |
po-always-setup-lookup-frame nil | |
po-lookup-frame-font "-apple-bitstream vera sans-medium-r-normal--0-0-0-0-m-0-iso10646-1") |