Skip to content

Instantly share code, notes, and snippets.

Avatar

Jesse Skinner jesseskinner

View GitHub Profile
@jesseskinner
jesseskinner / index.html
Created Feb 26, 2020
Basic JavaScript router
View index.html
<!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>
View .bash_newgit
#!/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]