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
tzmartin / maker-workbench.md
Last active Dec 8, 2019
How To Build Your Own Maker Workbench
View maker-workbench.md

Maker Workbench

Archived from https://tinwhiskerz.com/2016/08/05/maker-workbench/

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
tzmartin / git-log.sh
Created Dec 8, 2018
Pretty git "railroad track" log report
View git-log.sh
git log --graph --pretty=\"format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset'\" --abbrev-commit --date=relative
View release-flow.md

Release Flow


git log                 engineers
  ↳ Engineering Notes     ↳ eng managers
    ↳ Release Notes         ↳ product manager
      ↳ Blog Post             ↳ solution managers
        ↳ $$$$                  ↳ customers
@tzmartin
tzmartin / main.go
Created Mar 17, 2018
Simple static server in go
View main.go
package main
import (
"fmt"
"log"
"net/http"
"os"
)
func printRecovery() {
@tzmartin
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 (
"encoding/json"
"fmt"
"io/ioutil"
"log"
"net/http"
"net/url"
"os"
@tzmartin
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 {
app,
Tray,
Menu,
BrowserWindow,
nativeImage
} = require('electron')
const icons = require('linux-icons')
let win
@tzmartin
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" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleExecutable</key>
<string>myapp</string>
<key>CFBundleIdentifier</key>
<string>com.pocketgophers.myapp</string>
<key>CFBundleURLTypes</key>
<array>
View popcornjs.demos.md

PopcornJS Demos

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

Slideshare+Youtube

A slideshare deck synchronized with a Youtube video

[demo]

@tzmartin
tzmartin / gitsubmodules.md
Last active Apr 26, 2017
Say NO to Git Submodules
View gitsubmodules.md

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

$ git remote add -f svbhack https://github.com/gfidente/pelican-svbhack.git
$ git merge -s ours --no-commit svbhack/master
$ git read-tree --prefix=themes/svbhack -u svbhack/master
$ echo "THEME = 'themes/svbhack'" > pelicanconf.py
$ git commit -m 'Import svbhack theme'
@tzmartin
tzmartin / ml-datasets.md
Last active Apr 11, 2017
Datasets for machine learning
View ml-datasets.md

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.