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
/** | |
* Use this to help determine which images are being used | |
* at which breakpoint. Will print lots of useful information | |
* on shown resolution, actual resolution, DPR and more | |
* Usage: | |
* var elems = document.querySelectorAll('.c-hero-banner__background img') | |
* responsiveImageDebugOutput(elems); | |
* | |
* Author: Carl-Erik Kopseng | |
* Source: https://gist.github.com/fatso83/55fc446df3f3965ecd66e8307a5dc0e6 |
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
//Import ESCO using CSV files | |
create index ON :Occupation(ISCOGroup); | |
create index ON :Occupation(altLabels); | |
create index ON :Skill(altLabels); | |
create index ON :ISCOGroup(code); | |
create index ON :Skill(conceptUri); | |
create index ON :ISCOGroup(conceptUri); | |
create index ON :Occupation(conceptUri); | |
create index ON :Occupation(preferredLabel); | |
create index ON :Skill(preferredLabel); |
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 | |
#Updates a keystore with lets encrypt cross signatures | |
[ $# -eq 0 ] && { echo "Usage: $0 <path to keystore>" ; exit 1; } | |
KEYSTORE=$1 | |
wget https://letsencrypt.org/certs/isrgrootx1.pem | |
wget https://letsencrypt.org/certs/lets-encrypt-x3-cross-signed.der |