Skip to content

Instantly share code, notes, and snippets.

Scott Helme ScottHelme

Block or report user

Report or block ScottHelme

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@ScottHelme
ScottHelme / report-uri-io.csv
Created Dec 12, 2018
Sites using the old .io domain for https://report-uri.com
View report-uri-io.csv
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
243 dailymail.co.uk
1013 superuser.com
1163 last.fm
1380 247sports.com
1920 elconfidencial.com
1950 lidl.de
2948 fivethirtyeight.com
4102 lidl-flyer.com
5398 99designs.com
5459 dailykos.com
View report-uri.csv
510 huffingtonpost.com
946 hotels.com
1200 abc.net.au
1671 britishcouncil.org
2377 variety.com
2699 planetromeo.com
3166 squareup.com
3253 indiewire.com
3270 deadline.com
3629 rollingstone.com
View key.asc
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v2.0.22 (MingW32)
mQINBFR2+BUBEACfI9VnBNX9vbbwTPr2WfWXfR7+oaox149q5/mCi6ycV963hIVG
OLuRWR4euu9xpVxGbbI7wFfiR9WnZg/05Kd08yaWZ8sswzY3jiW2RlEmyHF/a5B5
l2yx9W9jVCoSQ2mmSqt0z+DQH3jctSwE8r0hTMt0Q5Fgc9NW6SRFE/YhVEqcJMDi
FSd5xgHJ0hDoSffFHBGqr9AkRIQxkd39gJDKaUj5FHE2tQrcK3Hki/uqmCozgASh
e7mgsj3m9tH4KmdO969KBzNEHxMXby5qUGXDzK6fz6kTIAw/3tsoRpGLZEdPC5d+
ykDyivCmWsYxFqLniv+++I4W/HRX7OHyjgWYoL21uM5TnCMsFTYJVBl/MBfsGoGh
S4LrCirPdXMgv89NTBsnbR4WuHYPHn7R4hI1tnCixO8IOcyk+7bAOv4htAp3Y/L8
@ScottHelme
ScottHelme / disqus.html
Created Oct 20, 2016
An iframe to load Disqus comments in an AMP document.
View disqus.html
<div id="disqus_thread"></div>
<script>
window.addEventListener('message', receiveMessage, false);
function receiveMessage(event)
{
if (event.data) {
var msg;
try {
msg = JSON.parse(event.data);
} catch (err) {
@ScottHelme
ScottHelme / upgrade.sh
Created Oct 2, 2016
Upgrade Ghost to latest version.
View upgrade.sh
#!/bin/bash
# Written by Andy Boutte and David Balderston of howtoinstallghost.com, ghostforbeginners.com, allaboutghost.com
# updateghost_digitalocean.sh will update your current Digital Ocean Ghost install to the latest version without you losing any content
if [[ `whoami` != root ]]; then
echo "This script must be run as root."
exit 1
fi
# Make temporary directory and download latest Ghost.
View clear-cache.sh
#!/bin/bash
sudo find /home/nginx/ghostcache -type f -delete
@ScottHelme
ScottHelme / brotli-compress.sh
Created Oct 2, 2016
Compress all blog assets with Brotli.
View brotli-compress.sh
#!/bin/bash
for x in `find /var/www/ghost/content/themes/futura/assets/js/ -type f -iname '*.js'`
do
sudo /home/scott/nginx/brotli/bin/bro --input ${x} --output ${x}.br
sudo chown scott:ghost ${x}.br
sudo chmod 664 ${x}.br
done
for x in `find /var/www/ghost/content/themes/futura/assets/css/ -type f -iname '*.css'`
do
You can’t perform that action at this time.