- United States on github They have a great US module that has state abbrevs, names, etc. O'Reilly article about the project
- The State Decoded
- Legislative Documents in XML at the United States House of Representatives
- US Government Web Services and XML Data Sources
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
| apt-get install virtualbox-guest-dkms | |
| # Enable bidirectional clipboard: Virtualbox Machine menu, Settings, General, Advanced, Shared Clipboard. | |
| wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add - | |
| sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list' | |
| # Get Slack at https://slack.com/downloads/instructions/ubuntu |
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
| --- | |
| --- | |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <rss version="2.0" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"> | |
| <channel> | |
| <title>{{ site.title }}</title> | |
| <description>{{ site.description }}</description> | |
| <link>{{ site.url }}</link> | |
| <language>en</language> | |
| <managingEditor>{{ site.managerName }} ({{ site.managerEmail }})</managingEditor> |
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
| from sunlight import openstates, response_cache | |
| from pscl.ext.openstates import RollcallBuilder | |
| response_cache.enable('mongo') | |
| response_cache.logger.setLevel(10) | |
| spec = dict(state='al', chamber='lower', search_window='term:2011-2014') | |
| valid_ids = [leg['id'] for leg in openstates.legislators(spec)] |
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
| #import <Foundation/Foundation.h> | |
| @interface BNRDiggyDict : NSObject | |
| // React to object indexing. Would be nice to have a @protocol for this | |
| - (id) objectForKeyedSubscript: (id) key; | |
| - (void) setObject: (id) thing forKeyedSubscript: (id<NSCopying>) key; | |
| // And for fun, it also can react to scalar indexing. | |
| // Returns the N'th key of the top-level collection. |