Skip to content

Instantly share code, notes, and snippets.

@edorcutt
edorcutt / Demo-ErrorStack-Handling.krl.txt
Created August 22, 2011 22:37
Test Ruleset for error handling to ErrorStack
ruleset a169x391 {
meta {
name "Demo-ErrorStack-Handling"
description <<
Test Ruleset for error handling to ErrorStack
http://www.windley.com/archives/2011/05/error_handling_in_krl.shtml
http://docs.kynetx.com/docs/Error_handling
http://ktest.heroku.com/a169x391
@edorcutt
edorcutt / Demo-Error-Handling.krl.txt
Created August 22, 2011 22:15
Test Ruleset for in ruleset error handling
ruleset a169x390 {
meta {
name "Demo-Error-Handling"
description <<
Test Ruleset for in ruleset error handling
http://www.windley.com/archives/2011/05/error_handling_in_krl.shtml
http://docs.kynetx.com/docs/Error_handling
http://ktest.heroku.com/a169x390
@edorcutt
edorcutt / KySQLGitHook.krl
Created August 16, 2011 20:34
Kynetx Github commit webhook
ruleset a169xXXX {
meta {
name "KySQLGitHook"
description <<
Kynetx Github commit webhook
>>
author "Ed Orcutt, LOBOSLLC"
logging on
@edorcutt
edorcutt / Peeps-On-Empire-Module-Test.krl
Created May 19, 2011 22:42
Test Peeps On Empire Module
ruleset a169x323 {
meta {
name "Peeps-On-Empire-Module-Test"
description <<
Test Peeps On Empire Module
http://exampley.com/?appid=a169x323
>>
author "Ed Orcutt"
logging on
@edorcutt
edorcutt / PeerIndex-Module-Test.krl
Created May 19, 2011 04:56
Test & Demo for Kynetx PeerIndex API Module
ruleset a169x320 {
meta {
name "PeerIndex-Module-Test"
description <<
Test PeerIndex API Module
http://exampley.com/?appid=a169x320
>>
author "Ed Orcutt, LOBOSLLC"
logging on
@edorcutt
edorcutt / Qwerly-Module-Test.krl
Created May 16, 2011 15:58
Qwerly Module Test and Demo
ruleset a169x317 {
meta {
name "Qwerly-Module-Test"
description <<
Test Qwerly API Module
http://exampley.com/?appid=a169x317
>>
author "Ed Orcutt"
logging on
@edorcutt
edorcutt / SendGoogle.krl
Created April 27, 2011 04:09
Facebook Send Button on Google
ruleset a169x306 {
meta {
name "SendGoogle"
description <<
Facebook Send Button on Google
>>
author "Ed Orcutt, LOBOSLLC"
logging on
}
@edorcutt
edorcutt / LikeGoogle.krl
Created April 27, 2011 00:20
Facebook Like Button on Google
ruleset a169x306 {
meta {
name "LikeGoogle"
description <<
Facebook Like Button on Google
Facebook > Social Plugins > Like Button
http://developers.facebook.com/docs/reference/plugins/like/
>>
@edorcutt
edorcutt / Kynetx-Lib-Location.krl
Created April 17, 2011 03:28
Kynetx KRL Library: Location
ruleset a169x298 {
meta {
name "Kynetx-Lib-Location"
description <<
Kynetx KRL Library: Location
Documentation: http://docs.kynetx.com/docs/Locations
Demo: http://exampley.com/?appid=a169x298
>>
author "Ed Orcutt, LOBOSLLC"
logging on
@edorcutt
edorcutt / Catch_Event_Raised_Remote_Callback.krl
Created March 7, 2011 05:39
LOBOSLLC Demo: Kynetx Event Action Walkabout
rule Catch_Event_Raised_Remote_Callback {
select when web event_remote_callback
pre {
callback_rid = event:param("callback_rid");
callback_evt = event:param("callback_evt");
}
{
notify("Catch_Remote_Callback", "Received from remote Ruleset!") with sticky = true;
notify("Now Raise Callback", "rid: "+callback_rid+" name: "+callback_evt) with sticky = true;
raise_event(callback_evt) with app_id = callback_rid;