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
Show hidden characters
{ | |
"cmd": ["bash", "-lc", "ruby -w $file"], | |
"file_regex": "^(...*?):([0-9]*):?([0-9]*)", | |
"selector": "source.ruby" | |
} |
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
[ | |
{ "keys": ["f9"], "command": "show_overlay", "args": {"overlay": "goto", "show_files": true} }, | |
{ "keys": ["ctrl+f9"], "command": "alignment" }, | |
// from Ctags | |
{ "keys": ["f12"], "command": "navigate_to_definition" }, | |
{ "keys": ["shift+f12"], "command": "show_symbols" }, | |
{ "keys": ["ctrl+f12"], "command": "jump_back" }, | |
{ "keys": ["ctrl+shift+f12"], "command": "show_symbols", "args" : {"type": "multi" } }, | |
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
package main | |
import ( | |
"fmt" | |
) | |
type Fetcher interface { | |
// Fetch returns the body of URL and | |
// a slice of URLs found on that page. | |
Fetch(url string) (body string, urls []string, err error) |
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 ruby | |
require 'webrick' | |
port = (ARGV.empty?) ? 8000 : ARGV.shift.to_i | |
rpath = (ARGV.empty?) ? './' : ARGV.shift | |
root = File.expand_path rpath | |
mime_types = WEBrick::HTTPUtils::DefaultMimeTypes |
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
{ | |
"cmd": [ "bash", "-lc", "go run $file"], | |
"selector": "source.go", | |
"file_regex": "([^:]+):([0-9]+):" | |
} |
NewerOlder