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
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
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' |
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
// fn: () => Promise<Boolean> | |
const poll = (fn, interval = 100, maxWait = 60000) => { | |
const start = Date.now(); | |
let last = 0; | |
return new Promise((resolve, reject) => { | |
const _poll = () => { | |
const now = Date.now(); | |
console.log(start, last, now, interval); | |
if (now > start + maxWait) { |
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
const _ = require('lodash'); | |
const isDev = process.env.NODE_ENV !== 'production' | |
const APP_PATH = ''; | |
const BUILD_PATH = ''; | |
const config = { | |
// Fail early | |
bail: true, |
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
NAME='' | |
rails new $NAME \ | |
--api \ | |
--database=postgresql \ | |
--skip-action-cable | |
cd $NAME | |
rm -rf \ |
NewerOlder