Homebrew Formula patching old ImageMagick release 6.9.7-4
$ brew install https://gist.githubusercontent.com/asanchez75/7c3cd4358fb982c4028bfc021424dfbc/raw/62eb3ce49d82b8a5c6033ecb89bdefbec9d00e84/imagemagick.rb
<VirtualHost *:80> | |
ProxyPreserveHost On | |
ServerName proxy-test.example.com | |
FilterDeclare MYFILTER | |
FilterProvider MYFILTER SUBSTITUTE resp=Content-Type $text/ | |
FilterProvider MYFILTER SUBSTITUTE resp=Content-Type $/xml | |
FilterProvider MYFILTER SUBSTITUTE resp=Content-Type $/json | |
FilterProvider MYFILTER SUBSTITUTE resp=Content-Type $/javascript | |
<Location /> | |
#disable gzip |
from rdflib.graph import ConjunctiveGraph as Graph | |
from rdflib.store import Store | |
from rdflib.plugin import get as plugin | |
from rdflib.term import URIRef | |
Virtuoso = plugin("Virtuoso", Store) | |
store = Virtuoso("DSN=VOS;UID=dba;PWD=dba;WideAsUTF16=Y") | |
default_graph_uri = "http://www.w3.org/People/Berners-Lee/card" | |
graph = Graph(store,identifier = URIRef(default_graph_uri)) |
version: '3' | |
services: | |
mssql-server-linux: | |
image: microsoft/mssql-server-linux:latest | |
volumes: | |
- mssql-server-linux-data:/var/opt/mssql/data | |
environment: | |
- ACCEPT_EULA=Y | |
- SA_PASSWORD=${SQLSERVER_SA_PASSWORD:-yourStrong(!)Password} |
Professor ID | Title | Author | |
---|---|---|---|
P01 | The pushcart war | Jean Merrill | |
P02 | The definite guide to Drupal 7 | Benjamin Melançon et al. | |
P03 | The five love languages | Gary Chapman |
<?php | |
class QueryDOMDocument extends \DOMDocument | |
{ | |
/** @var \DOMXPath */ | |
protected $xpath; | |
public function __construct() | |
{ | |
parent::__construct(); |
yago:Albert_Einstein yago:hasAcademicAdvisor yago:Alfred_Kleiner . |
from SPARQLWrapper import SPARQLWrapper, JSON, DIGEST | |
sparql = SPARQLWrapper("http://example.org/sparql") | |
# For Virtuoso, use BASIC, not DIGEST | |
sparql.setHTTPAuth('BASIC') | |
sparql.setCredentials('login', 'password') | |
sparql.setQuery("...") | |
sparql.setReturnFormat(JSON) |