View trycf-gist-1656408526478-fbbef543-bc98-6fe5-6b2d-04b6bbfacf2d.cfm
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 AliasItem_No = "412981" /> |
View trycf-gist-1656404532444-a8a600b4-e419-48b7-373b-4943e691cd91.cfm
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
<cfscript> | |
tmpStruct = { | |
'888' : { | |
'66': { | |
'name': 'test' | |
} | |
}, | |
'77' : { | |
'3': { | |
'name': 'test' |
View trycf-gist-1656404532444-a8a600b4-e419-48b7-373b-4943e691cd91.cfm
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
<cfscript> | |
tmpStruct = { | |
'888' : { | |
'66': { | |
'name': 'test' | |
} | |
}, | |
'77' : { | |
'3': { | |
'name': 'test2' |
View trycf-gist-1656404532444-a8a600b4-e419-48b7-373b-4943e691cd91.cfm
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
<cfscript> | |
tmpStruct = { | |
'888' : { | |
'66': { | |
'name': 'test' | |
} | |
}, | |
'77' : { | |
'3': { | |
'name': 'test2' |
View trycf-gist-1656404532444-a8a600b4-e419-48b7-373b-4943e691cd91.cfm
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
<cfscript> | |
tmpStruct = { | |
'888' : { | |
'66': { | |
'name': 'test' | |
} | |
}, | |
'77' : { | |
'3': { | |
'name': 'test' |
View trycf-gist-1656404532444-a8a600b4-e419-48b7-373b-4943e691cd91.cfm
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
<cfscript> | |
tmpStruct = { | |
'888' : { | |
'66': { | |
'name': 'test' | |
} | |
}, | |
'77' : { | |
'3': { | |
'name': 'test' |
View trycf-gist-1656402089610-5156d50d-b770-45f5-af7a-28dd33830928.cfm
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
<cfscript> | |
stCount = { | |
'1': 0, | |
'2': 0, | |
'3': 0, | |
'4': 0 | |
} | |
loop from=1 to=1000 index="i" { | |
subjectIndex = randRange(1,4,'SHA1PRNG'); |
View trycf-gist-1656396846508-2689d629-0ab0-6cd0-1a48-e3e406debb84.cfm
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
<cfscript> | |
stCount = { | |
'1': 0, | |
'2': 0, | |
'3': 0, | |
'4': 0 | |
} | |
loop from=1 to=1000 index="i" { | |
subjectIndex = randRange(1,4,'CFMX_COMPAT'); |
View trycf-gist-1656349243039-ed6ce053-5d6a-bf23-f245-28e845760942.cfm
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 item = { | |
"key": "value", | |
"key2": "OtherValue" | |
}> | |
<cfloop collection="#item#" item="stuff"> | |
<cfdump var="#stuff#"> | |
</cfloop> |
View trycf-gist-1656348192748-ef1e8e1b-dc5f-b500-c6c5-dbf9b23f7107.cfm
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
<cfscript> | |
function auditor(function transformer) { | |
return function(data) { | |
var message = transformer(data); | |
echo("logging: #message#<hr>"); | |
} | |
} | |
function structHandler(struct data) { | |
return structKeyList(data); | |
} |
NewerOlder