Skip to content

Instantly share code, notes, and snippets.

View konklone's full-sized avatar

Eric Mill konklone

View GitHub Profile
@konklone
konklone / cert.rb
Last active June 29, 2019 13:07 — forked from pzb/sample-chain1.txt
generate a self-signed root, issuing intermediate, and end entity certificate and private key
#!/usr/bin/env ruby
# Forked from https://gist.github.com/pzb/84f867ed5a330093cfbf
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
---
title: "Why The 'Crypto Will Save Africa' Line Irks Me"
layout: post
published: true
comments: true
meta: true
author: casey
thumbnail: hargeisa-1.jpg
category: business in emerging markets

Transparency and Privacy: A vision for a new digital democracy

Transparency advocates and privacy advocates live on different planets. Both advocate for the common good, but at first glance their outlooks appear diametrically opposed. Broadly speaking, government transparency advocates want to see what the government is doing, either to improve its operations or limit its power. Privacy advocates focus on keeping personal information private unless voluntary, knowing consent is given. They believe government must be kept on a tight leash because of its power to demand, use, and disseminate personal information.

The tension between transparency and private advocates covers a wide range of activities. It is evident in laws comprising the Freedom of Information Act (FOIA), for example. FOIA requires federal agencies to release information to the public upon demand except in certain circumstances. Among the exemptions from disclosure is when a request concerns information that constitutes a personnel, medic

@konklone
konklone / hearing_example.json
Last active August 29, 2015 14:03 — forked from LindsayYoung/hearing_example.json
congressional documents example
{
"results":[
{
"witness_type":"Non-Governmental",
"text_preview":"\f\f\f\f\f",
"congress":113,
"hearing_title":"To Review the State of the Livestock Industry",
"urls":[
{
"permalink":"http://unitedstates.sunlightfoundation.com/congress/committee/meetings/house/1021/102156/HHRG-113-AG29-Wstate-SmithM-20140430.pdf",
{
results:[
{
house_hearing_id:102236,
chamber:"house",
committee_id:"HSWM",
congress:113,
occurs_at:"2014-05-20T13:30:00Z",
room:"Longworth HOB 1100, Washington, D.C. 20515",
description:"Chairman Brady Announces Hearing on Current Hospital Issues in the Medicare Program",
/*
* robotNav.js
*
* The green key is located in a slightly more
* complicated room. You'll need to get the robot
* past these obstacles.
*/
function startLevel(map) {
// Hint: you can press R or 5 to "rest" and not move the
// ==ClosureCompiler==
// @output_file_name default.js
// @compilation_level SIMPLE_OPTIMIZATIONS
// ==/ClosureCompiler==
/*
**Notes**
In some cases, forms will still get submitted when you click the submit button.
@konklone
konklone / vitter.html
Created May 1, 2013 22:36 — forked from dwillis/vitter.html
rendering without escape
<td><a href="
http://www.vitter.senate.gov/newsroom/press/vitter-bp-to-pay-340-million-of-1-billion-in-early-restoration-fines
">Vitter: BP to Pay $340 Million of $1 Billion in Early Restoration Fines</a></td>
@konklone
konklone / examples.txt
Last active December 12, 2015 01:38 — forked from anonymous/floor-updates.rb
Messing with the category codes in the House Clerk's bulk floor update downloads at http://clerk.house.gov/floorsummary/floor-download.aspx
# Each category code that appears in 2012, its frequency, and the first 100 characters of the first example of each.
H21000 (78): Today's prayer was offered by the House Chaplain, Rev. Patrick J. Conroy.
H60100 (51): On motion to adjourn Agreed to by voice vote.
H8D000 (1013): Without objection, H.R. 3408 was laid on the table.
H38310 (283): Motion to reconsider laid on the table Agreed to without objection.
@konklone
konklone / strip.py
Created January 5, 2012 15:53 — forked from lukerosiak/strip.py
Get rid of fluff on fields in a CSV
#!/usr/bin/env python
"""
Get rid of white space and periods on the old file, and ensure the new one uses the same CSV quoting conventions, so we can run a diff without being distracted those differences.
"""
import csv
directories = ["luke", "sunlight"]
base = "2011Q3-summary"