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
=Do that thing for that guy | |
=due: friday | |
=start: tomorrow | |
---------- Forwarded message ---------- | |
From: Some Guy <[email protected]> | |
Date: Tue, Mar 5, 2013 at 4:09 PM | |
Subject: Re: I need you to do something | |
To: Chris Metcalf <[email protected]> |
Big congrats to our winners!
- First Place ($3000) - BookIt!
- Second Place ($1500) - ACPR
- Third Place ($500) - SnapMapper
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
package com.socrata.school.api; | |
import java.io.File; | |
import com.socrata.api.Connection; | |
import com.socrata.api.HttpConnection; | |
import com.socrata.api.RequestException; | |
import com.socrata.data.View; | |
public class BulkUpdate { |
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
package com.socrata.school.api; | |
import java.util.ArrayList; | |
import java.util.Date; | |
import java.util.HashMap; | |
import java.util.List; | |
import java.util.Map; | |
import com.socrata.api.Connection; | |
import com.socrata.api.HttpConnection; |
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
#!/usr/bin/env ruby | |
# Just a simple demo on how to use SODA 2.0 to access data from a Socrata data site | |
require 'net/http' | |
require 'uri' | |
require 'json' | |
require 'cgi' | |
require 'pp' | |
# Just a helper class |
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
package gov.hawaii.data.demo; | |
import java.util.ArrayList; | |
import java.util.Date; | |
import java.util.HashMap; | |
import java.util.List; | |
import java.util.Map; | |
import com.socrata.api.Connection; | |
import com.socrata.api.HttpConnection; |
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
[ { | |
"content" : { | |
"id" : "apps-plate", | |
"contextId" : "foods", | |
"children" : [ { | |
"text" : "Choose a Food", | |
"type" : "Title" | |
}, { | |
"type" : "Text" | |
} ], |
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
// Location value is special | |
double latitude = (rand.nextInt(180000)/1000.0) - 90.0; | |
double longitude = (rand.nextInt(360000)/1000.0) - 180.0; | |
Map<String, Double> location = new HashMap<String,Double>(); | |
location.put("latitude", latitude); | |
location.put("longitude", longitude); | |
r.putDataField(v.getColumnByApiIdentifier("location"), location); |
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
function! HtmlEntities() | |
silent %s/À/\À/eg | |
silent %s/Á/\Á/eg | |
silent %s/Â/\Â/eg | |
silent %s/Ã/\Ã/eg | |
silent %s/Ä/\Ä/eg | |
silent %s/Å/\Å/eg | |
silent %s/Æ/\Æ/eg | |
silent %s/Ç/\Ç/eg | |
silent %s/È/\È/eg |