node rdfstoretest.js
Attempting to create store...
node.js:201
throw e; // process.nextTick error, or 'error' event on first tick
^
TypeError: Cannot read property 'arbiterOnly' of undefined
at /Users/robbinsd/Dropbox/Repos/rdfstorenode/node_modules/rdfstore/node_modules/mongodb/lib/mongodb/connection/server.js:552:22
at [object Object].checkoutReader (/Users/robbinsd/Dropbox/Repos/rdfstorenode/node_modules/rdfstore/node_modules/mongodb/lib/mongodb/connection/server.js:569:16)
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>CORS to DOM</title> | |
</head> | |
<body><div class="container"> | |
<div id="login" class="span-24 last" style="text-align:right" ></div> | |
<div id="content"></div> | |
<script type="text/javascript"> | |
//(function(){ |
<html> | |
<head> | |
<title>jQuery + Quanah Error Demo</title> | |
</head> | |
<body> | |
<a id="awesome">Click for Awesome</a> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js" type="text/javascript" charset="utf-8"></script> | |
<script src="https://raw.github.com/wilkinson/quanah/master/src/quanah.js" type="text/javascript" charset="utf-8"></script> | |
<script type="text/javascript" charset="utf-8"> | |
(function(){ |
This is an example federated query using the TCGA Roadmap. You may run the query at any SPARQL endpoint with SERVICE queries enables, such as [this one here](http://hydrogen.path.uab.edu/swobjects/sw?query=PREFIX+rdfs%3A%3Chttp%3A%2F%2Fwww.w3.org%2F2000%2F01%2Frdf-schema%23%3E%0D%0APREFIX+tcga%3A%3Chttp%3A%2F%2Fpurl.org%2Ftcga%2Fcore%23%3E%0D%0APREFIX+tcgameta%3A%3Chttp%3A%2F%2Fpurl.org%2Ftcga%2Fmetadata%23%3E%0D%0APREFIX+tcgaclin%3A%3Chttp%3A%2F%2Fpurl.org%2Ftcga%2Fclin%23%3E%0D%0APREFIX+tcgaclinProp%3A%3Chttp%3A%2F%2Fpurl.org%2Ftcga%2Fclin%23property%2F%3E%0D%0ASELECT+%3FpatientId+%3FtumorTissueSite+%3FageAtInitialDiagnosis+%3Fgender+%3Frace+%3FvitalStatus%0D%0AWHERE+%7B%0D%0A++SERVICE+%3Chttp%3A%2F%2Fagalpha.mathbiol.org%3A10035%2Frepositories%2Ftcga%3E+%7B%0D%0A++++%3Ffile+tcga%3Aplatform+%3Fplatform+.%0D%0A++++%3Fplatform+rdfs%3Alabel+%22mda_rppa_core%22+.%0D%0A++++%3Ffile+tcga%3AdiseaseStudy+%3FdiseaseStudy+.%0D%0A++++%3FdiseaseStudy+rdfs%3Alabel+%22gbm%22+.%0D%0A++++%3
For a variety of reasons, my Papers2 library folder (~/Library/Application Support/Papers2
) was cluttered with many duplicate papers, generally only one of which was linked to a document in Papers2. Here is how I cleaned it up.
- From a Terminal,
cd ~/Library/Application\ Support
. open .
- Copy the
Papers2
folder to the Desktop. This is your backup. - In Papers2,
cmd+,
, select Library, select Add next to "Rename files in library folder as:", and select Separator -> _ then click Apply. - Back in your Terminal,
find ./ -iregex ".*[^_]\.pdf" -delete
- If you want to see what's going to be deleted before doing it, run
find ./ -iregex ".*[^_]\.pdf"
always: | |
processes.txt: always | |
ps axf > processes.txt | |
script: processes.txt | |
awk 'BEGIN {print "#!/bin/bash";} /AG/ { print "kill -s sigusr2",$$1 }' processes.txt > sigsur2ag.sh | |
chmod +x sigsur2ag.sh |
app = require('express')() | |
app.get '/hi', (req, res) -> | |
res.end "Hello World" |
myPatients = Patients.find().fetch(); | |
numPatients = myPatients.length; | |
console.log("Hello from a module in Este. There are", numPatients, "patients available."); |
package atmmachine; | |
import java.util.Date; | |
import java.util.Scanner; | |
/** | |
* | |
* @author Madai | |
*/ | |
public class AtmMachine { | |
private int id; |
public class AtmMachine { | |
Account[] accounts; | |
public static void main(String[] args) { | |
int command; | |
int id; | |
for (int i=0; i<10; i++) { |