Skip to content

Instantly share code, notes, and snippets.

View jesseskinner's full-sized avatar

Jesse Skinner jesseskinner

View GitHub Profile
@jesseskinner
jesseskinner / index.html
Created February 26, 2020 20:04
Basic JavaScript router
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Router</title>
</head>
<body>
<main></main>
#!/bin/bash
# usage: "newgit some/path"
newgit() {
### SETTINGS ###
# this is the root of all your git folders
local LOCAL_GIT_ROOT=~/web
# this is your ssh [user]@[host]