Skip to content

Instantly share code, notes, and snippets.

View AidanDelaney's full-sized avatar

Aidan Delaney AidanDelaney

View GitHub Profile
#include <iostream>
int main() {
std::cout << "Hello, world";
return 0;
}
module FuncExample where
import Control.Monad (class Monad)
import Data.Maybe(Maybe(..))
import Prelude
class Quux m where
quibble :: forall a. m a -> m a

Keybase proof

I hereby claim:

  • I am AidanDelaney on github.
  • I am aidandelaney (https://keybase.io/aidandelaney) on keybase.
  • I have a public key whose fingerprint is 8DCD 1AED 9BF7 3FA5 02BD BC43 EB40 29AB 9433 E0FB

To claim this, I am signing this object:

<?xml version="1.0"?>
<rdf:RDF
xmlns:snap="http://www.ifomis.org/bfo/1.1/snap#"
xmlns:p1="http://purl.org/nbirn/birnlex/ontology/obo-foundry/core/obo-foundry-core-full-import.owl#"
xmlns:uboobo="http://ccdb.ucsd.edu/NIF/BIRNLex-OBO-UBO.owl#"
xmlns:bfobridge="http://obofoundry.org/ro/ro_bfo_bridge.owl#"
xmlns="http://ontology.neuinfo.org/NIF/1.0/DigitalEntities/BIRNLex-OBI-proxy.owl#"
xmlns:p3="http://purl.org/nbirn/birnlex/ontology/BIRNLex-OBO-UBO.owl#"
xmlns:swrl="http://www.w3.org/2003/11/swrl#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
./bin/arq --verbose --data=minimal.owl "SELECT * {}"
1 SELECT *
2 WHERE
3 { }
Failed to load data
and minimal.owl is copy n' pasted from http://www.w3.org/TR/rdf-syntax-grammar/
<?xml version="1.0"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
<html>
<head>
<script src="../../dist/snap.svg-min.js"></script>
</head>
<body>
<svg id="theCanvas" width="200" height="200" />
<script type="text/javascript">
var s = Snap("#theCanvas");
// Lets create big circle in the middle:
@AidanDelaney
AidanDelaney / Category-documentation.patch
Created July 18, 2012 19:20
log4j documentation patch
Index: src/main/java/org/apache/log4j/Category.java
===================================================================
--- src/main/java/org/apache/log4j/Category.java (revision 1363045)
+++ src/main/java/org/apache/log4j/Category.java (working copy)
@@ -558,6 +558,9 @@
/**
Returns the assigned {@link Level}, if any, for this Category.
+ The level may be <code>null</code> in which case the <i>effective</i>
+ level is derived from the hierarchy. You may prefer to