Skip to content

Instantly share code, notes, and snippets.

Wagner Sartori Junior trunet

Block or report user

Report or block trunet

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@trunet
trunet / graphql-go-mongodb-example.go
Created Jun 18, 2018 — forked from astenmies/graphql-go-mongodb-example.go
Minimal example of GraphQL Golang and MongoDB playing nicely together. Edit
View graphql-go-mongodb-example.go
// Embedded in this article https://medium.com/p/c98e491015b6
package main
import (
"context"
"fmt"
"log"
"net/http"
"time"
View keybase.md

Keybase proof

I hereby claim:

  • I am trunet on github.
  • I am trunet (https://keybase.io/trunet) on keybase.
  • I have a public key whose fingerprint is 5946 5C07 204D 1B96 DBF1 E042 B7A1 D8AA 43C3 DD4E

To claim this, I am signing this object:

View gist:5c33431d64c3768b4634fb7e88679dd3
### Keybase proof
I hereby claim:
* I am trunet on github.
* I am trunet (https://keybase.io/trunet) on keybase.
* I have a public key whose fingerprint is 26D0 1144 D4DC 41B1 5A59 A4D4 5C57 B51B 2A09 4EBB
To claim this, I am signing this object:
@trunet
trunet / protocol.py
Last active Dec 21, 2015
NTP protocol for Twisted using ntplib
View protocol.py
from twisted.internet.protocol import DatagramProtocol
from twisted.python import log
from twisted.python.failure import Failure
from ntplib import *
import time
class Error(Exception): pass
class TimeoutError(Error): pass
You can’t perform that action at this time.