Skip to content

Instantly share code, notes, and snippets.

View johnteske's full-sized avatar

John Teske johnteske

View GitHub Profile
@johnteske
johnteske / resume.json
Last active October 25, 2023 02:03
resume.json
{
"basics": {
"name": "John Teske",
"label": "Full-stack Software Engineer",
"email": "john@johnteske.net",
"location": {
"city": "Seattle",
"countryCode": "US",
"region": "Washington"
},
@johnteske
johnteske / check-default-branch.sh
Last active June 28, 2020 02:11
Check all repos for default branches named "master"
# requires gh and jq
gh api user/repos | jq -r '.[] | select(.default_branch == "master") | .full_name'
@johnteske
johnteske / index.html
Created January 5, 2017 18:49
Liquid number format with commas
{% include numberWithCommas.html number=1 %}
{% include numberWithCommas.html number=12 %}
{% include numberWithCommas.html number=123 %}
{% include numberWithCommas.html number=1234 %}
{% include numberWithCommas.html number=12345 %}
{% include numberWithCommas.html number=123456 %}
{% include numberWithCommas.html number=1234567 %}
{% include numberWithCommas.html number=12345678 %}
{% include numberWithCommas.html number=123456789 %}
{% include numberWithCommas.html number=1234567890 %}