Skip to content

Instantly share code, notes, and snippets.

Avatar

Stian Soiland-Reyes stain

View GitHub Profile
View nfsmount.conf
[ NFSMount_Global_Options ]
Proto=tcp6
Retrans=4
Timeo=600
Soft=True
Sec=krb5p:krb5i
Nfsvers=4
View gist:2dc796a0fa7ff0b1a80b3f998b47e07f
root@zfsfun:~# zpool create tank sdb
root@zfsfun:~# zfs create tank/test
root@zfsfun:~# cd /tank/test/
root@zfsfun:/tank/test# for n in 1 2 3 4 5 6 7 8 9 ; do cp -a /boot $n & done
root@zfsfun:/tank/test# zpool status tank
pool: tank
state: ONLINE
@stain
stain / zfs-test.sh
Last active Jun 19, 2020
Tested on Ubuntu 20.04 VM
View zfs-test.sh
root@zfsfun:/tank/test# zfs --version
zfs-0.8.3-1ubuntu12.1
zfs-kmod-0.8.3-1ubuntu12
root@zfsfun:~# zpool create tank sdb
root@zfsfun:~# zfs create tank/test
root@zfsfun:~# cd /tank/test
@stain
stain / schema-skos-transitive.jsonld
Last active Jun 12, 2020
SKOS transitive version of schema.org 8.0 class hierarchy - SPARQL executed on all-frames.nt from https://schema.org/docs/developers.html
View schema-skos-transitive.jsonld
{
"@graph" : [ {
"@id" : "http://schema.org/",
"@type" : "skos:ConceptScheme",
"hasTopConcept" : "schema:Thing"
}, {
"@id" : "schema:3DModel",
"@type" : "skos:Concept",
"broader" : [ "schema:Thing", "schema:CreativeWork", "schema:MediaObject" ],
"broaderTransitive" : "schema:MediaObject",
@stain
stain / schema-skos-flattened.jsonld
Last active Jun 12, 2020
SKOS version of schema.org 8.0 class hierarchy - SPARQL executed on all-frames.nt from https://schema.org/docs/developers.html
View schema-skos-flattened.jsonld
{
"@context": {
"rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#",
"owl": "http://www.w3.org/2002/07/owl#",
"skos": "http://www.w3.org/2004/02/skos/core#",
"rdfs": "http://www.w3.org/2000/01/rdf-schema#",
"@base": "http://schema.org/"
},
"@graph": [
{
View do-not-transfer-2020-05-27.md

Do NOT transfer my account to Office 365.

(Ignore my comments in 213335 as I believed IMAP would remain available in Office 365 until October 2020 )

I have just been told that IMAP on Office365 has already been disabled, counter to the guidance on your website, which said from "October" (which year?)
https://www.staffnet.manchester.ac.uk/modernising-it/technology/office365/resources/

As a Linux user I do not have Outlook, and with 6000 monthly emails I rely heavily on filtering and local search using offlineimap and notmuch.

@stain
stain / docker-compose.override.yml
Last active Mar 27, 2020
nanopub-server under single hostname https on Ubuntu 16.04
View docker-compose.override.yml
version: '2'
volumes:
mongodata:
rdfsink:
virtuosodb:
services:
server:
environment:
- NPS_PUBLIC_URL=https://openphacts.cs.man.ac.uk/nanopub/server/
ldf:
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)
You can’t perform that action at this time.