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> | |
dump("#CreateTimeSpan(0,1,0,0)#"); | |
</cfscript> |
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> | |
if(1 || 1) | |
writeOutput('if'); | |
else | |
writeOutput('if'); | |
</cfscript> |
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> | |
if(1 || 1) | |
writeOutput('if'); | |
else | |
writeOutput('if'); | |
</cfscript> |
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> | |
theKey = "someKey"; | |
// local.locked = "someKey" | |
function testLocked( key ){ | |
if( !local.keyExists("someKey") ) return; | |
if( isArray( locked ) && arrayFindNoCase( locked, arguments.key ) ) |
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 cgi.remote_addr = "64.38.194.13"> | |
<cfif LEFT(cgi.remote_addr, 8) IS "64.38.212" OR | |
LEFT(cgi.remote_addr, 8) IS "64.38.215" OR | |
LEFT(cgi.remote_addr, 8) IS "64.38.240" OR | |
LEFT(cgi.remote_addr, 8) IS "64.38.241"> | |
dsadas | |
<!--- The IP matches one of the specified CCBill Webhook ranges ---> | |
</cfif> |
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> | |
var json = '{ | |
"span.id": "68e8827454836770" | |
}'; | |
var unserialized = deserializeJSON( json ); | |
//writeDump( listGetAt( unserialized[ "span.id" ], 2, "-" ) ); | |
writeDump( duplicate( unserialized ) ); | |
writeOutput( serializeJson( deserializeJSON( json ) ) ); | |
</cfscript> |
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> | |
var json = '{ | |
"span.id": "68e8827454836770" | |
}'; | |
var unserialized = deserializeJSON( json ); | |
writeDump( listGetAt( unserialized[ "span.id" ], 2, "-" ) ); | |
writeDump( duplicate( unserialized ) ); | |
writeOutput( serializeJson( deserializeJSON( json ) ) ); | |
</cfscript> |
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> | |
dump( getBoxContext().getRuntime().getModuleService().getMOduleNames() ) | |
function foo(){} | |
dump( foo.getRunnablePath() ) | |
</cfscript> |
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> | |
dump( getBoxContext().getRuntime().getModuleService().getMOduleNames( ) | |
</cfscript> |
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> | |
dump( getBoxContext().getRuntime().getModuleService().getMOduleNames(* ) | |
</cfscript> |
NewerOlder