Skip to content

Instantly share code, notes, and snippets.

🏳️‍🌈
Always, always busy

Mo McRoberts nevali

🏳️‍🌈
Always, always busy
Block or report user

Report or block nevali

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 dcms-what-we-will-do.md

What we will do

This is the list of government actions taken from The Culture White Paper.

The White Paper is released under the terms of the Open Government Licence, Version 3.0 and is Crown Copyright.

1.1 Culture should be an essential part of every child’s education, both in and out of school

  • We will establish a new cultural citizens programme, with the support of Lottery distributors, to create new cultural opportunities for thousands of young people from disadvantaged backgrounds.
  • We will work with the RSA to encourage schools to use the pupil premium to promote cultural education as a means of raising the educational attainment of disadvantaged pupils.
View gist:739ffbe29b8fec58bd0f
[lod:licenses]
predicate="http://purl.org/dc/terms/rights"
predicate="http://purl.org/dc/terms/license"
predicate="http://purl.org/dc/terms/accessRights"
predicate="http://creativecommons.org/ns#license"
predicate="http://www.w3.org/1999/xhtml/vocab#license"
predicate="http://www.w3.org/1999/xhtml/vocab#copyright"
whitelist="http://creativecommons.org/publicdomain/zero/1.0/"
whitelist="http://id.loc.gov/about/"
whitelist="http://creativecommons.org/licenses/by/4.0/"
View keybase.md

Keybase proof

I hereby claim:

  • I am nevali on github.
  • I am nevali (https://keybase.io/nevali) on keybase.
  • I have a public key whose fingerprint is 0AD2 8B2D 2196 76C7 3BE6 32F7 E751 1334 CEBC F03E

To claim this, I am signing this object:

@nevali
nevali / gist:10786827
Created Apr 15, 2014
liblod, part 3: an agent can now opt to follow foaf:primaryTopic; and redirects are dealt with much more sensibly—the redirect URL (if status was not a 303) is pushed into a FIFO list of subjects, and subject matching will be attempted in each in turn. in other words, redirects work as you would expect.
View gist:10786827
$ ./lod-util
./lod-util: a test harness for liblod
Enter a URI to resolve, or .COMMAND (type '.help' for a list of commands)
> .follow
will follow foaf:primaryTopic
> http://bbc.co.uk/spooks
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix dct: <http://purl.org/dc/terms/> .
@nevali
nevali / gist:10753613
Created Apr 15, 2014
liblod continued: now follows redirects properly; parses HTML to find <link rel="alternate"> elements linking to supported RDF serialisations; the test harness now has the ability to quickly locate and dump the primary topic of the most recently-received document (assuming the document is itself described in the RDF returned); and cURL calls are…
View gist:10753613
$ ./lod-util
./lod-util: a test harness for liblod
Enter a URI to resolve, or .COMMAND (type '.help' for a list of commands)
> .help
Available commands:
.help Print this message
.quit or .exit End lod-util session
.reset Discard the current context
@nevali
nevali / gist:10685573
Created Apr 14, 2014
Prototyping liblod
View gist:10685573
### This is a transcript of lod-util, a test harness for `liblod`, which I sat and wrote this
### evening: in effect, it wraps up libcurl and librdf in order to provide a sensible context-based
### approach to consuming Linked Data. It has one core API call: lod_resolve(), which is passed a
### a context, a LOD URI string and a fetch mode parameter. The fetch mode is 'always',
### 'only if absent', or 'never'. Each time a URI is resolved, the triples that are parsed are
### added to the context's model.
###
### The fetch mode for lod-util is 'only if absent', which means that if there are already triples
### about the subject in the model, a new request won't be made. You can see below that after parsing
### Henry Story's FOAF file, information is already known about Dan Brickley. Executing the command
View gist:f89276e88d83ee8f24a5
/* PeopleView hacks */
html#ctl00_htmlMaster>body.orgchart td.listingTableOptions>table {
width: 100%;
outline: solid red 1px;
}
html#ctl00_htmlMaster>body.orgchart td.scrollingTD {
width: auto !important;
}
View gist:6359151
Domain Name: TWITTER.COM
Registrar: MELBOURNE IT, LTD. D/B/A INTERNET NAMES WORLDWIDE
Whois Server: whois.melbourneit.com
Referral URL: http://www.melbourneit.com
Name Server: NS1.P34.DYNECT.NET
Name Server: NS2.P34.DYNECT.NET
Name Server: NS3.P34.DYNECT.NET
Name Server: NS4.P34.DYNECT.NET
Status: clientTransferProhibited
Status: serverDeleteProhibited
View gist:5147885
struct baz
{
pthread_mutex_t mutex;
pthread_t thread;
int statekeeping;
};
int
foo(void)
{
View .apdisk
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>diskUuid</key>
<string>%4vj34C%TL244fUBHccbKg</string>
</dict>
</plist>
You can’t perform that action at this time.