Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am zivagolee on github.
  • I am zivagolee (https://keybase.io/zivagolee) on keybase.
  • I have a public key whose fingerprint is A658 9B9E 4F7D BCE8 FFF2 A471 1F42 34BB 965F 7D99

To claim this, I am signing this object:

@zivagolee
zivagolee / gist:f0b0ddd7b9c91e0f6ade729eedd67240
Created March 29, 2018 22:44
Extract GoPro metadata (specifically geodata)
https://github.com/stilldavid/gopro-utils
$ brew install ffmpeg
$ brew install go
$ brew install jq
$ go get github.com/stilldavid/gopro-utils/bin/gopro2json/gopro2json.go
$ go get github.com/stilldavid/gopro-utils/bin/gopro2gpx/gopro2gpx.go
$ ffprobe GOPR0001.MP4
@zivagolee
zivagolee / curl.md
Created May 11, 2017 00:29 — forked from subfuzion/curl.md
curl POST examples

Common Options

-#, --progress-bar Make curl display a simple progress bar instead of the more informational standard meter.

-b, --cookie <name=data> Supply cookie with request. If no =, then specifies the cookie file to use (see -c).

-c, --cookie-jar <file name> File to save response cookies to.

@zivagolee
zivagolee / elb.py
Created July 31, 2014 22:30 — forked from philfreo/elb.py
#!/usr/bin/env python
import time
import boto
import boto.ec2.elb
import boto.utils
from flask.ext.script import Manager
from closeio.main import setup_app
require 'rubygems'
require 'mechanize'
FIRST_NAME = 'FIRST_NAME'
LAST_NAME = 'LAST_NAME'
PHONE = 'PHONE'
EMAIL = 'EMAIL@provider.com'
PARTY_SIZE = 2
SCHEDULE_RANGE = { :start_time => '19:00', :end_time => '20:30' }