Skip to content

Instantly share code, notes, and snippets.

View keybase.md

Keybase proof

I hereby claim:

  • I am tomtwo on github.
  • I am tomtwo (https://keybase.io/tomtwo) on keybase.
  • I have a public key whose fingerprint is 0E73 F72A F738 F0F7 0945 B264 5572 5630 3908 6B1D

To claim this, I am signing this object:

@tomtwo
tomtwo / imageDirective.html
Created Mar 13, 2015
Angular Directive: Access images generated with ng-repeat from parent directive once all have loaded
View imageDirective.html
<div>
<div ng-repeat="image in images" style="display: inline;">
<img image-directive-item ng-src="{{image.url}}" data-index="{{$index}}" />
</div>
</div>
@tomtwo
tomtwo / genstats.py
Created Oct 24, 2013
Process output from TOSSIM
View genstats.py
#! /usr/bin/python
import sys
from array import array
# Possible input lines:
#
# Creating noise model for X
# Creating node X to boot at Y
# DEBUG (X): RadioCountToLedsC: timer fired, counter is Y.
# DEBUG (X): RadioCountToLedsC: packet sent.
You can’t perform that action at this time.