Skip to content

Instantly share code, notes, and snippets.

Avatar
🔥
doing codes

Daniel Compton dan-compton

🔥
doing codes
View GitHub Profile
View Jsonnet.g4
grammar Jsonnet;
jsonnet
: expr EOF
;
expr
: value=(NULL | TRUE | FALSE | SELF | DOLLAR | STRING | NUMBER ) # Value
| '(' expr ')' # Parens
| '{' objinside? '}' # Object
@dan-compton
dan-compton / timestamp.go
Created Oct 5, 2015 — forked from bsphere/timestamp.go
UNIX timestamps in Golang
View timestamp.go
package timestamp
import (
"fmt"
"labix.org/v2/mgo/bson"
"strconv"
"time"
)
type Timestamp time.Time
@dan-compton
dan-compton / terminator-config
Last active Aug 29, 2015 — forked from jacaetevha/terminator-config
save this file to ~/.config/terminator
View terminator-config
[global_config]
enabled_plugins = CustomCommandsMenu, InactivityWatch, TestPlugin, ActivityWatch, TerminalShot, LaunchpadCodeURLHandler, APTURLHandler, MavenPluginURLHandler, LaunchpadBugURLHandler, LayoutManager
title_transmit_bg_color = "#832527"
[keybindings]
[profiles]
You can’t perform that action at this time.