Skip to content

Instantly share code, notes, and snippets.

View dkobia's full-sized avatar

David Kobia dkobia

View GitHub Profile
db.channels
{
"name": "Ushahidi",
"type": "Twitter",
"subType": "Follow User",
"parameters": {
"TwitterAccount": "ushahidi",
"trusted": "false"
},
"updatePeriod": 1,
db.channels
{
"name": "Ushahidi",
"type": "Twitter",
"subType": "Follow User",
"parameters": {
"TwitterAccount": "ushahidi",
"trusted": "false"
},
"updatePeriod": 1,
db.content
{
"state": "new",
"text": [
{
"languageCode": "en",
"title": "Lorem ipsum dolor sit amet, consectetur adipiscing elit",
"text": [
"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed eu dolor nisl, sit amet molestie dolor. Nulla pellentesque enim vel sapien pretium aliquet. Maecenas hendrerit ullamcorper consequat. Nullam sit amet felis sed erat fermentum lacinia. Nulla facilisi. Sed est est, tristique sit amet cursus ac, tincidunt a nisl. Aenean blandit tincidunt augue ut faucibus. Vestibulum molestie, arcu eget facilisis auctor, enim ligula vulputate nisi, eleifend hendrerit sapien enim sed nibh."
]
db.tags
{
"name": "lorem",
"type": "general"
}
db.sources
{
"date": 1309101216,
"score": 4,
"name": "http://news.google.com/news?cf=all&ned=en_ke&hl=en&topic=h&num=3&output=rss",
"email": null,
"link": null,
"applicationIds": [],
"applicationProfileImages": [],
"parent": [],
{
"payload": {
"domain": "http://trunk.ushahidi.com/",
"incidents": [
{
"incident": {
"incidentid": "3495",
"incidenttitle": "Report with Photos",
"incidentdescription": "Test Report with Photos",
"incidentdate": "2010-03-31 13:21:00",
{
"id": "0854a69118ef3cadc54169624ca8c141",
"state": "new_content",
"text": [
{
"languageCode": "en",
"title": "I'm dying to see MPs take anti-tax case to Mutunga - Daily Nation",
"text": [
null
]
@dkobia
dkobia / gist:1233483
Created September 21, 2011 22:18 — forked from avalanche123/gist:981817
GitHub Emoji
:+1:
:-1:
:airplane:
:art:
:bear:
:beer:
:bike:
:bomb:
:book:
:bulb:
@dkobia
dkobia / gist:1245020
Created September 27, 2011 13:20
Reset.css
* {margin:0; padding:0;}
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {border:0; outline:0; vertical-align:baseline; background:transparent;}
.hidden {position:absolute; left:-1000em; top:-1000em; width:1px; height:1px; overflow:hidden;}
.noscreen {display:none;}
.box {min-height:1px;}
.box:after {display:block; visibility:hidden; clear:both; line-height:0; font-size:0; content:".";}
.fix {float:none; clear:both; width:0; height:0; margin:0; padding:0; border:0; line-height:0; font-size:0;}
.f-left {float:left !important;}
.f-right {float:right !important;}
.t-left {text-align:left !important;}
<%
dim Conn
dim rs
dim rs2
dim cn
dim str
dim msg
dim from
dim message
dim stmt