This file contains 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="QueryToStruct" returntype="any" hint="Converts a query to a struct, or an array of structs"> | |
<cfargument name="query" type="query" required="true"/> | |
<cfargument name="row" type="query"/> | |
<cfargument name="forceArray" type="boolean" default="false"/> | |
<cfscript> | |
var local = StructNew(); | |
var result = StructNew(); | |
var idx = ""; | |
var colName = ""; |
This file contains 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 output="false" extends="coldbox.system.EventHandler"> | |
<!--- Default Action ---> | |
<cffunction name="index" returntype="void" output="false"> | |
<cfargument name="event"> | |
<cfset event.setView("general/mypdjfosdjfopjsapof")> | |
</cffunction> | |
This file contains 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 content_type = getPageContext().getServletContext().getMimeType("<!--- Path to file here --->") /> |
This file contains 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="dump" output="true"> | |
<cfargument name="variable" type="any" required="true" /> | |
<cfargument name="abort" type="any" default="false" /> | |
<cfdump var="#arguments.variable#" /> | |
<cfif arguments.abort eq "true"> | |
<cfabort /> | |
</cfif> | |
</cffunction> |
This file contains 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
@-moz-document regexp("https://[^./]*\\.slack\\.com/(?!pricing)(?!security).*") | |
{ | |
body | |
{ | |
background: #222; | |
color: #e6e6e6; | |
} | |
a | |
{ |