Skip to content

Instantly share code, notes, and snippets.

😄

Dan Ryan danryan

😄
View GitHub Profile
@danryan
danryan / gist:6116878
Last active Dec 20, 2015
GET /turtles
View gist:6116878
HTTP/1.1 200 OK
Server: Turtle
Content-Type: application/turtles; charset=turtles
{
"turtles": {
"turtles": {
"turtles": {
"turtles": {
"turtles": {
"turtles": {
View gist:99a6d10f53d839d5f9e5
rels := make(map[string]string)
link := header.Get("Link")
if len(link) == 0 {
return rels
}
for _, l := range strings.Split(link, ",") {
l = strings.TrimSpace(l)
segments := strings.Split(l, ";")
View gist:ca97637f49ea64f2ac36
### Keybase proof
I hereby claim:
* I am danryan on github.
* I am danryan (https://keybase.io/danryan) on keybase.
* I have a public key whose fingerprint is BED3 5E14 E32E B540 AEC6 C828 0926 5AE9 DBAA A5B3
To claim this, I am signing this object:
View .chunkwmrc
#!/bin/bash
#
# NOTE: specify the absolutepath to the directory to use when
# loading a plugin. '~' expansion is supported.
#
chunkc core::plugin_dir /usr/local/opt/chunkwm/share/chunkwm/plugins
#
You can’t perform that action at this time.