Skip to content

Instantly share code, notes, and snippets.

View DenisCarriere's full-sized avatar
🎯
Focusing

Denis DenisCarriere

🎯
Focusing
View GitHub Profile
@james2432
james2432 / schools.geojson
Last active September 13, 2016 14:05
CECCE Schools
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@rowanwins
rowanwins / turf-shapely.py
Last active June 17, 2017 14:55
Test turf/boolean modules against shapely
from shapely.geometry import asShape
import fiona
import os
import sys
turf_dir = sys.argv[1]
predicate = sys.argv[2]
def runTestOnFile(dir, file, turfResult):
fc = fiona.open(dir + file, 'r')
@nsjames
nsjames / acchascode.cpp
Created August 26, 2018 11:02
Account Has Code - Basic EOS oracle for checking if an account has code on it.
#include <eosiolib/eosio.hpp>
#include <eosiolib/singleton.hpp>
using namespace eosio;
class acchascode : contract {
private:
// @abi table trustees
struct Trustee {