Skip to content

Instantly share code, notes, and snippets.

View zigmoo's full-sized avatar

Jason Ziegler zigmoo

  • Memphis, Tennessee USA
  • 23:10 (UTC -05:00)
View GitHub Profile
@michaelBenin
michaelBenin / gist:4c068e050879dba4c19357be0f5dbd46
Created January 20, 2020 16:29
How to get Titan Key working on Ubuntu 16.04
# Found originally on: https://forum.mxlinux.org/viewtopic.php?t=53180
sudo apt update
sudo apt install libu2f-host0
sudo -v; wget https://github.com/Yubico/libu2f-host/raw/master/70-u2f.rules -O- | sudo tee /etc/udev/rules.d/70-yubico-u2f.rules
sudo udevadm control --reload-rules
sudo udevadm trigger
@michaelBenin
michaelBenin / gist:9181847
Created February 24, 2014 04:10
Python script to install Java, NodeJS, Ruby, Redis, NGINX, gem and npm packages, and git configuration
#!/usr/bin/env python
'''
This file is meant to setup your environment on AWS ec2 instance from a sample
config.json file.
'''
import os
import apt
import sys
@dhcole
dhcole / form.js
Created November 3, 2012 19:31
Submit data from html form to Google Doc Spreadsheet. Uses Bootstrap components for auto-complete region list and date selection.
$(function(){
var formUrl = '/* ex: https://docs.google.com/a/developmentseed.org/spreadsheet/formResponse?formkey=... */';
// Set up map
var m = mapbox.map('map').addLayer(mapbox.layer().id(' /* mapbox-account.id */ '));
// Set up map ui features with point selector
var ui = mapbox.ui().map(m).auto().pointselector(function(d) {
// Remove all points except the most recent