Skip to content

Instantly share code, notes, and snippets.

Skill Loading
Skill 1 94
Skill 2 85
Skill 3 100
Skill 4 92
@adamnagel
adamnagel / rdflib-perf-testing.py
Last active December 4, 2018 23:38
RDFLib performance testing
from timeit import default_timer as timer
from rdflib import Namespace, Graph, Literal, ConjunctiveGraph
from rdflib.namespace import RDF, RDFS, DCTERMS
import xml.dom.minidom
import json
import xml.etree.cElementTree as ET
import re
from rdflib.store import NO_STORE, VALID_STORE
@adamnagel
adamnagel / sample_requirements.txt
Created June 5, 2018 13:22
A sample of extracted requirements for use with ModelCI. Derived from the SysML Spacecraft Definition by Sanford Friedenthal and Christopher Oster https://github.com/actiontofu/architecting-spacecraft
/ModelCI/TestCase|3.1.1|Mass|<|2000
/ModelCI/TestCase|3.1.2|Thermal Protection|=|1
/ModelCI/TestCase|3.1.3|Electrical Power|=|1
/ModelCI/TestCase|3.1.4|Payload Accomodation|=|1
/ModelCI/TestCase|3.1.5|Orbit Constraints|=|1
/ModelCI/TestCase|3.1.6|Structural Integrity|=|1
@adamnagel
adamnagel / keybase.md
Created November 21, 2017 14:59
Keybase proof

Keybase proof

I hereby claim:

  • I am adamnagel on github.
  • I am adamnagel (https://keybase.io/adamnagel) on keybase.
  • I have a public key whose fingerprint is E233 9EB3 26AF DC69 7259 23CF 53D8 5C50 4A81 641D

To claim this, I am signing this object:

@adamnagel
adamnagel / howto.md
Last active September 9, 2015 22:02
How to use remote execution

This script will walk through the process of setting up and running a job using the executor.

  1. Create your job definition
  2. Upload it to the blob
  3. Create a job on the executor
  4. Poll
  5. Retrieve the results

Create your job definition