Skip to content

Instantly share code, notes, and snippets.


Jeremy Iglehart JeremyIglehart

View GitHub Profile
JeremyIglehart / config
Created Jul 18, 2019
.ssh/config for SSH Multiplexing
View config
Host *
ControlMaster auto
ControlPath ~/.ssh/master-%r@%h:%p.socket
TCPKeepAlive no
JeremyIglehart /
Last active Jul 6, 2020
How to create a new user and remove the `pi` user on a Raspberry Pi

How to create a new user and remove the pi user on a Raspberry Pi

Note: This has been tested in Rasbian Buster released on 2019-06-20

Important: replace jeremy below with whatever username you'd like as your new user.

  1. sudo adduser jeremy
    • You will be asked to enter a password
    • When filling out basic information about the user, you may leave it blank
JeremyIglehart /
Created Nov 6, 2018 — forked from alexellis/
K8s on Raspbian

Kubernetes on (vanilla) Raspbian Lite

Yes - you can create a Kubernetes cluster with Raspberry Pis with the default operating system called Raspbian. This means you can carry on using all the tools and packages you're used to with the officially-supported OS.

This is part of a blog post Serverless Kubernetes home-lab with your Raspberry Pis written by Alex Ellis.

Copyright disclaimer: Please provide a link to the post and give attribution to the author if you plan to use this content in your own materials.


# bash generate random alphanumeric string
# bash generate random 32 character alphanumeric string (upper and lowercase) and
NEW_UUID=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1)
# bash generate random 32 character alphanumeric string (lowercase only)
cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1
JeremyIglehart /
Created Oct 10, 2018 — forked from deviantony/
Install latest version of Docker Compose
# get latest docker compose released tag
COMPOSE_VERSION=$(curl -s | jq -r '.tag_name')
# Install docker-compose
sh -c "curl -L${COMPOSE_VERSION}/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose"
chmod +x /usr/local/bin/docker-compose
sh -c "curl -L${COMPOSE_VERSION}/contrib/completion/bash/docker-compose > /etc/bash_completion.d/docker-compose"
JeremyIglehart / Endure to the
Last active Oct 3, 2016
Family Home Evening Lesson Plan - How to Endure to the End
View Endure to the

How to endure to the end

The word endure often leads to a miserable line of thought. From the thesaurus we fine: "undergo", "cope with", "deal with", "face", "suffer", "tolerate", "put up with", "brave", "bear", "withstand", "sustain", "weather" and then in a slightly more upbeat tone, but still kind of dismal we can continue in that same way to find "go through", "live through" and "experience".

When I first think about enduring to the end and try to think about it in an upbeat practical way the first thought that comes to mind has to do with training for an endurance sport. Like, doing an Ironman marathon. But, I mean... come on, look at me... This thought creates all kinds of other feelings inside.

We have to try a little harder than that to find a better meaning to attach to this idea of Enduring to the end. If we stop at the surface level, I think that most of us would tend to think "That's too hard" and turn to an easier path. It is mankind's tendency after-all to follow the path of least res

JeremyIglehart /
Created Sep 21, 2016
maxOS Sierra Taking Forever to Install

Installing macOS Sierra Taking Forever?

I downloaded the Sierra installer at 1:30pm today (Before it was even on the "Front" page of the App Store). I noticed today while installing it is says that it should take "6 Minutes" to install, but it's been... I dunno, longer than 20 by now. It still says About 4 minutes remaining. The progress bar marches forward in chunks. Maybe it's because I'm using a MicroSDHC Card (40mb/s) in the Apple Card Reader slot through an adapter.

I dunno - Anyone else have thoughts on this?

JeremyIglehart /
Created Aug 31, 2016
Setting Meteor Session from the "Server" - or really?

This is probably bad design, Don't do this in real life.

I'm writing this gist in response to a comment on

I guess it's working... I wonder what is actually happening on the server side of things :X

Heh, oh well.

Thanks for the pointers aadams


iTunes vs Spotify

A few months ago I switched from Spotify Premium to iTunes' Music Membership service. I switched because they were offering it for free for three months.

Since I've switched, I have to say I really really miss Spotify.

Here is a list of my observations

What Apple Does Wrong:

JeremyIglehart / React Countdown Componant Performance
Last active Aug 18, 2016
React Countdown Component Performance Study
View React Countdown Componant Performance

Hello Fellow React Peoples,

I finally finished my basic <Countdown /> componant. You use it like this:

<CountdownTimer start={someJSDate} end={someOtherJSDate} />

Here's the code for the component:

No Throttle:

You can’t perform that action at this time.