Skip to content

Instantly share code, notes, and snippets.

### Keybase proof
I hereby claim:
* I am bby on github.
* I am tbertz (https://keybase.io/tbertz) on keybase.
* I have a public key ASAkxHDELTLZaowJW6dsDYkZVdt9c5t0Xgmjsf35GXU0eAo
To claim this, I am signing this object:
@bby
bby / designer.html
Last active August 29, 2015 14:23
designer
<link rel="import" href="../core-drawer-panel/core-drawer-panel.html">
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-animated-pages/core-animated-pages.html">
<link rel="import" href="../core-animated-pages/transitions/hero-transition.html">
<link rel="import" href="../core-animated-pages/transitions/cross-fade.html">
<link rel="import" href="../core-animated-pages/transitions/slide-down.html">
<link rel="import" href="../core-animated-pages/transitions/slide-up.html">
<link rel="import" href="../core-animated-pages/transitions/tile-cascade.html">
<polymer-element name="my-element">
@bby
bby / gist:770c96000167159fc54e
Created January 26, 2015 12:52
CCV Object Tracking
import numpy as np
import cv2
def run_main():
cap = cv2.VideoCapture('upabove.mp4')
# Read the first frame of the video
ret, frame = cap.read()
# Set the ROI (Region of Interest). Actually, this is a
@bby
bby / gist:9411512
Created March 7, 2014 13:31
bash completion for your bash_history
"\e[A": history-search-backward
"\e[B": history-search-forward
set show-all-if-ambiguous on
set completion-ignore-case on
# SETUP CONSTANTS
# Bunch-o-predefined colors. Makes reading code easier than escape sequences.
# I don't remember where I found this. o_O
# Reset
Color_Off="\[\033[0m\]" # Text Reset
# Regular Colors
Black="\[\033[0;30m\]" # Black
Red="\[\033[0;31m\]" # Red