Skip to content

Instantly share code, notes, and snippets.

View chocksaway's full-sized avatar

Miles Davenport chocksaway

View GitHub Profile
@chocksaway
chocksaway / 0_reuse_code.js
Last active August 29, 2015 14:16
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@chocksaway
chocksaway / 4Store.py
Last active September 11, 2020 21:14
4store Python Triple Import and Query
import urllib
import tornado
import rdflib
from tornado.httpclient import AsyncHTTPClient
from rdflib import URIRef, BNode, Literal
from rdflib.namespace import FOAF
from rdflib.namespace import RDF
from tornado import gen