News
Creating Your Own Homebrew Tap
Jan 4, 2021
Trying to create my own homebrew tap, but getting 'Cannot run gpg: No such file or directory'
Hugo isn't rendering my urls, it is printing ZgotmplZ, how can I fix this?
Jun 21, 2020
My urls in hugo are not rendering, I see ZgotmplZ
First-2020
Jan 1, 2020
First post of 2020, a recap and some things to get to...
Sign your git Commits
Oct 25, 2019
You want that green Verified tag next to all your commits, don't you?
Hugo Publishdate Defaults to Date
Jan 3, 2019
Updated Go Build Lightning Talk
Jan 2, 2019
Changed my mind, use gomod, and use Athens go proxy.
Bootstrap a New Vue Project, and some other tips for 2019
Jan 1, 2019
Adding a Scream Emoji to Go
Nov 19, 2018
Timer and Notification on OSX
May 6, 2018
Geolocation with cdns
May 21, 2017
Cloudfront in front of s3 redirect resulting in 403
May 21, 2017
Cloudfront in front of s3 redirect resulting in 403
Gcloud without ssl?
Jun 30, 2016
PWA summit 2016 said 'https is the blaze' but you can't host a cloud storage site with ssl...
Rust cross compile for raspberry pi
Apr 28, 2016
Found a good primer on cross compiling rust...
Format seconds to time with milliseconds in python
Mar 5, 2016
For generating subtitle files, I need to format time in a strange way. This works for me, and probably isn't the most efficient way to do it, but it gets the job done.
Docker without sudo
Jan 23, 2016
Tired of typing sudo before docker? Here you go. Add yourself to the docker group.
Projects
Hugo Empty Bootstrap Template
Jan 27, 2023
Find it at https://github.com/streamingrat/hugo-empty-bootstrap
A bootstrap template to quickly start a hugo website.
Septa golang library and command
Dec 24, 2020
Find it at https://github.com/dherbst/septa
A golang library for the septa api, and a command line tool to see the train status.
Starter for an AppEngine go service
Jun 30, 2016
Find it at https://github.com/dherbst/go-appengine-service-starter
Let's say you do a lot of backend work, and you want to start a backend service that has a version endpoint and is hosted on Google AppEngine, well, you can easily start by cloning this project...
slack invite script
Nov 1, 2015
Find it at https://github.com/dherbst/slack-invite-script
I created a project so that you can easily put a google form onto your website and then add a Google Apps Script that will connect with slack and send out invites automatically to your slack team.
Get Google Oauth2 JWT Token
Oct 6, 2015
Find it at https://github.com/dherbst/go-get-google-oauth2-jwt
If you want to automate Google AppEngine deployment you will need to find a way to get an OAuth2 access token so you can have jenkins or any script automatically deploy the project. You could use your own token, but if your account is disabled later after you leave the company then everything breaks. Instead you can add a service account to your cloud project, and use its token with this project.