Skip to content

Instantly share code, notes, and snippets.

👁 ❤️ open source software …

Michael Hulse mhulse

👁 ❤️ open source software …
  • Concentric Sky, Inc.
  • Eugene, Oregon
View GitHub Profile
View icon_state_incomplete.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View gist:644c80f1c273f2e7e96a475b7b6aca5b
1 = 1-4 hours, a day or less, low complexity
2 = 1ish days, a day or so, medium complexity
4 = several days, 1/4 of a 3-week sprint, (maybe a meeting or two)
8 = the whole sprint, (and should likely be vetted to see if it can be broken up into two 4s, etc. break it down! potential blockers, meetings)
In general, there should be 16 points total for a developer, with 8-10 points for feature work (in a 1.5 week dev portion of the sprint).
mhulse / .bash_profile
Created Nov 24, 2019
Dot files stuffs, putting here as I’m trying to switch to oh-my-zsh (
View .bash_profile
#!/usr/bin/env bash
while [ -h "$SOURCE" ]; do # resolve $SOURCE until the file is no longer a symlink
DIR="$(cd -P "$(dirname "$SOURCE")" >/dev/null 2>&1 && pwd)"
SOURCE="$(readlink "$SOURCE")"
[[ $SOURCE != /* ]] && SOURCE="$DIR/$SOURCE" # if $SOURCE was a relative symlink, we need to resolve it relative to the path where the symlink file was located
DOTFIZZLES="$(cd -P "$( dirname "$SOURCE" )" >/dev/null 2>&1 && pwd)"
mhulse /
Last active Mar 23, 2019
Image Magick command to convert images to the images average color and print file name in center of image
magick mogrify \
-colors 1 \
-shave 1x1 \
-bordercolor black \
-border 1 \
-pointsize 48 \
-fill black \
-gravity center \
-annotate +0+0 "%[f]" \
mhulse / css.css
Created Jan 29, 2019
Slick Carousel CSS/JS; putting here for posterity’s sake
View css.css
.ap_library {
position: relative;
.ap_library > :first-child {
margin-top: 0;
.ap_library > :last-child {
margin-bottom: 0;
.ap_library {
mhulse /
Last active Jan 11, 2019
Simple script to transfer multiple repos from Bitbucket to GitHub (or vice versa). Inspired by
#!/usr/bin/env bash
# This script assumes you have your ssh keys setup for Bitbucket and GitHub.
# It also assumes you have created the repos on GitHub already and the URL slugs are an exact match.
# Also, this script will barf if you try to transfer an empty repo.
# Note that this code does not transfer wikis, downloads or issues.
# Also note, you may have to turn on QOS upload speed limiting so your router
# doesn’t freak out; I limited my upload bandwidth to 2Mbps.
# Don’t forget to `chmod u+x <this file>.sh` in order to execute it via `./<this file>.sh`.
mhulse / data.css
Last active Aug 1, 2018
CSS from picard, data, other themes
View data.css
/*! Data v0.1.0 | Apache License, Version 2.0 | */
/* */
/*! normalize.css v3.0.1 | MIT License | */
html {
font-family: sans-serif;
-ms-text-size-adjust: 100%;
View avr_links.css
mhulse / accordionism.css
Last active Feb 5, 2017
Accordion css and javascript using checkboxes and radio options.
View accordionism.css
/* Bare minimum styling to get ball rolling: */
.accordionism > div > input[type="radio"],
.accordionism > div > input[type="checkbox"] { display: none; }
.accordionism > div > label {
position: relative;
display: block;
cursor: pointer;
cursor: hand;
.accordionism > div > label:after {
View 1. before.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.