Skip to content

Instantly share code, notes, and snippets.

View Packetslave's full-sized avatar

Brian Landers Packetslave

View GitHub Profile
@Packetslave
Packetslave / bitwise.py
Last active December 29, 2015 18:39
Bitwise operations in Python
import unittest
def lsb(i):
"""Return the position of the first (lowest) bit that's set."""
if not i:
return 0
count = 1
while i:
@Packetslave
Packetslave / keybase.md
Created September 9, 2016 22:34
keybase.md

Keybase proof

I hereby claim:

  • I am packetslave on github.
  • I am packetslave (https://keybase.io/packetslave) on keybase.
  • I have a public key ASBUxsCLanw20_RHLNawrDAjLGho4LLQpnJwfJ6k3jL6aAo

To claim this, I am signing this object: