Island | Google Maps URL |
---|---|
Gough Island | https://www.google.co.uk/maps/@-40.3290457,-9.9398705,22459m/data=!3m1!1e3 |
Nightingale Islands | https://www.google.co.uk/maps/@-37.4177958,-12.4759115,5337m/data=!3m1!1e3 |
Inaccessible Island | https://www.google.co.uk/maps/@-37.3057282,-12.6724887,11267m/data=!3m1!1e3 |
Tristan da Cunha | https://www.google.co.uk/maps/@-37.113664,-12.2958096,19145m/data=!3m1!1e3 |
Saint Helena | https://www.google.co.uk/maps/@-15.9723374,-5.6969458,37533m/data=!3m1!1e3 |
Ascension Island | https://www.google.co.uk/maps/@-7.9627636,-14.2858103,37523m/data=!3m1 |
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 | |
if [[ $# -lt 1 ]]; | |
then echo "You need to pass a url!" | |
echo "Usage:" | |
echo "$0 {url}" | |
exit | |
fi | |
URL=$1 |
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
PREFIX vCard: <http://www.w3.org/2001/vcard-rdf/3.0#> | |
SELECT ?lastName ?firstName | |
FROM <http://jena.apache.org/tutorials/sparql_data/vc-db-1.rdf> | |
WHERE { | |
?x vCard:Family ?lastName . | |
?x vCard:Given ?firstName . | |
?x vCard:Family "Jones" | |
} |
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 | |
mkdir -p ~/.pulse | |
cp /etc/pulse/default.pa ~/.pulse/default.pa | |
sed -i '' 's/load-module module-udev-detect/load-module module-udev-detect tsched=0/g' ~/.pulse/default.pa | |
sudo -c 'echo <<EOF | |
[General] | |
Enable=Gateway,Source |
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
package sample.animals; | |
import java.lang.IllegalArgumentException; | |
import java.lang.String; | |
public class Animal { | |
private String _name; | |
private int _legs; | |
public Animal(String name, int legs) { |
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
/* Note that decimals can be passed but will be truncated to integer values */ | |
SELECT REPEAT('█', 7) AS 'Percent' | |
UNION ALL | |
SELECT REPEAT('█', 7.5) | |
UNION ALL | |
SELECT REPEAT('█', 5) | |
UNION ALL | |
SELECT REPEAT('█', 15) |
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/sh | |
BRANCH="3.0" | |
RELEASE="wine-3.0-rc4" | |
CORECOUNT=`grep -c ^processor /proc/cpuinfo` | |
if [ ! -e "${RELEASE}.tar.xz" ]; then | |
wget "https://dl.winehq.org/wine/source/${BRANCH}/${RELEASE}.tar.xz" | |
else | |
echo "release '${RELEASE}' package already exists" |
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
(function(){ | |
function setAllMediaPlaybackSpeed(speed) { | |
[].slice.call(document.querySelectorAll('audio,video')).map( function(e, idx) { | |
e.playbackRate = speed; | |
}); | |
} | |
var userRequestedRate = parseFloat(prompt("What playback rate would you like?"),10); | |
if(!isNaN(userRequestedRate)) { | |
setAllMediaPlaybackSpeed(userRequestedRate); | |
} |
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
[].slice.call(document.querySelectorAll('.ad-blocker-custom-blur')).map(function(elem,idx){ | |
elem.className = ''; | |
}); |
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 | |
PATH_TO_PROCESS="./" | |
if [ $# -ge 1 ]; then | |
PATH_TO_PROCESS=${1} | |
fi | |
JPEG_QUALITY=80 | |
if [ $# -ge 2 ]; then | |
JPEG_QUALITY=${2} |