Skip to content

Instantly share code, notes, and snippets.

@bradhintze
bradhintze / Cylon SMS Quiz
Created November 17, 2010 23:06
SMS Quiz game for Defrag
dispatch {}
global {
Q2 = <<Great Job! Q2: Can you name the majestic tree that Lisa Simpson climbed in an effort to save it? Alas, it was hit by lightning.>>;
Congrats = <<Great Job! You’ve been entered into the Cylon Drawing. We’ll text you if you win. (powered by Kynetx + Twilio) www.kynetx.com>>;
Invite = <<Free Dev Day with Kynetx Fri in Broomfield. Get a dev accnt www.kynetx.com Integrate Twilio, Twitter, Facebook, Amz and more. Reply MORE for details.>>;
MoreInfo = <<Free Dev Day Fri in Broomfield. 9-5 Learn more about events, webhooks and more. Twilio to present also. Register http://kdevdayco.eventbrite.com>>;
Sorry = <<Sorry, I don't recognize your response or you answered the question wrong. Try again :)>>;
//logging form
@bradhintze
bradhintze / TSACustomerFeedback.krl
Created November 21, 2010 00:41
Customer Feedback Line using Twilio and Kynetx
meta {
name "TSA Customer Feedback"
description <<
Customer Feedback Number
>>
author "Sam"
logging off
key twitter {
"consumer_key" : "REDACTED",
@bradhintze
bradhintze / CompleteApp.krl
Created November 21, 2010 21:41
Test for Facebook authentication. If there is none, then the user is prompted to allow access to the permissions requested.
meta {
name "Facebook Groups in Search Results"
description <<
Kynetx Facebook Integration
>>
author "bjo"
key facebook {
"consumer_key":"REDACTED",
"consumer_secret":"REDACTED"
@bradhintze
bradhintze / TwitterBook.krl
Created November 23, 2010 23:08
Add the Facebook Like button to Twitter.com
meta {
name "TwitterBook"
author "Jesse Stay"
description <<
Allows you to like any Tweet on Twitter.com and have that like appear on Facebook. Also adds other Facebook features to Twitter.com.
>>
logging on
key facebook {
"consumer_key" : "REDACTED",
@bradhintze
bradhintze / FlickrLikr.krl
Created December 1, 2010 01:19
Checks for Facebook Authorization on Flickr.com
meta {
name "fb_flickr_likr"
description <<
>>
author "Mark Horstmeier / Brad Hintze"
// Uncomment this line to require Marketplace purchase to use this app.
// authz require user
logging on
ruleset a876x14 {
meta {
name "Sweetter Search"
author "Cid Dennis"
logging on
key twitter {
"consumer_key" : "REDACTED",
"consumer_secret" : "REDACTED"
}
}
@bradhintze
bradhintze / Huflix.krl
Created December 14, 2010 16:11
Contest submission by David Godfrey for the Extending the Web contest. Adds Hulu search results to a Netflix search page.
meta {
name "Huflix"
description <<
When searching in Netflix, see up to 3 matched search results for Hulu. Hover over the Hulu logo to see the title of the video and click to go to the video on hulu. Hulu search results are normal free Hulu episodes and Hulu plus.
>>
author "David Godfrey"
// Uncomment this line to require Marketplace purchase to use this app.
// authz require user
logging off
meta {
name "YQL=>siteexplorer table"
description <<
YQL=>siteexplorer table
>>
author "AKO"
logging on
use javascript resource jquery_ui_js
use css resource jquery_ui_redmond_css
@bradhintze
bradhintze / Dataset_Tutorial.Initialize.krl
Created December 22, 2010 18:47
The initialize rule for the Dataset tutorial using Flickr.
rule initialize is active {
select using ".*" setting ()
pre {
InitializedDiv = <<
<div id="FlickrPublicFeed" style="overflow-y:scroll; overflow-x:hidden; height:450px; margin: 3px;">
</div>
>>;
}
notify("Flickr Public Feed", InitializedDiv)
@bradhintze
bradhintze / Dataset_Tutorial.CompleteApp.krl
Created December 22, 2010 18:50
The initialize rule for the Dataset tutorial using Flickr.
ruleset a876x16 {
meta {
name "Flickr Dataset Tutorial"
description <<
Dataset tutorial using the Flickr Public Feed
>>
author "Brad Hintze"
logging on
}