Skip to content

Instantly share code, notes, and snippets.

Stian Soiland-Reyes stain

Block or report user

Report or block stain

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View html5.diff
--- index.html 2019-10-18 14:47:15.867443397 +0100
+++ html5.html 2019-10-18 14:51:47.656129865 +0100
@@ -1,10 +1,9 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<!DOCTYPE html>
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="no" lang="no">
+<html lang="no">
<head>
View longrunning.txt
Long-running script killed after 20 seconds: Javascript expression was: { return {"lines": inputs.file.contents.trim().split(/\r?\n/g) }; }
stdout was:
stderr was:
WARNING Failed to evaluate expression:
Expression evaluation error:
Expecting value: line 1 column 1 (char 0)
script was:
01 "use strict";
02 var inputs = {
03 "file": {
View test.provn
document
prefix ex <http://example.com/survey4/>
agent(ex:alice)
agent(ex:bob)
entity(ex:response1)
wasAttributedTo(ex:response1, ex:patient4)
View roum.owl
<rdf:RDF xmlns="http://elab.org.uk/ontologies/roum#" xml:base="http://elab.org.uk/ontologies/roum" xmlns:owl2xml="http://www.w3.org/2006/12/owl2-xml#" xmlns:terms="http://purl.org/dc/terms/" xmlns:wordnet="http://xmlns.com/wordnet/1.6/" xmlns:xsd="http://www.w3.org/2001/XMLSchema#" xmlns:terms2="http://www.openarchives.org/ore/terms/" xmlns:roum="http://elab.org.uk/ontologies/roum#" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:owl="http://www.w3.org/2002/07/owl#">
<owl:Ontology rdf:about="">
<owl:imports rdf:resource="http://dublincore.org/2008/01/14/dcterms.rdf"/>
<owl:imports rdf:resource="http://www.openarchives.org/ore/1.0/terms"/>
<owl:imports rdf:resource="http://xmlns.com/foaf/0.1/"/>
</owl:Ontology>
<!--
View LockQueue.java
/*
* Copyright 2019 Stian Soiland-Reyes
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
View mediainfo.sh
(base) stain@biggie:~/Pictures/whatsapp$ mediainfo VID-20171005-WA0000.mp4
General
Complete name : VID-20171005-WA0000.mp4
Format : MPEG-4
Format profile : Base Media / Version 2
Codec ID : mp42 (mp41/mp42/isom)
File size : 3.27 MiB
Duration : 3 min 22 s
Overall bit rate : 135 kb/s
Encoded date : UTC 2017-08-13 16:03:30
View inflation.tsv
year inflation from prev Y inflated price value chf uk cpi inflated price value gbp
1969 CHF 0.50 CHF 1.52 4.67 £0.05 £5.43
1970 5.44 CHF 0.53 CHF 1.44 7.89 £0.05 £5.19
1971 6.62 CHF 0.56 CHF 1.35 9.03 £0.06 £4.81
1972 6.86 CHF 0.60 CHF 1.26 7.65 £0.06 £4.41
1973 11.92 CHF 0.67 CHF 1.13 10.58 £0.07 £4.10
1974 7.55 CHF 0.72 CHF 1.05 19.14 £0.08 £3.71
1975 3.45 CHF 0.75 CHF 1.01 24.89 £0.10 £3.11
1976 1.27 CHF 0.76 CHF 1.00 15.07 £0.12 £2.49
1977 1.2 CHF 0.77 CHF 0.99 12.14 £0.13 £2.16
@stain
stain / properties-with-type-id.csv
Last active Jul 30, 2019
curl -s -L -H "Accept: application/ld+json" https://schema.org/ | grep @type | grep @id | cut -d '"' -f 2,4 | sed 's/"/,/'
View properties-with-type-id.csv
property type
actionableFeedbackPolicy @id
additionalType @id
afterMedia @id
arrivalTime @id
availabilityEnds @id
availabilityStarts @id
availableFrom @id
availableThrough @id
beforeMedia @id
View gist:87fc34a13eed60179447729cdf7f9ac7
### Editing this command? Also update https://ci.commonwl.org/job/cwl-spec-pr/configure
venv() {
if ! test -d $1 ; then
virtualenv $1
fi
. $1/bin/activate
}
venv venv
(. venv/bin/activate && pip install -U setuptools wheel pip)
(. venv/bin/activate && pip install --ignore-installed --verbose -U cwltest cwltool)
@stain
stain / 00-review-GIGA-D-18-00427.md
Last active May 24, 2019
Review of GigaScience manuscript GIGA-D-18-00428
View 00-review-GIGA-D-18-00427.md
You can’t perform that action at this time.