Skip to content

Instantly share code, notes, and snippets.

View Hossman333's full-sized avatar

Josh Robertson Hossman333

View GitHub Profile
View graphile_worker_test
const { run } = require("graphile-worker");
const { Pool } = require("pg");
const cluster = require("cluster");
async function main() {
const pool = new Pool({
user: "postgres",
password: "postgres",
host: "localhost",
database: "postgres",
View hoss tmux config
# PREFIX
unbind C-b
set -g prefix C-a
bind C-a send-prefix
# SPLIT PANES
bind 'j' split-window -v -c "#{pane_current_path}"
bind 'l' split-window -h -c "#{pane_current_path}"
# FUZZY SEARCH SESSIONS
View My Config
devServer: {
proxy: {
"/blah**": {
target: "http://localhost:3000/",
secure: false,
pathRewrite: { "^/blah": "" }
}
}
},