Skip to content

Instantly share code, notes, and snippets.

View MagnusEnger's full-sized avatar

Magnus Enger MagnusEnger

View GitHub Profile
@ysasaki
ysasaki / plack-middleware-serverstatus-lite
Last active December 15, 2015 12:38
Munin plugin for Plack::Middleware::ServerStatus::Lite

NAME

plack-middleware-serverstatus-lite - Munin plugin for Plack::Middleware::ServerStatus::Lite

INSTALL

@vti
vti / books.pl
Created July 4, 2012 16:00
Books publications
#!/usr/bin/env perl
use strict;
use warnings;
use URI;
use URI::Escape;
use Digest::SHA qw(hmac_sha256_base64);
use LWP::UserAgent;
use XML::LibXML;
@nichtich
nichtich / LivingMyLife.ttl
Created November 1, 2011 21:33
Simplified Ontology for Bibliographic Resources (sobr)
@prefix bibo: <http://purl.org/ontology/bibo/> .
@prefix daia: <http://purl.org/ontology/daia/> .
@prefix dbo: <http://dbpedia.org/ontology/> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix frbr: <http://purl.org/vocab/frbr/core#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix sobr: <http://example.org/sobr/> . # NO URI NAMESPACE YET
# Emma Goldman's biography
<http://www.librarything.com/work/70394>
@nichtich
nichtich / viaflookup.pl
Created February 17, 2011 16:32
Make use of VIAF authority records
#!/usr/bin/perl
=head1 NAME
viaflookup.pl - How to make use of VIAF authority records
=head1 VERSION
Version 0.2 - 2011-02-18
import tweepy, simplejson, urllib, os,datetime,re
#----------------------------------------------------------------
def getBitlyKey():
bu='USER'
bkey='KEY'
return bu,bkey
def getTwapperkeeperKey():
key='KEY'
#!/usr/bin/perl
use strict;
use warnings;
=head1 NAME
Code4LibBib - extract Code4lib Journal Bibliography
=head1 DESCRIPTION