all the pages go in db/pages/ (eg. db/pages/Redstone (API))
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
| supervise([ | |
| worker(Buffer, []), | |
| supervisor(Modes, [buffer_pid]) | |
| ], strategy: :one_for_one) |
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
| test.lua:16: hi | |
| traceback | |
| 5 test.lua:16: @ | |
| 6 test.lua:21: @ | |
| 7 @ | |
| error hi | |
| traceback | |
| 2 test.lua:5: @ | |
| 3 test.lua:31: @ | |
| 4 test.lua:16: @ |
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
| map j scrollLeft | |
| map k scrollDown | |
| map l scrollUp | |
| map ; scrollRight | |
| map K previousTab | |
| map L nextTab | |
| map J goBack | |
| map I goForward | |
| map C-k scrollPageDown | |
| map C-l scrollPageUp |
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
| super + shift + button1 | |
| echo MD | |
| super + shift + !button1 | |
| echo M %i %i | |
| super + shift + @button1 | |
| echo MU |
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
| /// Integers | |
| 123 | |
| /// Floats | |
| 1.23 | |
| 1. | |
| /// Arbitrary Precision Numbers | |
| 123n | |
| 1.23n |
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
| Alphabet = Struct.new :chars do | |
| def [] v | |
| case v | |
| when Fixnum | |
| chars[v] | |
| when String | |
| chars.index v | |
| end | |
| end | |
| end |
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
| [size=5][b]Programs[/b][/size] | |
| [spoiler] | |
| [size=5][b]Sitdown[/b][/size] | |
| [spoiler] | |
| Multi file downloader | |
| It can download an entire directory structure from an HTTP server with one command. | |
| [url="http://pastebin.com/3tqG4Vg8"]Pastebin[/url]: pastebin get 3tqG4Vg8 sitdown | |
| Instructions: | |
| [spoiler] | |
| [list=1] |
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 "os" | |
| import "os/exec" | |
| import "fmt" | |
| import "flag" | |
| import "strings" | |
| import "syscall" | |
| import "path/filepath" | |
| import "github.com/keegancsmith/shell" |
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
| skelly = require \skelly | |
| dom = require \skelly/good-dom | |
| app = new skelly.App | |
| client = skelly.connect app | |
| ldata = require \skelly/live-data | |
| binders = require \skelly/live-binders | |
| class ChatView extends skelly.View |