Skip to content

Instantly share code, notes, and snippets.

tomtwo

  • UK
Block or report user

Report or block tomtwo

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
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 / 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.
@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>
You can’t perform that action at this time.