I hereby claim:
- I am benbalter on github.
- I am benbalter (https://keybase.io/benbalter) on keybase.
- I have a public key whose fingerprint is 07C6 73FB F30E 01C0 C342 7AB8 DBB6 7C24 6AD3 56C4
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
require 'csv' | |
module JekyllCsv | |
class Generator < Jekyll::Generator | |
def generate(site) | |
dir = File.expand_path "_csvs", site.source | |
return if site.safe && File.symlink?(dir) | |
entries = Dir.chdir(dir) do | |
Dir['*.csv'] |
Question: Open government is a great first step, but how can we push towards collaborative government, the world's largest and longest-running open source project
# Description: | |
# Displays our current DUNS number or SAM.gov registration | |
# | |
# Configuration: | |
# You'll need to set HUBOT_GOV_API_TOKEN as an environmental variable. | |
# To get an token, head over to https://api.data.gov/signup/. | |
# You just need a name/email combo as it's solely used for rate limiting. | |
# | |
# Commands: | |
# hubot samdotgov me - display's your current Sam.gov registration |
Begining benchmark... | |
user system total real | |
Load: 0.000000 0.000000 0.000000 ( 0.000161) | |
16 licenses loaded | |
Benchmarking vendored licenses... | |
user system total real | |
apache-2.0 0.220000 0.030000 1.610000 ( 0.724164) | |
artistic-2.0 0.020000 0.000000 0.200000 ( 0.089318) |
Begining benchmark... | |
user system total real | |
Load: 0.000000 0.000000 0.000000 ( 0.000149) | |
15 licenses loaded | |
Benchmarking vendored licenses... | |
user system total real | |
agpl-3.0 0.020000 0.000000 0.020000 ( 0.023164) | |
gpl-2.0 0.000000 0.000000 0.000000 ( 0.000449) |
Status: UNCHANGED
+-------------------+--------------------------+
| Application XXXX |
+-------------------+--------------------------+
| Application Type | Commodity Classification |
| Review Status | Completed |
| Registration Date | 01/01/2015 |
| Completion Date | 01/02/2015 |
| Final Decision | |
//Conditionally load Google Analytics tracking code | |
//GA code optimized by Html5boiler plate -- https://github.com/paulirish/html5-boilerplate | |
if ( !window._gat || !window._gat._getTracker ) { | |
var _gaq=[["_setAccount","UA-XXX-1"],["_trackPageview"]]; | |
(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];g.async=1; | |
g.src=("https:"==location.protocol?"//ssl":"//www")+".google-analytics.com/ga.js"; | |
s.parentNode.insertBefore(g,s)}(document,"script")); | |
} |
//Mailto tracking code | |
$('a[href^="mailto\:"]').click(function() { | |
_gaq.push(['_trackEvent','Email', 'Click', $(this).attr('href') ]); | |
}); | |
//Download Tracking Code | |
$('a[href$="zip"],a[href$="pdf"],a[href$="doc"],a[href$="docx"],a[href$="xls"],a[href$="xlsx"],a[href$="ppt"],a[href$="pptx"],a[href$="txt"],a[href$="csv"]').click(function() { | |
var u = $(this).attr('href'); _gaq.push(['_trackEvent','Download', u.match(/[^.]+$/), u ]); | |
}); |