View twitter_retweet.json
This file contains 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
{ | |
"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, |
View twitter_list_many.json
This file contains 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
[ | |
{ | |
"code": "fr", | |
"status": "production", | |
"name": "French" | |
}, | |
{ | |
"code": "en", | |
"status": "production", | |
"name": "English" |
View twitter_search_res.json
This file contains 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
{ | |
"statuses": [ | |
{ | |
"metadata": { | |
"result_type": "recent", | |
"iso_language_code": "en" | |
}, | |
"created_at": "Wed Feb 26 19:12:29 +0000 2014", | |
"id": 438753453880250400, | |
"id_str": "438753453880250368", |
View twitter_media.json
This file contains 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
{ | |
"media": [ | |
{ | |
"id": 438737600342290400, | |
"id_str": "438737600342290432", | |
"indices": [ | |
99, | |
121 | |
], | |
"media_url": "http: //pbs.twimg.com/media/Bha1heICcAAKEIY.jpg", |
View trr-objc.cfg
This file contains 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
# | |
# Uncrustify Configuration File | |
# File Created With UncrustifyX 0.2 (140) | |
# | |
# Alignment | |
# --------- | |
## Alignment |
View globals.js
This file contains 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 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'); |
View templMethods.js
This file contains 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
/** | |
* Checkout bobbitt's base koi examples here: | |
* https://github.com/ericb/Koi/blob/master/examples.js | |
*/ | |
// use koi namespace to define a new object level ( this is basically if !tmplMethods, tmplMethods = {} ) | |
Koi.namespace('tmplMethods'); | |
// if there are methods used across a section of the application, you could nest deeper ( common ajax calls or something ) |
View mongohq_ajax.html
This file contains 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
<html> | |
<head> | |
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script> | |
<script type="text/javascript"> | |
$(function(){ | |
// post demo | |
$.ajax({ | |
dataType: "json", | |
type: "post", |
View search_row.html
This file contains 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
<a class="search_result_row even" href="http://store.steampowered.com/app/211160/?snr=1_7_7_230_150_24"> | |
<div class="col search_price"> $14.99 </div> | |
<div class="col search_type"> | |
<img src="http://cdn2.store.steampowered.com/public/images/ico/ico_type_app.gif"> | |
</div> | |
<div class="col search_metascore"></div> | |
<div class="col search_released"> Oct 17, 2012 </div> | |
<div class="col search_capsule"> | |
<img src="http://cdn2.steampowered.com/v/gfx/apps/211160/capsule_sm_120.jpg?t=1350669009" alt="Buy Viking: Battle for Asgard" width="120" height="45"> | |
</div> |
View SteamGameScrape.rb
This file contains 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
require 'open-uri' | |
require 'nokogiri' | |
require 'cgi' | |
class SteamGameStrape | |
def initialize | |
@page = 1 | |
@url = "http://store.steampowered.com/search/results" | |
@user_agent = "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_5) AppleWebKit/537.22 (KHTML, like Gecko) Chrome/25.0.1364.172 Safari/537.22" | |
@row = 0 |
OlderNewer