Skip to content

Instantly share code, notes, and snippets.

View johnnysparks's full-sized avatar

Johnny Sparks johnnysparks

View GitHub Profile
@johnnysparks
johnnysparks / twitter_media.json
Created February 26, 2014 18:18
Twitter Media Data Structure
{
"media": [
{
"id": 438737600342290400,
"id_str": "438737600342290432",
"indices": [
99,
121
],
"media_url": "http: //pbs.twimg.com/media/Bha1heICcAAKEIY.jpg",
@johnnysparks
johnnysparks / twitter_search_res.json
Created February 26, 2014 19:17
Twitter Search Result Structure
{
"statuses": [
{
"metadata": {
"result_type": "recent",
"iso_language_code": "en"
},
"created_at": "Wed Feb 26 19:12:29 +0000 2014",
"id": 438753453880250400,
"id_str": "438753453880250368",
@johnnysparks
johnnysparks / twitter_retweet.json
Created February 26, 2014 19:24
Twitter Create Resource
{
"created_at": "Wed Feb 26 19:22:38 +0000 2014",
"id": 438756007276466200,
"id_str": "438756007276466176",
"text": "RT @lukeoneil47: Each California county's most distinctive soon-to-be-endangered crop @MotherJones http://t.co/UjYOcJgoDK",
"source": "<a href="https://apigee.com/console/twitter" rel="nofollow">Apigee's API Console</a>",
"truncated": false,
"in_reply_to_status_id": null,
"in_reply_to_status_id_str": null,
"in_reply_to_user_id": null,
@johnnysparks
johnnysparks / twitter_list_many.json
Created February 26, 2014 19:25
Twitter resource list json structure
[
{
"code": "fr",
"status": "production",
"name": "French"
},
{
"code": "en",
"status": "production",
"name": "English"
#
# Uncrustify Configuration File
# File Created With UncrustifyX 0.2 (140)
#
# Alignment
# ---------
## Alignment
@johnnysparks
johnnysparks / globals.js
Created October 3, 2014 07:17
globals.js
function HeartButton(){
this.user = whi.currentUser();
this.entry = false;
}
HeartButton.prototype.renderIn = function($dom){
var $img = $dom.find('img');
this.entry = new whi.Entry();
this.entry.id = $img.data('entry');
@johnnysparks
johnnysparks / lint.json
Last active April 17, 2019 18:26
NoReturnVoidRule
{
"key.elements" : [
{
"key.kind" : "source.lang.swift.structure.elem.condition_expr",
"key.length" : 13,
"key.offset" : 102
}
],
"key.kind" : "source.lang.swift.stmt.guard",
"key.length" : 83,