Skip to content

Instantly share code, notes, and snippets.

This file has been truncated, but you can view the full file.
{
"status": "OK",
"masterlist": {
"0": {
"bill_id": 889213,
"number": "HB1",
"change_hash": "deccee632d07c02ac7cafae9f0b391f1",
"url": "https://legiscan.com/AL/bill/HB1/2017",
"status_date": "2017-02-07",
"status": "1",
@AdrianLoer
AdrianLoer / gist:16d4b1aa85c3572ee86aafe41d4485b8
Created December 21, 2016 20:04
headless set up of raspbian jessie with a macbook for airprint printing
* download raspbian and follow instructions
* apparently as of this month to enable ssh on boot a file simply called "ssh" in the boot partition(!) is enough
this is different from before where boot.rc in /boot/ on the ext/linux partition had to be changed
-> tried this first via http://www.geekytidbits.com/mount-sd-card-virtualbox-from-mac-osx/ to read the partition from virtualized ubuntu (macOS cant handle ext)
* share macbooks wifi connection (System Preferences -> Sharing -> share from WiFi to Thunderbolt Ethernet and activate the box)
* tested via ping to google.com and took longer than expected. Cancelled multiple times until I realized it's just slow
* follow instructions at http://www.techradar.com/how-to/computing/how-to-turn-the-raspberry-pi-into-a-wireless-printer-server-1312717
* for wifi set up https://www.raspberrypi.org/documentation/configuration/wireless/wireless-cli.md
@AdrianLoer
AdrianLoer / gist:f1ad3e40f9ea433e16020725530d542b
Created December 1, 2016 10:09
fswatch os x xargs run command
fswatch -0 queryOutput | xargs -0 -n 1 -I {} cat {}
@AdrianLoer
AdrianLoer / gist:2f5f32ad46d29abc644bed826209697b
Created September 7, 2016 12:33
iterm2 hotkey animation duration
defaults write com.googlecode.iterm2 HotkeyTermAnimationDuration -float 0.00001