Skip to content

Instantly share code, notes, and snippets.

View jmhobbs's full-sized avatar

John Hobbs jmhobbs

View GitHub Profile
@jmhobbs
jmhobbs / README.md
Last active February 12, 2024 23:08
Font Subsetting for Velvetcache.org
@jmhobbs
jmhobbs / test.nim
Created November 1, 2020 06:18
A passing Nim unit test.
import unittest
suite "description for this stuff":
test "essential truths":
require(true)
@jmhobbs
jmhobbs / Dockerfile
Created December 27, 2018 22:02
Google Cloud Build Secret Environment Demo
FROM busybox
ARG THE_SECRET
RUN echo "::${THE_SECRET}::"
@jmhobbs
jmhobbs / keybase.md
Created May 25, 2018 20:36
Keybase Proof

Keybase proof

I hereby claim:

  • I am jmhobbs on github.
  • I am jmhobbs (https://keybase.io/jmhobbs) on keybase.
  • I have a public key whose fingerprint is 5616 12FF A10D 9D7A 7FFB 75F4 F79C 72E6 EDC7 0E38

To claim this, I am signing this object:

@jmhobbs
jmhobbs / Dockerfile
Last active September 8, 2017 18:46
HDC Kubernetes Demo
FROM scratch
ADD main /
EXPOSE 8080
CMD ["/main"]
FROM ubuntu:xenial
RUN apt-get update && \
apt-get install -yq software-properties-common python-software-properties && \
add-apt-repository ppa:mc3man/ffmpeg-test && \
apt-get update && \
apt-get install -yq ffmpeg-static
ADD stabilize.sh /opt/
@jmhobbs
jmhobbs / setup.sh
Created March 28, 2017 15:22
Transmission Server Setup (untested)
TRANSMISSION_RPC_PASSWORD="set something here"
add-apt-repository -y ppa:transmissionbt/ppa
apt-get -y update
apt-get install -qy nginx transmission-cli transmission-daemon
ufw status
ufw allow 22
ufw allow 443
ufw allow 1194
@jmhobbs
jmhobbs / README.md
Last active March 24, 2023 15:19
Create scrolling text gifs for Slack

Makes little scrolly text jiffs in Flywheel colors.

Prerequisites

  • imagemagick brew install imagemagick
  • gifsicle brew install gifsicle
  • Heartwell 1.2.otf font installed
  • u r on a mac

Usage

Keybase proof

I hereby claim:

  • I am jmhobbs on github.
  • I am jmhobbs (https://keybase.io/jmhobbs) on keybase.
  • I have a public key whose fingerprint is D8E5 99E7 D1FF 62B0 9FD6 016C 2580 C0BE 34EB 9490

To claim this, I am signing this object:

@jmhobbs
jmhobbs / post-commit
Last active December 19, 2016 04:36
git post commit hook to harvest active timer
#!/usr/local/bin/python
import requests
import subprocess
# Configure Your Info Here
DOMAIN = "https://YOU.harvestapp.com"
USERNAME = ""
PASSWORD = ""
# / End Config