Skip to content

Instantly share code, notes, and snippets.

@epiraces
epiraces / private_fork.md
Created June 6, 2020 02:44 — forked from 0xjac/private_fork.md
Create a private fork of a public repository

The repository for the assignment is public and Github does not allow the creation of private forks for public repositories.

The correct way of creating a private frok by duplicating the repo is documented here.

For this assignment the commands are:

  1. Create a bare clone of the repository. (This is temporary and will be removed so just do it wherever.)

git clone --bare git@github.com:usi-systems/easytrace.git

@epiraces
epiraces / .htaccess
Created March 21, 2018 01:38
Resize an image on the fly with PHP and cache it (like Drupal's ImageCache)
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([a-z]+)/([^/]*)$ resize.php?size=$1&file=$2

Keybase proof

I hereby claim:

  • I am epiraces on github.
  • I am epiraces (https://keybase.io/epiraces) on keybase.
  • I have a public key whose fingerprint is 5BD2 53DC BA27 985E 8F03 DE3A 2B23 3068 9779 70C9

To claim this, I am signing this object:

class GoProInterface(object):
"""
This is a sample API (written in Python) of how I envision
the calls to be made to the firmware.
Sample (Python) Usage:
>>> gpi = GoProInterface('~/gopro/videos/')
>>> gpi.start()
>>> gpi.stop()
/Users/sean/gopro/videos/0001.m4v
"""
This program interfaces with the GoPro camera and records footage for a
set amount period of time defined by the optional `--seconds` arg.
"""
import argparse
import time
import serial
parser = argparse.ArgumentParser(description='Captures video from GoPro for set number of seconds.')
parser.add_argument(
@epiraces
epiraces / hackshackerspresentation.txt
Created November 1, 2011 23:29 — forked from albertsun/hackshackerspresentation.txt
How We Made Our Maps Links
How We Made Our Maps
http://meetupnyc.hackshackers.com/events/37680122/
Presentation Links
http://censusmapmaker.com/draw/
http://redistrictinggame.org/launchgame.php?level=basic&mission=1
http://www.publicmapping.org/