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> | |
| mystruct={ | |
| first:"first", | |
| second:"second", | |
| arr:["alpha","beta","gamma","delta","episilon",{nested:"nestedValue"}], | |
| subStruct:{ | |
| "deeperStruct":{ | |
| "deepKey":"deepValue" | |
| } | |
| } |
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> | |
| mystruct={ | |
| first:"first", | |
| second:"second", | |
| arr:["alpha","beta","gamma","delta","episilon",{nested:"nestedValue"}], | |
| subStruct:{ | |
| "deeperStruct":{ | |
| "deepKey":"deepValue" | |
| } | |
| } |
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 get_id.reg_id = "12121" /> | |
| <cfset get_id.attend_no = "21" /> | |
| <cfset arguments.dataSource = "1212_asas" /> | |
| <cfset str = 'https://www.prereg.net/QMS/mmx/hotelRedirect.cfm?URLEncodedFormat(reg_id=#get_id.reg_id#&attend_no=#get_id.attend_no#&ds=#arguments.dataSource#&mmxid=9749)' /> | |
| <cfdump var="#str#" /> |
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> | |
| try { | |
| startTime = getTickCount(); | |
| test(); | |
| totalTime = (getTickCount() - startTime) / 1000; | |
| writeOutput("Completed in " & totalTime & " seconds"); | |
| } catch (any e) { | |
| writedump(e); |
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> | |
| writeOutput(reFind("[^A-Za-z0-9$]", '25-306')) | |
| </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
| <cfscript> | |
| obj1 = createObject("java", "java.lang.Object").init() | |
| obj2 = createObject("java", "java.lang.Object").init() | |
| writedump(obj1 === obj2) | |
| </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
| <cfscript> | |
| tests = [ | |
| { | |
| "title": "tests.TestProcessRoutes", | |
| "examples": [ | |
| { | |
| pattern : "/dogs/([^/]*)/$", | |
| path : "/dogs/42/", | |
| expected : "/dogs/show/id/42/", | |
| target : "/dogs/show/id/\1/\2" |
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> | |
| //writeDump( dateTimeFormat( now(), "HH:nn:ss.lll" ) ) | |
| writedump( now().dateTimeFormat("HH:nn:ss.lll") ) | |
| </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
| <cfscript> | |
| //writeDump( dateTimeFormat( now(), "HH:nn:ss.lll" ) ) | |
| writedump( now().dateTimeFormat("HH:nn:ss.lll") ) | |
| </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
| <cfscript> | |
| //writeDump( dateTimeFormat( now(), "HH:nn:ss.lll" ) ) | |
| writedump( now().format("HH:nn:ss.lll") ) | |
| </cfscript> |
NewerOlder