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> | |
extrasIncudeFilenames = [ | |
"social-media-pack" : { | |
"filename" : "social-media-pack", | |
"recommended" : false | |
}, | |
"shazam" : { | |
"filename" : "shazam", | |
"recommended" : false |
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 variables.calExp = '0/1 * 100'/> | |
<cfset dbz_patterns = ['/0','/ 0','/(0)','/ (0)'] /> | |
<cfset variables.hasDivisionByZero = false /> | |
<cfloop array="#dbz_patterns#" item="dbz_pattern"> | |
<cfset variables.hasDivisionByZero = FindNoCase(dbz_pattern, variables.calExp) gt 0 /> | |
<cfif variables.hasDivisionByZero> | |
<cfbreak /> | |
</cfif> |
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 variables.calExp = '0/1 * 100'/> | |
<cfset dbz_patterns = ['/0','/ 0','/(0)','/ (0)'] /> | |
<cfloop array="#dbz_patterns#" item="dbz_pattern"> | |
<cfset variables.hasDivisionByZero = FindNoCase(dbz_pattern, variables.calExp) gt 0 /> | |
<cfif variables.hasDivisionByZero> | |
<cfbreak /> | |
</cfif> | |
</cfloop> |
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 variables.calExp = '0/1 * 100'/> | |
<cfset dbz_patterns = ['/0','/ 0','/(0)','/ (0)'] /> | |
<cfloop array="#dbz_patterns#" item="dbz_pattern"> | |
<cfset variables.hasDivisionByZero = FindNoCase(dbz_pattern, variables.calExp) gt 0 /> | |
<cfif variables.hasDivisionByZero> | |
<cfbreak /> | |
</cfif> | |
</cfloop> | |
<cfoutput> |
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> | |
results = [ | |
{ "qty":3, "title":"adults"}, | |
{ "qty":2, "title":"kids"} | |
]; | |
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 theArray = [1,246,26,2,621,61,6,426,21,6,16,1,34,1,35,26,32,64,34,2,5,135,1,6,31]> | |
arraySlice(array,offset,length) | |
<cfoutput> | |
#ListToArray(theArray)# | |
</cfoutput> |
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 t = "%7B%22aid%22:%2215%22,%22feldname%22:%22auto_file%22%7D"> | |
<cfset b = decodeFromURL(t)> | |
<cfdump var="#b#"> |
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 t = "%7B%22aid%22:%2215%22,%22feldname%22:%22auto_file%22%7D"> | |
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
<cfoutput> | |
<cfset id = "BAKJDKKF_JKRKDE_2000"> | |
<cfset LineNo = ListLast(id,"_")> | |
<cfset DocumentNo = listFirst(id, LineNo)> | |
#DocumentNo#<br> | |
#LineNo# |
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
<cfoutput> | |
<cfset matrix = ArrayNew(2)> | |
<cfset num = 0> | |
<ul> | |
<cfloop from="1" to="3" index="row"> | |
<li style="font-size:30px;"> | |
<cfloop from="#row#" to="9" step="3" index="step"> | |
<span style="margin-top:5px;font-size:40px;display:inline"> | |
#step# | |
</span> |
NewerOlder