Skip to content

Instantly share code, notes, and snippets.

{
"ranges": {
"Hennepin County": [
["204.73.55.10", "204.73.55.10"],
["137.70.0.0", "137.70.255.255"]
],
"City of Minneapolis": [
["206.55.176.8", "206.55.176.15"],
["170.159.0.0", "170.159.255.255"],
["198.133.93.0", "198.133.98.255"],

What is @MinnesotaEdits?

@MinnesotaEdits was inspired by and runs the same code as @congressedits. The purpose is to track anonymous changes made to Wikipedia articles by IP addresses used by government agencies in Minnesota, specifically surrounding the Minneapolis-St. Paul metropolitan area.

What government entity really made that change?

You might see a lot of changes being made by "State of Minnesota" but it doesn't mean someone sitting in an office near the Capitol did it. The State of Minnesota assigns its IP addresses to departments, counties, school districts, and cities across the state. It's sometimes easy to tell which agency they've assigned it to, and sometimes not. As more granular information becomes available, future updates to the IP address list will be made. IP addresses can also change hands. Accuracy isn't guaranteed, so be sure to double-check any IP addresses yourself if you're doing some reporting.

Are there any government agencies intentionally removed?

School districts

{
"articles": [
"Abdi Warsame",
"Al Doty",
"Al Franken",
"Al Juhnke",
"Alan Page",
"Albert Hofstede",
"Alice Hausman",
"Alice Johnson (politician)",

What is @mnpol_wikiwatch?

This account sends a tweet out each time the Wikipedia article for a Minnesota politician is edited. The code is based on @congressedits, but instead of tracking IP addresses, it tracks all changes to specific articles.

What politicians are on the list?

The intent is that the list includes all elected and candidate state constitutional officers, state legislators, Hennepin and Ramsey County Commissioners, municipal elected officials in Minneapolis and Saint Paul, and any notable current and former politicians from around the state, erring on the side of being inclusive — provided that they have a Wikipedia article. The actual list is maintained as a JSON file, which you're welcome to contribute changes to via GitHub or by e-mailing me. https://gist.github.com/webster/6c694a7e60556722f77c

Work to be done

  • Create a list of accounts to ignore e.g. AnomieBOT
  • Create aliases so instead of e.g. "Al Franken (Politician)" (or whatever the case may be as reflected on Wikipedia),
{
"politicians": {
"Mike Nelson": {
'article': "Michael Nelson (Minnesota politician)",
'jurisdiction': "Minnesota",
'body': "House of Representatives",
'title': "Rep.",
'district': "40A",
'party': "D"
},
@webster
webster / keybase.md
Created August 13, 2014 04:41
Replaced GPG keys 2014-08-12

Keybase proof

I hereby claim:

  • I am webster on github.
  • I am webster (https://keybase.io/webster) on keybase.
  • I have a public key whose fingerprint is C908 1772 B6A4 2C88 39E3 0F6E 3AA7 10D0 EFE6 7B65

To claim this, I am signing this object:

@webster
webster / nginx secure boilerplate.conf
Created October 10, 2014 19:08
Boilerplate security-focused nginx conf (work in progress)
# This is a work in progress, so don't use it.
server {
listen 80;
server_name example.com www.example.com;
return 301 https://$host$request_uri;
# TODO logging
}
############################################################################
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
- -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
PGP Key Transition Statement
Tony Webster <tony@tonywebster.com>
Fri Jun 5 06:49:34 UTC 2015
@webster
webster / keybase.md
Created June 5, 2015 06:59
New PGP Key 2015-06-05 [keybase verification]

Keybase proof

I hereby claim:

  • I am webster on github.
  • I am webster (https://keybase.io/webster) on keybase.
  • I have a public key whose fingerprint is A6CE 9FD5 6197 EAC6 0BEA 78DB B0D7 1D8E 6AFE CCCF

To claim this, I am signing this object:

OS X Provisioning

This is how I setup a new Mac.

Reinstall the OS

Don't trust the OS on a brand new computer, and don't trust OS X Recovery from a partition on the hard drive or Internet Recovery (hi, NSA!). From another trusted device, download OS X from the App Store and create a USB flash drive of the OS X installer, and boot from that by pressing and holding Option on boot.

Encryption

  1. Turn on FileVault
  2. Create a backup, secondary admin user (maybe)
  3. Add backup admin to FileVault access (maybe)