Skip to content

Instantly share code, notes, and snippets.

@jedsundwall
jedsundwall / measured-voice-terms-of-service.md
Last active December 18, 2015 18:29
This gist contains Measured Voice's government-friendly terms of service, which you can see at http://measuredvoice.com/terms. Measured Voice owns the copyright to these terms, but you are free to copy them for your own use under a the Creative Commons Attribution-ShareAlike 3.0 license (http://creativecommons.org/licenses/by-sa/3.0/). We want t…

Measured Voice Terms of Service

Amended on 25 January, 2013

1. Your Acceptance of Terms

1.1 Your use of Measured Voice and the Measured Voice web site (collectively referred to as the “Service”), is subject to the terms of a legal agreement (“Terms”) between you and Captura Group Inc., DBA Measured Voice (“Measured Voice”). The following Terms of Services ("TOS") explains the agreement and the terms of that agreement.

1.2 In order to use the Service, you must first agree to the Terms. You may not use the Service if you do not accept the Terms. You can accept the Terms by (a) actually using the Service, or (b) clicking a box where such box is made available to you. If you do not agree to any of the following Terms, please do not use the Service. You should print or otherwise save a copy of these TOS for your records.

@jedsundwall
jedsundwall / gist:5288660
Created April 1, 2013 23:30
This is the language used to describe the API in Captura Group's original formal proposal to develop GSA's social media registry (http://registry.usa.gov). The final requirements did change, but this high level description of the APIs was sufficient to ensure that APIs were part of the final product.

The social media outlet registration system will operate as a database that can receive and publish information through three desktop browser‐based interfaces that are powered by three corresponding APIs. The following describes core functionality, but final requirements will determine the precise functionality.

Interfaces

  • A submission form where anyone with a verifiable government email address (.gov, .mil, .si.edu, etc) can enter information about official government social media outlets. Information gathered will include the name of the outlet (e.g. Facebook, Twitter, YouTube, etc), the user name corresponding to the official outlet, and other descriptive information that may include tags, zip codes, categories, sponsoring agencies and more.
  • A verification form to allow anyone to authenticate an ostensibly official government social media outlet by entering the URL of that outlet into an input field or crafting a URL.
  • A javascript‐based widget that will output lists of social media outlets based
@jedsundwall
jedsundwall / gist:4331606
Created December 18, 2012 20:23
This is a URL that will generate a feed of all content under the U.S. govt work license on Flickr. It returns (100, at most) the most recent content each time you call it. Enter your own Flickr API key in the URL to get it to work. I'd love to know if there's a way to get this feed without using an API key.
http://api.flickr.com/services/rest/?method=flickr.photos.search&license=8&format=feed-atom_10&api_key=[yourAPIkey]
@jedsundwall
jedsundwall / gist:2244395
Created March 29, 2012 22:29 — forked from tantalor/gist:2244383
hacking google spreadhseets
function makeURL(firstname,lastname) {
var name = firstname + lastname;
if (!name) {
return null;
} else {
return "http://vivemejor.com/blahblah?this&that"+name;
}
}
@jedsundwall
jedsundwall / gist:2244379
Created March 29, 2012 22:26
hacking google spreadhseets
function makeURL(firstname,lastname) {
var name = "firstname + lastname";
if (name = null) {
return null
};
else return name;
}
@jedsundwall
jedsundwall / 06052011.csv
Created July 6, 2011 21:52
Example 1.USA.gov daily click data in CSV
Long URL Page Title Clicks Agency Domain Global hash
http://www.nasa.gov/connect/chat/bolden_chat.html NASA - NASA Chat: Administrator Bolden Answers Questions About NASA's Future 1318 nasa.gov lMyZx3
http://www.fbi.gov/wanted/unknown/unknown-serial-bank-robber-2/view FBI — UNKNOWN SERIAL BANK ROBBER 1137 fbi.gov l4J8da
http://www.nasa.gov/connect/chat/bolden_chat.html NASA - NASA Chat: Administrator Bolden Answers Questions About NASA's Future 895 nasa.gov iyL5no
http://www.niehs.nih.gov/health/assets/docs_a_e/climatereport2010.pdf 695 nih.gov lfbBif
http://www.fda.gov/NewsEvents/Newsroom/PressAnnouncements/ucm261839.htm 502 fda.gov jAaEIi
http://www.shrewsbury-ma.gov/egov/gallery/134127368672998.png 496 shrewsbury-ma.gov 9b6kNl
http://www.shrewsbury-ma.gov/egov/gallery/134127368675393.png 494 shrewsbury-ma.gov axNK8c
http://www.ncbi.nlm.nih.gov/pubmed/21719068?dopt=Abstract Ecogeographic variation in Neandertal dietary habi... [J Hum Evol. 2011] - PubMed result 439 nih.gov kL2K8l
@jedsundwall
jedsundwall / 06052011.json
Created July 6, 2011 21:51
Example 1.USA.gov daily click data
[
{
"u": "http://www.nasa.gov/connect/chat/bolden_chat.html",
"title": "NASA - NASA Chat: Administrator Bolden Answers Questions About NASA's Future",
"global_clicks": "1318",
"agency": "nasa.gov",
"global_hash": "lMyZx3"
},
{
"u": "http://www.fbi.gov/wanted/unknown/unknown-serial-bank-robber-2/view",
{
"status_code": 200, "data": {
"url": "http://facebook.com/usagov" "outlet": "facebook" "username": "usagov" "email_address": "[email protected]" "tags": "us government, firstgov, first gov, u.s. government,
america, usa, usgov, us gov, government forms, government auctions, portal, government jobs, government benefits, us, united states, government, information, federal, state, local, tribal, usa, services, home"
"categories": "federal, website, general services administration, national"
} "status_txt": "ok. an email has been sent to [user’s email address]
with a link to confirm this registration." }
@jedsundwall
jedsundwall / delicioussearch.html
Created March 9, 2011 19:48
Trying to make a custom search box for flashlight.opensandiego.org
<form method="get" action="http://www.delicious.com/search">
<input type="hidden" name="context" value="userposts|opensandiegodata" />
<label for="query-field">Enter Search Term(s): </label>
<input type="text" name="query" id="query-field"/>
<input type="submit" value="Search" />
</form>
@jedsundwall
jedsundwall / flaciddickbar.html
Created March 7, 2011 00:39
I don't know how to write javascript or anything like that, but I wanted to try to make my own #dickbar (http://encodedrecords.com/dickbar/). This is what I came up with.
<div id="dickbar" style="width:100%; position:absolute; top:0px; background-color: rgba(0,0,0,0.2); color:#FFF; font-weight:bold; font-size:5em; margin:0; padding:0;">
<blink>#CHARLIESHEENLOL</blink>
</div>