- danbri edit to try using http://schema.org/docs/tree.jsonld instead of http://wafi.iit.cnr.it/webvis/tmp/schema.org.json
- see http://bl.ocks.org/danbri/1c121ea8bd2189cf411c
- based on http://bl.ocks.org/fabiovalse/63fba792a7922d03243a
- this version uses schema.org draft site, sdo-phobos and includes extensions
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
#!/bin/bash | |
echo "apt-get update & upgrade wizard" | |
echo "Would you like to assume yes? [y/n]" | |
read input_force | |
if [ $input_force = y ] | |
then | |
force="--yes" | |
fi |
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
#!/bin/bash | |
echo "apt-get update & upgrade wizard" | |
echo "Would you like to assume yes? [y/n]" | |
read input_force | |
if [ $input_force = y ] | |
then | |
force="--yes" | |
fi |
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
# http://stackoverflow.com/questions/1947430/git-remove-directory | |
# Remove from cache | |
git rm -r -f --cached DIR_NAME | |
# Then add DIR_NAME to .gitignore | |
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
for ($i = 1; $i <= 100; $i++) { | |
if ($i % 3 == 0) { | |
echo "Fizz"; | |
} | |
elseif ($i % 5 == 0) { | |
echo "Buzz"; | |
} | |
else { | |
echo $i; | |
} |
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
#!/bin/bash | |
# From: https://forums.plex.tv/discussion/comment/1059738/#Comment_1059738 | |
wget -q -O- https://plex.tv/downloads/1/archive | grep "downloads.plex.tv.*amd64.deb" | head -1 | sed -e "s/.*https/https/" -e "s/amd64.deb.*/amd64.deb/" | xargs wget -q -nc; ls -t *amd64.deb | head -1 | xargs dpkg -i -E |
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
license: gpl-3.0 |
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
# Wikidata Query Service at: | |
# https://query.wikidata.org/ | |
#defaultView:Graph | |
SELECT ?place ?placeLabel ?location ?style ?styleLabel ?instanceLabel | |
# SELECT ?style ?styleLabel (count(*) as ?count) | |
WHERE { | |
wd:Q84 wdt:P625 ?loc . # Geo-coords of Newcastle upon Tyne: Q1425428; London:Q84 | |
SERVICE wikibase:around { |
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
{ | |
"intents": [ | |
{ | |
"intent": "MediaPlayIntent", | |
"slots": [] | |
}, | |
{ | |
"intent": "MediaPauseIntent", | |
"slots": [] | |
}, |
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
*/5 * * * * ~/sync.sh >> ~/sync.log 2>&1 |