This file contains hidden or 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
<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 ---> |
This file contains hidden or 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
'use strict'; | |
describe('Controller: TodoListController handles Todo Lists', function () { | |
// load the controller's module | |
beforeEach(module('todosApp')); | |
var todoListCtrl, | |
scope; |
This file contains hidden or 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
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"); |
This file contains hidden or 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
<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> | |
This file contains hidden or 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
<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> | |
This file contains hidden or 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
<Engine name="Catalina" defaultHost="localhost" jvmRoute="cfusion"> | |
<!--For clustering, please take a look at documentation at: | |
/docs/cluster-howto.html (simple how to) | |
/docs/config/cluster.html (reference documentation) --> | |
<!-- | |
<Cluster className="org.apache.catalina.ha.tcp.SimpleTcpCluster"/> | |
--> | |
<!-- Use the LockOutRealm to prevent attempts to guess user passwords |
This file contains hidden or 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
<cfcomponent> | |
<cfset this.name = "sessionCookies_test" > | |
<cfset this.sessionManagement=true> | |
<cfset this.setdomaincookies = true > | |
<cfset this.sessioncookie.httponly=true> <!--- if cookie to be httponly ---> | |
<cfset this.sessioncookie.timeout = "10" > <!--- session cookie age ---> | |
<cfset this.sessioncookie.secure = "true" > <!--- only https session cookie ---> | |
<cfset this.sessioncookie.domain = ".shilpikhariwal.com" > <!--- domain for which session cookies are valid ---> | |
<cfset this.authcookie.timeout = createTimeSpan(0, 0, 0, 20) > authentication cookie age ---> | |
<cfset this.sessioncookie.disableupdate = true > <!--- if session cookie can be modified by coldfusion tags ---> |
This file contains hidden or 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
Dinner Stuff | |
Ice Cream | |
Cheese | |
Soy Milk | |
Milk | |
Bread | |
Bagels | |
Fresh Fruit | |
Laundry Soap | |
Dingo Sticks |
This file contains hidden or 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
<cfcomponent> | |
<cffunction name="QueryToStruct" access="public" returntype="any" output="false" | |
hint="Converts an entire query or the given record to a struct. This might return a structure (single record) or an array of structures."> | |
<!--- Define arguments. ---> | |
<cfargument name="Query" type="query" required="true" /> | |
<cfargument name="Row" type="numeric" required="false" default="0" /> | |
<cfscript> |
This file contains hidden or 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Making Links</title> | |
<script> | |
window.onload = function() { | |
var links = [ | |
{ |