This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python2 | |
| # Quick and dirty demonstration of CVE-2014-0160 by Jared Stafford (jspenguin@jspenguin.org) | |
| # The author disclaims copyright to this source code. | |
| import sys | |
| import struct | |
| import socket | |
| import time | |
| import select |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # coding: utf8 | |
| import re | |
| REPR_UNICODE_CHAR = re.compile(r'(?<!\\)(\\u[0-9a-f]{4,4})') | |
| def readable_repr(obj): | |
| '''Return printing-friendly unicode string |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| # coding: utf-8 | |
| import datetime | |
| import os | |
| import sys | |
| post = '' | |
| prev_date = '' | |
| posts = [] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| import sys | |
| from itertools import * | |
| from wavebender import * | |
| def half_wave(frequency=19000, framerate=44100, amplitude=0.5, | |
| skip_frame=0): | |
| for s in sine_wave(frequency, framerate, amplitude, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ### Project: | |
| # http://www.bradsprojects.com/electronics/Bradsprojects-PICnDuino.html | |
| # http://www.kickstarter.com/projects/1411349329/picnduino-dual-microcontroller-development-platfor | |
| ### Doc: | |
| # http://www.bradsprojects.com/kickstarter/PICnDuinoMacInstructions.pdf | |
| ### Download and install: | |
| # http://www.ftdichip.com/Drivers/VCP/MacOSX/ FTDIUSBSerialDriver_v2_2_18.dmg |
NewerOlder