Skip to content

Instantly share code, notes, and snippets.

View dullroar's full-sized avatar

Jim Lehmer dullroar

View GitHub Profile
@dullroar
dullroar / up.js
Created September 16, 2018 17:53
An "Up" bookmarklet for Firefox, so you don't have to trust an extension or add-in for this functionality
javascript:(function(){let u=new URL(document.location);if(u.hash){u.hash='';}else if(u.search){u.search='';}else{let p=u.pathname.split('/');let n=p.slice(1,p.length-1);u.pathname=n.join('/');}document.location=u.href})();
@dullroar
dullroar / clonethemes.sh
Created March 14, 2017 22:57
Simple(r) way to clone Hugo themes
#!/bin/bash
git clone --depth 1 --recursive https://github.com/djuelg/Shapez-Theme.git
git clone --depth 1 --recursive https://github.com/gcushen/hugo-academic.git
git clone --depth 1 --recursive https://github.com/sethmacleod/aerial.git
git clone --depth 1 --recursive https://github.com/comfusion/after-dark.git
git clone --depth 1 --recursive https://github.com/digitalcraftsman/hugo-agency-theme.git
git clone --depth 1 --recursive https://github.com/dim0627/hugo_theme_aglaus.git
git clone --depth 1 --recursive https://github.com/syui/hugo-theme-air.git
git clone --depth 1 --recursive https://github.com/brycematheson/allegiant.git
git clone --depth 1 --recursive https://github.com/pdevty/amp.git