Skip to content

Instantly share code, notes, and snippets.

Avatar

Nate Finch natefinch

View GitHub Profile
View keybase-proof.md

Keybase proof

I hereby claim:

  • I am natefinch on github.
  • I am natefinch (https://keybase.io/natefinch) on keybase.
  • I have a public key ASBlPrpCMjpBHg1ew2-uHPFEGrPwEy6UKg-8ki1NVHvV2Qo

To claim this, I am signing this object:

View example-config.toml
[dependencies]
build = [
"python:3.6.3",
"heroku:latest",
"homebrew:latest",
]
runtime = [
"python:3.6.3",
"heroku:latest",
"homebrew:latest",
@natefinch
natefinch / .travis.yml
Created Feb 22, 2017
Minimal .travis.yml for go projects that use glide with private repos
View .travis.yml
language: go
go:
- 1.8
before_install:
- git config --global url."git@github.com:".insteadOf "https://github.com/"
- wget "https://github.com/Masterminds/glide/releases/download/v0.12.3/glide-v0.12.3-linux-amd64.tar.gz"
- mkdir -p $HOME/bin
- tar -vxz -C $HOME/bin --strip=1 -f glide-v0.12.3-linux-amd64.tar.gz
@natefinch
natefinch / gist:1a609cb96f4aa674f411faef638945e7
Created Feb 22, 2017
Minimal Glide + Private repo .travis.yaml
View gist:1a609cb96f4aa674f411faef638945e7
language: go
go:
- 1.8
before_install:
- git config --global url."git@github.com:".insteadOf "https://github.com/"
- wget "https://github.com/Masterminds/glide/releases/download/v0.12.3/glide-v0.12.3-linux-amd64.tar.gz"
- mkdir -p $HOME/bin
- tar -vxz -C $HOME/bin --strip=1 -f glide-v0.12.3-linux-amd64.tar.gz
@natefinch
natefinch / apple_notification.go
Created Feb 6, 2017
apple push notification go struct
View apple_notification.go
package notif
// Apple is a go-ification of the json struct for sending Apple Push
// Notifications, defined here:
// https://developer.apple.com/library/content/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/PayloadKeyReference.html#//apple_ref/doc/uid/TP40008194-CH17-SW1
type Apple struct {
// Include this key when you want the system to display a standard alert or
// a banner. The notification settings for your app on the user’s device
// determine whether an alert or banner is displayed.
Alert *AppleAlert `json:"alert,omitempty"`
View gist:e377eacd6b2316b2a884
#!/usr/bin/env python
from __future__ import print_function
__metaclass__ = type
from argparse import ArgumentParser
import os
import re
import subprocess
import sys
View keybase.md

Keybase proof

I hereby claim:

  • I am natefinch on github.
  • I am natefinch (https://keybase.io/natefinch) on keybase.
  • I have a public key whose fingerprint is 1688 3194 15AE B81E 4CC6 5B6C E636 71EC 3CE8 A736

To claim this, I am signing this object:

You can’t perform that action at this time.