wget https://storage.googleapis.com/golang/go1.7.linux-armv6l.tar.gz
tar -C /usr/local -xzf go1.7.linux-armv6l.tar.gz
export PATH=$PATH:/usr/local/go/bin
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[I'm an inline-style link](https://www.somewebsite.com) | |
[I'm an inline-style link with title](https://www.somewebsite.com "somewebsite's Homepage") | |
[I'm a reference-style link][Arbitrary case-insensitive reference text] | |
[I'm a relative reference to a repository file](../blob/master/LICENSE) | |
[You can use numbers for reference-style link definitions][1] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Parallel processing with ordered output in Go | |
(you can use this pattern by importing https://github.com/MarianoGappa/parseq) | |
This example implementation is useful when the following 3 conditions are true: | |
1) the rate of input is higher than the rate of output on the system (i.e. it queues up) | |
2) the processing of input can be parallelised, and overall throughput increases by doing so | |
3) the order of output of the system needs to respect order of input | |
- if 1 is false, KISS! |
- PCDM models repository objects, including the RWO/"intellectual work", a digital resource (surrogate or born digital), and binaries.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ curl 'http://dingo.sbs.arizona.edu/~hammond/lsasummer03/newdic.txt' | awk '$2 ~ /^...''.$/ { print $4 }' | |
abbreviation | |
abracadabra | |
academician | |
accelerando | |
accommodation | |
acculturation | |
adjudication | |
alienation | |
alleviation |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
charper:~$ rapper -i rdfxml -o turtle models.rdf -O https://raw.githubusercontent.com/duraspace/pcdm/master/models.rdf | |
rapper: Parsing URI file:///home/charper/models.rdf with parser rdfxml | |
rapper: Serializing with serializer turtle and base URI https://raw.githubusercontent.com/duraspace/pcdm/master/models.rdf | |
@base <https://raw.githubusercontent.com/duraspace/pcdm/master/models.rdf> . | |
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | |
@prefix dcterms: <http://purl.org/dc/terms/> . | |
@prefix ldp: <http://www.w3.org/ns/ldp#> . | |
@prefix ore: <http://www.openarchives.org/ore/terms/> . | |
@prefix owl: <http://www.w3.org/2002/07/owl#> . | |
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . |
When analysing example.warc.gz containing a HTML response that was GZip encoded.
- application/warc
- application/gzip
(outer gzip chunk)- application/warc; version="1.0", type=response
(The whole WARC Record)- application/http; msgtype=response
(WARC Record content, i.e. HTTP headers and entity body)- application/gzip
(i.e. the entity body is compressed)- text/html; version=5
- application/gzip
- application/http; msgtype=response
- application/warc; version="1.0", type=response
- application/gzip
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"formats": [ | |
{ | |
"format": { | |
"id": "archives-nz-dev-signature/1", | |
"name": "Adobe Air", | |
"version": "1.0", | |
"mime": "application/vnd.adobe.air-application-installer-package+zip", | |
"extensions": [ | |
"air" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Screen resolutions | |
------------------ | |
PICO-8 supports different undocumented videomodes that can be activated at runtime, | |
using poke(0x5F2C, X) where X is one of the following mode numbers: | |
0: 128x128, 0 pages | |
1: 64x128, 1 page | |
2: 128x64, 1 page | |
3: 64x64, 3 pages |