I hereby claim:
- I am schliflo on github.
- I am schliflo (https://keybase.io/schliflo) on keybase.
- I have a public key whose fingerprint is C36A 9F08 F2F5 CED4 89DE 1ACB CDA7 3BCD 5A51 0303
To claim this, I am signing this object:
| __..-----') | |
| ,.--._ .-'_..--...-' | |
| '-"'. _/_ / ..--''""'-. | |
| _.--""...:._:(_ ..:"::. \ | |
| .-' ..::--""_(##)#)"':. \ \) \ _|_ / | |
| /_:-:'/ :__(##)##) ): ) '-./' '\.-' | |
| " / | :' :/""\///) /:.' --( )-- | |
| / :( :( :( (#//) " .-'\.___./'-. | |
| / :/|\ :\_:\ \#//\ / | \ |
| ##subroot bedrock/web ## | |
| client_max_body_size 256M; | |
| gzip on; | |
| gzip_http_version 1.1; | |
| gzip_vary on; | |
| gzip_comp_level 6; | |
| gzip_proxied any; | |
| gzip_types text/plain text/html text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript application/javascript text/x-js; |
| # Node | |
| npm-debug.log | |
| # Mac | |
| .DS_Store | |
| # Windows | |
| Thumbs.db | |
| # IntelliJ |
| # PROJECT SPECIFIC | |
| export DEPLOY_SERVER="SERVER_IP" | |
| export DEPLOY_USER="SSH_USER" | |
| export DEPLOY_PASS="SSH_PASS" | |
| export DEPLOY_DIR="DEPOY_PATH" | |
| export DEPLOY_PORT="22" | |
| export DEPLOY_VPN_USR="VPN_USR" | |
| export DEPLOY_VPN_PASS="VPN_PASS" | |
| export DEPLOY_VPN_URL="VPN_URL" | |
| # GENERAL |
| 'use strict'; | |
| /* | |
| This is a dependency free drop-in solution for smooth anchor scrolling. | |
| It was largely inspired by this answer: https://stackoverflow.com/questions/17722497/scroll-smoothly-to-specific-element-on-page#answer-39494245 | |
| Added support for changing documents and excluding anchors with .no-scroll class as well as browser history | |
| */ | |
| (function () { | |
| let anchors; |
| diff --git a/wp-content/sunrise.php b/wp-content/sunrise.php | |
| new file mode 100644 | |
| index 00000000..dcefbb0c | |
| --- /dev/null | |
| +++ b/wp-content/sunrise.php | |
| @@ -0,0 +1,37 @@ | |
| +<?php | |
| +if ( !defined( 'SUNRISE_LOADED' ) ) | |
| + define( 'SUNRISE_LOADED', 1 ); | |
| + |
| for DC in nyc1 nyc2 nyc3 ams2 ams3 sfo1 sfo2 sgp1 lon1 fra1 tor1 blr1; do echo "$DC: $(ping -i .1 -c 100 -q speedtest-$DC.digitalocean.com | awk -F/ '/^round|^rtt/{print $5}')"; done | sort -n -k2 |
| # /opt/docker-compose.yml | |
| --- | |
| version: '2' | |
| services: | |
| proxy: | |
| image: jwilder/nginx-proxy | |
| container_name: proxy | |
| ports: | |
| - "80:80" | |
| - "443:443" |
| const body = document.querySelector('body'); | |
| const imageBasePath = 'images/Photobox/'; | |
| const imageListFile = 'images.json'; | |
| const updateInterval = 1000; | |
| let lastUpdated = 0; | |
| let images = []; | |
| let imagesInDoc = []; | |
| function updateImageList(callback) { | |
| let request = new XMLHttpRequest(); |
I hereby claim:
To claim this, I am signing this object: