Skip to content

Instantly share code, notes, and snippets.

View jonlundy's full-sized avatar
🚀
Awesome

Jon Lundy jonlundy

🚀
Awesome
View GitHub Profile
#!/bin/bash
[ $# -ge 6 ] || {
echo "Usage: $0 <NICK> <MAIL> <GPG> <AS> <ENDPOINT> <IPV4> [PORT]" >&2
exit 1
}
# You may want to change variables below and check if "/etc/bird/bird-dn42.conf"
# is included in your bird-config (same for bird6 with bird6-dn42.conf)
@jonlundy
jonlundy / keybase.md
Last active August 29, 2015 14:16
keybase.md

Keybase proof

I hereby claim:

  • I am jonlundy on github.
  • I am xuu (https://keybase.io/xuu) on keybase.
  • I have a public key whose fingerprint is 4F59 E877 055C 6348 A21F 8582 D838 118B BD41 ED87

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am jonlundy on github.
  • I am xuu (https://keybase.io/xuu) on keybase.
  • I have a public key whose fingerprint is 8049 CC70 162B BE19 D5B5 180A E24B 23DE 8837 DD3D

To claim this, I am signing this object:

@jonlundy
jonlundy / openpgp.txt
Created December 23, 2016 00:40
OpenKeychain Linked Identity
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account.
Token for proof:
[Verifying my OpenPGP key: openpgp4fpr:20ae2f310a74ea7cec3ae69f8b3b0604f164e04f]
type Foo {
id: ID!
name: String!
}
type Query {
foo(id: ID!): Foo!
}
@jonlundy
jonlundy / generated interfaces
Last active July 20, 2018 19:43
mutation resolvers
type Resolvers interface {
CollectionOps_Section(ctx context.Context, obj *CollectionOps, id string) (*SectionOps, error)
CollectionOps_addSection(ctx context.Context, obj *CollectionOps, name string) (*Section, error)
CollectionOps_removeSection(ctx context.Context, obj *CollectionOps, id string) (*bool, error)
Mutation_Collection(ctx context.Context, id string) (*CollectionOps, error)
Query_Collection(ctx context.Context, id string) (*Collection, error)
SectionOps_addTag(ctx context.Context, obj *SectionOps, value string) (*Tag, error)
SectionOps_removeTag(ctx context.Context, obj *SectionOps, value string) (*bool, error)
}
package model
import (
"bytes"
"database/sql/driver"
"fmt"
"io"
"strings"
"time"
)
package gql
import (
"bytes"
"database/sql/driver"
"fmt"
"io"
"strings"
"time"
)
BEGIN MESSAGE.
uJ8DXfmr36V11EZ k9tzY4B50237Jug BKh0BWUZCTHDr8V owqDS7gi2Hz4pNa
qFPcgCY0lDIinDt muOsNw4RPiJTCKq 6Xr2MZHgg6IxbdG L2ee86kdR7Tzwef
P9YIF3KxsQ8ImAs 5iGVN1u4b5lGth1 IfGYfmdvHXUSmUe Qoi3PrHR4zbwunP
jwJyLdZTvBOpi0w ErjY4bMdvR3ql1y PK8Xd0Qz5Z.
END MESSAGE.
schema: schema.graphql
exec:
filename: internal/graph/generated.go
package: graph
model:
filename: pkg/model/generated.go
package: model
models:
ID:
model: sour.is/x/example/pkg/model.Uint