Skip to content

Instantly share code, notes, and snippets.

tzmartin tzmartin

Block or report user

Report or block tzmartin

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
tzmartin /
Last active Dec 8, 2019
How To Build Your Own Maker Workbench

Maker Workbench

Archived from

AUGUST 5, 2016

It can be tough working on a maker project if you don’t have a good space to work. Many times my electronics work surface was an ESD mat on the dining room table, but as my projects grew and my family grew I was under increasing pressure to find somewhere else to work. (Really it was the 3D printer that put my wife over the edge — rightfully so). I also didn’t want to have my electronics out in the garage which is my woodworking shop and full of saw dust.

The task of finding a decent place to work on electronics was more of a challenge than I expected. Lots of folks who left the dining room table seem to work on card tables or random repurposed Ikea tables and benches or purchase very expensive commercial electronics benches that are out of the range of most folks working part time as a maker. I knew there must be something in the middle that could be

tzmartin /
Created Dec 8, 2018
Pretty git "railroad track" log report
git log --graph --pretty=\"format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset'\" --abbrev-commit --date=relative

Release Flow

git log                 engineers
  ↳ Engineering Notes     ↳ eng managers
    ↳ Release Notes         ↳ product manager
      ↳ Blog Post             ↳ solution managers
        ↳ $$$$                  ↳ customers
tzmartin / main.go
Created Mar 17, 2018
Simple static server in go
View main.go
package main
import (
func printRecovery() {
tzmartin / uploader.go
Created Sep 21, 2017 — forked from TheGU/uploader.go
Golang to upload file to google drive with progress bar using Google API
View uploader.go
package main
import (
tzmartin / index.js
Created Sep 19, 2017
This repository contains two examples of how to use linux-icons with Electron for tray icons. Source: linux-icons-electron-example
View index.js
const {
} = require('electron')
const icons = require('linux-icons')
let win
tzmartin / Info.plist
Created Jun 24, 2017 — forked from nathankerr/Info.plist
Registering a Go app as a protocol handler under Mac OS X
View Info.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "">
<plist version="1.0">

PopcornJS Demos

Mozilla no longer maintains PopcornJS and the demos are no longer on the site. Here are the previously listed demos for posterity:


A slideshare deck synchronized with a Youtube video


tzmartin /
Last active Apr 26, 2017
Say NO to Git Submodules

I really don't like submodules in Git. There's a much better way:

$ git remote add -f svbhack
$ git merge -s ours --no-commit svbhack/master
$ git read-tree --prefix=themes/svbhack -u svbhack/master
$ echo "THEME = 'themes/svbhack'" >
$ git commit -m 'Import svbhack theme'
tzmartin /
Last active Apr 11, 2017
Datasets for machine learning

Image datasets

Dataset Training Set Size Testing Set Size Number of Classes Comments
Flowers 2500 2500 5 Various sizes (source: Flickr)
Cifar10 60k 10k 10 32x32 color
MNIST 60k 10k 10 28x28 gray
ImageNet 1.2M 50k 1000 Various sizes
MSCOCO 80k 40k 80 Various sizes
You can’t perform that action at this time.