A one paragraph description about the container.
These instructions will cover usage information and for the docker container
import sys | |
import os.path as path | |
from rdflib import Namespace, XSD, RDF, RDFS, OWL | |
from rdflib.term import Variable, URIRef, BNode, Literal | |
from rdflib.plugins.sparql.parser import parseQuery | |
from rdflib.plugins.sparql.parserutils import prettify_parsetree | |
from rdflib.plugins.sparql import prepareQuery | |
from rdflib.paths import Path | |
import pprint | |
import pygraphviz as pgv |
When contributing to this repository, please first discuss the change you wish to make via issue, email, or any other method with the owners of this repository before making a change.
Please note we have a code of conduct, please follow it in all your interactions with the project.
(note: replace ORGANIZATION
and PROJECT
)
git clone git clone [email protected]:ORGANIZATION/PROJECT.git my-repository
This simple script will take a picture of a whiteboard and use parts of the ImageMagick library with sane defaults to clean it up tremendously.
The script is here:
#!/bin/bash
convert "$1" -morphology Convolve DoG:15,100,0 -negate -normalize -blur 0x1 -channel RBG -level 60%,91%,0.1 "$2"
Below is a collection of my favourite responses I gathered from Guardian engineers when asked the question: What have you learnt starting from scratch and building a mobile-first next generation web platform for the Guardian?
( Conversation started here, with @murtaugh and @zeldman. )
Ah man, I got Opinions™ on this. I ususally go with something like:
<aside>
<h1>Optional Heading</h1>
<blockquote>
<p>It is the unofficial force—the Baker Street irregulars.</p>
</blockquote>
@include handhelds { | |
table.responsive { | |
width: 100%; | |
thead { | |
display: none; | |
} | |
tr { | |
display: block; | |
} | |
td, th { |
//safeTransliterate v3, copyright (cc-by 3.0) Kroc Camen <camendesign.com> | |
//generate a safe (a-z0-9_) string, for use as filenames or URLs, from an arbitrary string | |
function safeTransliterate ($text) { | |
//if available, this function uses PHP5.4's transliterate, which is capable of converting arabic, hebrew, greek, | |
//chinese, japanese and more into ASCII! however, we use our manual (and crude) fallback *first* instead because | |
//we will take the liberty of transliterating some things into more readable ASCII-friendly forms, | |
//e.g. "100℃" > "100degc" instead of "100oc" | |
/* manual transliteration list: | |
-------------------------------------------------------------------------------------------------------------- */ |
/* ---------------------------------------------------------- */ | |
/* */ | |
/* A media query that captures: */ | |
/* */ | |
/* - Retina iOS devices */ | |
/* - Retina Macs running Safari */ | |
/* - High DPI Windows PCs running IE 8 and above */ | |
/* - Low DPI Windows PCs running IE, zoomed in */ | |
/* - Low DPI Windows PCs and Macs running Firefox, zoomed in */ | |
/* - Android hdpi devices and above */ |