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
<cfscript> | |
data = querynew("id", "varchar", [{id:"a"}, {id:"b"}]); | |
result = []; | |
cfthread(name="d1") { | |
arrayAppend(result, queryExecute("select * from data", {}, {dbtype:"query"})); | |
} | |
cfthread(name="d2") { |
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
http://www.brentozar.com/archive/2011/12/sql-server-high-availability-disaster-recovery-basics-webcast/ |
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
<cfset text = "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum." /> | |
<!--- Get the byteArray of the text to be handled ---> | |
<cfset byteArray = text.getBytes() /> | |
<!--- An array to store the broken up chunks ---> | |
<cfset bytes = [] /> | |
<!--- THe java array utility ---> | |
<cfset javaArray = createObject("java", "java.util.Arrays") /> |
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
/** | |
* Created by jason on 3/20/14. | |
*/ | |
component accessors="true" { | |
property defaultLogLevel; | |
property applicationName; | |
public void function debug(String message, String extraInfo) { |
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
<cfxml variable="myXML"> | |
<?xml version="1.0" encoding="UTF-8"?> | |
<data> | |
<users> | |
<user> | |
<name>Bill</name> | |
</user> | |
<user> | |
<name>Dave</name> | |
</user> |
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="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 = "" /> | |
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="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)> |
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
<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" /> |
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
/assets/ | |
/cache/ | |
.LCK | |
.lck | |
.settings | |
.project | |
settings.xml | |
.rds* | |
.svn | |
_mm* |
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
<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 = {} /> |
NewerOlder