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> | |
ourDirectory = expandPath(“./”); | |
directoryList = createObject(“java”,”java.io.File”).init(ourDirectory).list(); | |
</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> | |
/** | |
* WEB FUNCTIONS | |
**/ | |
remote any function getWebService(){ | |
var targetUrl = ''; | |
var webService = new http(); | |
var content = ''; | |
var thisresult = ''; |
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
(function(window,undefined){ | |
// Prepare our Variables | |
var | |
document = window.document, | |
$ = window.jQuery; | |
// Wait for Document | |
$(window).bind(function(){ | |
// Prepare Variables |
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
<filter> | |
<filter-name>UrlRewriteFilter</filter-name> | |
<filter-class>org.tuckey.web.filters.urlrewrite.UrlRewriteFilter</filter-class> | |
</filter> | |
<filter-mapping> | |
<filter-name>UrlRewriteFilter</filter-name> | |
<url-pattern>/*</url-pattern> | |
</filter-mapping> |
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> | |
function generateRandomAlphaNumString(size) { | |
var _t = []; | |
for (i=1; i<=arguments.size; i++) { | |
if (randrange(1,2) eq 2) {_t[i]=chr(randrange(65,90));} | |
else if (randrange(1,2) eq 2) {_t[i]=chr(randrange(97,122));} | |
else {_t[i]=chr(randrange(48,57));} | |
} |
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
component { | |
public function init() output="false" { | |
return this; | |
} | |
public function parse(data) output="false" { | |
local.links = []; | |
//loop over each line in the file |
NewerOlder