Skip to content

Instantly share code, notes, and snippets.

<cfcomponent>
<cffunction name="onCFCRequest" access="public" returntype="any" output="false">
<cfargument name="cfcname" type="string" />
<cfargument name="method" type="string" />
<cfargument name="args" type="struct" />
<cfset var result = "" />
<cfcomponent>
<cffunction name="onCFCRequest" access="public" returntype="any" output="false">
<cfargument name="cfcname" type="string" />
<cfargument name="method" type="string" />
<cfargument name="args" type="struct" />
<cfset var result = "" />
<cfif structKeyExists(URL, "returnFormat") AND NOT listFindNoCase("json,wddx,plain,xml", URL.returnFormat)>
<cffunction name="onCFCRequest" access="public" returntype="any" output="false">
<cfargument name="cfcname" type="string" />
<cfargument name="method" type="string" />
<cfargument name="args" type="struct" />
<cfset var result = "" />
<cftry>
<cfinvoke component="#arguments.cfcname#" method="#arguments.method#" argumentCollection="#arguments.args#" returnvariable="result" />
/assets/
/cache/
.LCK
.lck
.settings
.project
settings.xml
.rds*
.svn
_mm*
<cfset feed = application.feedManager.readByName("Programs", "DCTC") />
<cfset feed.setNextN(100) />
<cfset feed.setMaxItems(100) />
<cfset qFeed = feed.getQuery() />
<cfset dataorder = [] />
<cfset datarecords = {} />
<cfset dataset = {} />
<cfcomponent>
<cffunction name="getData" access="public" returntype="any" output="false">
<!--- Get the feed --->
<cfset var feed = application.feedManager.readByName("Programs", "DCTC") />
<!--- Set the feed to include enough records that it won't get cut off --->
<cfset feed.setNextN(100) />
<cfset feed.setMaxItems(100) />
<!--- Grab the query from the feed, I also could have done this with the iterator, but it is easier to look at the data this way --->
'use strict';
describe('Controller: TodoListController handles Todo Lists', function () {
// load the controller's module
beforeEach(module('todosApp'));
var todoListCtrl,
scope;
@twelverobots
twelverobots / FlashPointDamageCounter.js
Last active December 24, 2015 20:49
Flash Point: Fire Rescue Scripts for Roll20.net
var methods = methods || {};
methods.showExplosion = function () {
var exp = findObjs({name:"explosion"})[0];
toFront(exp);
exp.set("height", 720);
exp.set("width", 720);
exp.set("left", 800);
exp.set("top", 500);
sendChat("System", "The Building Collapsed");
<Engine name="Catalina" defaultHost="11robots.com" jvmRoute="cfusion">
<Realm className="org.apache.catalina.realm.LockOutRealm">
<Realm className="org.apache.catalina.realm.UserDatabaseRealm"
resourceName="UserDatabase"/>
</Realm>
<Engine name="Catalina" defaultHost="11robots.com" jvmRoute="cfusion">
<Realm className="org.apache.catalina.realm.LockOutRealm">
<Realm className="org.apache.catalina.realm.UserDatabaseRealm"
resourceName="UserDatabase"/>
</Realm>