Source address | Target address | Type | Country code |
---|---|---|---|
https://tatethurston.com | https://www.tatethurston.com | 301 (Redirect - Permanent) | - |
/<a>/ |
/<a> |
301 (Redirect - Permanent) | - |
/<a>/<b>/ |
/<a>/<b> |
301 (Redirect - Permanent) | - |
/<a>/<b>/<c>/ |
/<a>/<b>/<c> |
301 (Redirect - Permanent) | - |
/<\*> |
/404 |
404 (Rewrite) | - |
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 $ from 'jquery'; | |
import uuidv4 from 'uuid/v4'; | |
const wait = ms => $.Deferred(defer => setTimeout(defer.resolve, ms)); | |
const request = (opts, numTries = 0) => { | |
/* | |
* Retry failed requests 2 additional times with exponential backoff | |
*/ | |
const RETRY_COUNT = 2; |
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
tsc --noEmit | grep -o 'src/[^\(]*' |
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
module.exports = { | |
root: true, | |
parser: "@typescript-eslint/parser", | |
parserOptions: { | |
project: "./tsconfig.json", | |
}, | |
plugins: ["@typescript-eslint"], | |
extends: [ | |
"eslint:recommended", | |
"plugin:@typescript-eslint/recommended", |
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 BaseHTTPServer | |
from SimpleHTTPServer import SimpleHTTPRequestHandler | |
import sys | |
import base64 | |
key = "" | |
class AuthHandler(SimpleHTTPRequestHandler): | |
''' Main class to present webpages and authentication. ''' | |
def do_HEAD(self): |
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 * as throng from 'throng'; | |
const { WEB_CONCURRENCY = 1, PORT = "" } = process.env; | |
const start = async (id: number) => { | |
/* | |
* This could be imported statically at the top, but then the master process | |
* could be crashed. | |
*/ | |
const server = require('./server').default; |
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
#!/usr/bin/env bash | |
set -euo pipefail | |
IFS=$'\n\t' | |
post_slack() { | |
SLACK_URL="TODO:_FILL_ME_IN" | |
curl -X POST \ | |
-H "Content-Type: application/json" \ | |
-d "{\"text\": \"$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
module.exports = { | |
"extends": "eslint:recommended", | |
"env": { | |
"node": true, | |
"mocha": true, | |
"es6": true | |
}, | |
"parserOptions": { | |
"ecmaVersion": 8 | |
}, |
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: You'll need to follow the steps outlined in aws-config.js.example | |
* before running this deploy script for the first time | |
*/ | |
// https://github.com/andrewrk/node-s3-client | |
const s3 = require('s3'); | |
const DIRECTORY = 'dist'; |
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
version: '3' | |
services: | |
db: | |
image: postgres | |
# ports: | |
# - "5432:5432" | |
web: | |
image: ruby:2.3-onbuild | |
command: bundle exec rails s -p 5000 -b '0.0.0.0' |
NewerOlder