I hereby claim:
- I am phubbard on github.
- I am pfhubbard (https://keybase.io/pfhubbard) on keybase.
- I have a public key whose fingerprint is F329 D988 91D1 0238 4BAE 1A24 7491 C26C 24B2 CA22
To claim this, I am signing this object:
| Code: | |
| """ | |
| This module defines a library for accessing the functionality of the | |
| Logitech Litra Glow | |
| """ | |
| if __name__ == '__main__': | |
| for x in range(2700, 6600, 100): | |
| byte_array = x.to_bytes(2, 'big') | |
| # print(f'{x=}', 0x02, [0x11, 0xff, 0x04, 0x9c, byte_array[0], byte_array[1], 0x00, 0x00, |
I hereby claim:
To claim this, I am signing this object:
| ic-live.com | |
| hearstmags.com | |
| buzzfeed.com | |
| tynt.com | |
| nrelate.com | |
| omtrdc.net | |
| revsci.net | |
| raasnet.com | |
| adtechus.com | |
| kromtech.net |
| /* | |
| Arduino code for a 2-minute timer, with bargraph countdown and a few basic effects. Press reset to star the timer, | |
| only needs LEDs to work. | |
| pfh 12/8/12, with anna, starting from blink example. | |
| */ | |
| int num_leds = 7; | |
| int led_pins[] = {12, 11, 10, 9, 8, 7, 6}; | |
| int delay_msec = 17142; // 120 seconds divided by number of leds |
| #!/usr/bin/env python | |
| # Paul Hubbard 7/11/12 | |
| # Simple script to watch a web page for a change and ping me via email. | |
| # Mostly for fun. | |
| import re | |
| import urllib2 | |
| import logging as log | |
| import smtplib |
| #!/usr/bin/env python | |
| """ | |
| Idea - image uploader for Octopress. | |
| Given a filename (list later), we want to | |
| - make the filename url-friendly (maybe replace spaces with dashes or just urlencode it) | |
| - Create a directory on the server in the form {base}/YYYY/mm/dd/{filename} | |
| - copy it up | |
| - Do a URL get and md5-sum to verify success |
| for e in `pyflakes ion | grep undefined | cut -d \: -f 1,2`; do s=`echo $e | awk -F \: '{printf("git blame -L %s,%s %s\n",$2,$2,$1)}'`; eval $s; done; |
| #!/usr/bin/env python | |
| """ | |
| @file bf.py | |
| @author Paul Hubbard | |
| @date 1/27/10 | |
| @brief Compute the max depth of the social network as given by | |
| @see http://pypi.python.org/pypi/python-Levenshtein/0.10.2 | |
| Algorithm: Brute force. |
| # Doxyfile 1.6.1 | |
| # This file describes the settings to be used by the documentation system | |
| # doxygen (www.doxygen.org) for a project | |
| # | |
| # All text after a hash (#) is considered a comment and will be ignored | |
| # The format is: | |
| # TAG = value [value, ...] | |
| # For lists items can also be appended using: | |
| # TAG += value [value, ...] |