A 16x2 LCD thermometer with S/M/H history graphs (Instructable).
| """ | |
| If you have a folder with photos you want to show as a slideshow | |
| (e.g. with a video projector), and they're obnoxiously orderd | |
| (by source, event, etc.). use this script to shuffle them: | |
| `python shuffle-curr-dir.py` | |
| filenames will retain suffix, but prefix will become some | |
| random hex. Example: `5f01b70e5fc11f9aa2abf83d466cb482.jpeg`. | |
| Repeat if you want to reshuffle. | |
| """ | |
| from glob import glob |
| /* Simple Car game for a 16x2 LCD display | |
| You can use any Hitachi HD44780 compatible LCD. | |
| Wiring explained at http://www.arduino.cc/en/Tutorial/LiquidCrystal | |
| (I used theLCD Electronic Brick on bus 1: | |
| rs on pin 2, rw on pin 3, enable on pin 4, | |
| data on pins 5,6,7,8) | |
| There's also a "steering wheel" potentiometer on analog input 1, | |
| and a Piezo speaker on pin 9 (PWM). | |
| Enjoy, |
| pre.i-has-teh-code | |
| | $: > Booting systems... | |
| | $: > Total memory found: 256kb | |
| | $: > Scanning for bootable media ■■■■■■■■■■■ 100% | |
| | $: > No media found. Booting from network address 3E:40:9C:75 | |
| | $: > Loading BIOS 2.3 ■■■■■■■■■■■ 100% | |
| | $: > Reticulating splines ■■■■■■■■■■■ 100% | |
| | $: > Booting console ■■■■■■■■■■■ 100% | |
| | $: | |
| | $: > Welcome to the retro console version 0.1a |
A quick workaround for a flask-bootstrap navbar with items at the right side, as requested at #126.
Bonus: ability to change navbar's style
(navbar navbar-inverse in the example).
- copy the flask-bootstrap sample app to a folder.
- overwrite
nav.py,__init__.py, andfrontend.pywith the files here.
#Shelter1001's interactive [zenity] shell script for wifi qr-code generation.
Supports WPA [recommended] and open [sometimes useful] networks [no WEP support because duh].
Based on this [WPA only] commandlinefu.
White House petitions don't have an API yet so I wrote something quick and dirty for a specific petition in reply to a tweet by @PogoWasRight.
This thing scrapes the petition's signatures and produces histograms by state and city as a javascript file called histograms.js.
This gist contains a snapshot copy of that file (generated when there were ~32K signatures)
This means you can either clone the gist and view index.html, or simply use Mike Bostock's magic gist viewer.
Lately, somebody started stealing from us. Took us time to figure it out. At first we thought things got lost. When they took a gas tank, it became obvious ;). As far as I know, it ain't over and it's no game. It's a lousy perimeter to defend, especially for old hippies who moved to the land of smiles because they got tired of saying "perimeter"[1].
This is a generic Arduino sketch that lets you whip up a simple and friendly alarm system from whatever sensors and controllers you've got lying around in cat-infested shoe boxes.
- A sensor (PIR motion detector, magnetic door switch, weight sensor, etc.).
- A controller (hidden button, keypad, RFID reader, etc.) to temporarily disable ("chill") the system.
- A noisy device (buzzer, ghetto-blaster, tennis ball cannon aimed at a gong, GSM modem for sending SMS, etc.).
- A LED.
Based on the Bootswatch Cyborg theme, but with a golden tint.
Generate the dist at getbootstrap: http://getbootstrap.com/customize/?id=8409692
Based on the Bootswatch Slate theme, but with a golden tint.
Generate the dist at getbootstrap: http://getbootstrap.com/customize/?id=8554602
