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
<?xml version="1.0" encoding="UTF-8"?> | |
<configuration xmlns:xs="DotNetConfig.xsd" xmlns:vs="http://schemas.microsoft.com/.NetConfiguration/v2.0"> | |
<system.webServer> | |
<urlCompression doStaticCompression="true" doDynamicCompression="false"/> | |
<staticContent> | |
<clientCache cacheControlMode="UseMaxAge" cacheControlMaxAge="30.00:00:00"/> | |
</staticContent> | |
</system.webServer> | |
</configuration> |
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 helpers = application.beanFactory.getHelpers() /> | |
<style> | |
textarea#xmlCode { | |
background-color:#FFFFCC; | |
border:thin solid #0000CC; | |
margin:5px 0pt; | |
mix-height:400px; | |
height:500px; | |
overflow:auto; | |
padding:4px; |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<configuration xmlns:xs="DotNetConfig.xsd" xmlns:vs="http://schemas.microsoft.com/.NetConfiguration/v2.0"> | |
<system.webServer> | |
<directoryBrowse enabled="true"/> | |
<httpProtocol> | |
<customHeaders> | |
<add name="X-Custom-Header" value="Coldfusion"/> | |
</customHeaders> | |
</httpProtocol> | |
</system.webServer> |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<configuration xmlns:xs="DotNetConfig.xsd" xmlns:vs="http://schemas.microsoft.com/.NetConfiguration/v2.0"> | |
<system.webServer> | |
<staticContent> | |
<mimeMap fileExtension=".gspl" mimeType="application/x-deflate" /> | |
</staticContent> | |
</system.webServer> |
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
<cfsetting requesttimeout="9999999" /> | |
<cfsetting showdebugoutput="false" /> | |
<cfoutput> | |
starting<br /> | |
<cfset theFile = "c:\someVeryVeryLargeFile.sql" /> | |
<cfset from= 1 /> | |
<cfset to = 300500 /> | |
from #from#<br /> | |
to #to#<br /> |
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
if (typeof jQuery == 'function') { | |
jQuery('#reloadJax').live('click', function(event){ | |
var loadingText = '<span class="CFDdebugLoader">Loading..</span>'; | |
jQuery('#reloadJax').html(loadingText); | |
$.get("#currentaddress#", function(data){ | |
jQuery('#reloadJax').text('AJAX Reinitialize'); | |
}); | |
event.preventDefault(); | |
}); | |
function addReload(){ |
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 startRow = ((page-1) * pageSize) + 1 /> | |
<cfset endRow = startRow + pageSize - 1 /> | |
<cfset tmpQuery = queryNew(get_query.columnList) /> | |
<cfloop query="get_query" startRow="#startRow#" endRow="#endRow#"> | |
<cfset tmp = queryAddRow(tmpQuery) /> | |
<cfloop list="#get_query.columnList#" index="column"> | |
<cfset tmp = querySetCell(tmpQuery,column,evaluate("get_query.#column#")) /> | |
</cfloop> | |
</cfloop> | |
<cfset gridQuery = structNew() /> |
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
<cffunction name="generateImageFromText" access="public" output="false" returntype="any"> | |
<cfargument name="text" required="true" /> | |
<cfargument name="font_color" required="false" default="666" /> | |
<cfargument name="width" required="false" default="16" /> | |
<cfargument name="height" required="false" default="16" /> | |
<cfargument name="rotate" required="false" default="" /> | |
<cfargument name="font_family" required="false" default="Consolas" /> | |
<cfargument name="font_size" required="false" default="14" /> | |
<cfargument name="style" required="false" default="plain" /> | |
<cfargument name="writeToBrowser" required="false" default="true" /> |
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
<cfsilent> | |
<!--- create array object ---> | |
<!--- proof 1 ---> | |
<cfset assignments1 = []/> | |
<cfset assignment = {id=1,score=2} /> | |
<cfset ArrayAppend(assignments1,assignment) /> | |
<cfset assignment = {id=2,score=2} /> | |
<cfset ArrayAppend(assignments1,assignment) /> | |
<cfset assignment = {id=3,score=2} /> | |
<cfset ArrayAppend(assignments1,assignment) /> |
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
<cfsilent> | |
</cfsilent> | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
<title>cfQueryDumpFixer</title> | |
<meta name="viewport" content="width=device-width" /> | |
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script> |
OlderNewer