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/env ruby | |
usage_description = """Usage: | |
github-open <commit> [<path> [<line-number>]] | |
Uses the <origin> remote's URL, and assumes that it's a Github repo. | |
""" | |
args = ARGV |
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
require 'set' | |
class Hash | |
def dig(key, *rest) | |
if value = (self[key] rescue nil) | |
if rest.empty? | |
value | |
elsif value.respond_to?(:dig) | |
value.dig(*rest) | |
end |
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
;; Icelandic keyboard setup | |
(define-key key-translation-map (kbd "M-ö") (kbd "\\")) | |
(define-key key-translation-map (kbd "M-8") (kbd "[")) | |
(define-key key-translation-map (kbd "M-9") (kbd "]")) | |
(define-key key-translation-map (kbd "M-7") (kbd "{")) | |
(define-key key-translation-map (kbd "M-0") (kbd "}")) | |
(define-key key-translation-map (kbd "M-q") (kbd "@")) | |
(define-key key-translation-map (kbd "M--") (kbd "~")) |
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
org.jruby.RubyMatchData.updateCharOffset(RubyMatchData.java:137) | |
org.jruby.RubyMatchData.begin19(RubyMatchData.java:479) | |
org.jruby.RubyMatchData$i$1$0$begin19.call(RubyMatchData$i$1$0$begin19.gen:65535) | |
org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:167) | |
org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57) | |
org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57) | |
org.jruby.ast.DAsgnNode.interpret(DAsgnNode.java:110) | |
org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104) | |
org.jruby.ast.BlockNode.interpret(BlockNode.java:71) | |
org.jruby.evaluator.ASTInterpreter.INTERPRET_BLOCK(ASTInterpreter.java:112) |
NewerOlder