This file contains hidden or 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
| -----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 |
This file contains hidden or 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
| alert(1234); |
This file contains hidden or 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
| alert(123); |
This file contains hidden or 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
| <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) { |
This file contains hidden or 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 | |
| # 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. |
This file contains hidden or 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 | |
| sudo find /home/nginx/ghostcache -type f -delete |
This file contains hidden or 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 | |
| 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 |
This file contains hidden or 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
| /var/www/ghost/core/server/apps/amp/lib/helpers/amp_content.js | |
| // make relative URLs abolute | |
| html = makeAbsoluteUrl(html, config.url, post.url).html(); | |
| html = html.replace("https://scotthelme.co.uk/content/images/", "https://cdn.ampproject.org/i/s/scotthelme.co.uk/content/images/"); | |
| /var/www/ghost/core/server/data/meta/amp_url.js | |
| if (_.includes(context, 'post') && !_.includes(context, 'amp')) { | |
| var cacheUrl = config.urlJoin(config.getBaseUrl(false), getUrl(data, false)) + 'amp/'; |
This file contains hidden or 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
| #!/usr/bin/env python | |
| # coding=utf-8 | |
| # | |
| # Converts netxml files from Kismet Newcore into KML or KMZ files for Google Earth | |
| # | |
| # Author: Patrick Salecker | |
| # URL: http://www.salecker.org/software/netxml2kml/en | |
| # Last modified: 13.06.2011 | |
| import os |