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
<cfdirectory action="list" directory="#expandPath('/temp')#" name="pdfs" filter="*.pdf" /> | |
<cfoutput query="pdfs"> | |
<cftry> | |
<cfpdf action="extractimage" | |
source="#directory#/#name#" | |
destination="#expandpath('/imgs')#" | |
format="jpg" | |
imageprefix="#listFirst(name,'.')#_" | |
pages="1" |
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
<cfdirectory action="list" directory="#expandPath('/imgs')#" name="imgs" filter="*.jpg" /> | |
<cfoutput query="imgs"> | |
<cfimage source="#directory#/#name#" name="img" /> | |
<cfset ImageGrayscale(img) /> | |
<cfset imageScaleTofit(img,200,'') /> | |
<cfimage source="#img#" action="write" destination="#expandPath('/finalimages/')##listFirst(name,'_')#.jpg" overwrite="no" /> | |
<cfflush> | |
#name# done <br/> | |
</cfoutput> |
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
this.default = structNew(); | |
this.default.url = '__APPLICATION-URL__'; | |
this.default.dbhost = '__COUCHDB-HOST__'; | |
this.default.port = '__COUCHDB-PORT__'; | |
this.default.dsn = '__MYSQL-DSN__'; | |
this.default.dbtype = '__DBTYPE__'; | |
this.default.db = '__COUCHDB-DATABASE__'; |
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
# ignore following directories | |
RewriteRule ^(assets|views|controllers|layouts|services)(/.*)?$ - [NC,L] | |
# attempt redirect of the short url | |
RewriteCond %{REQUEST_URI} !(.*)/$ | |
RewriteCond %{REQUEST_URI} !index.cfm | |
RewriteRule ^(.*)$ index.cfm?go=main.redirect&s=$1 [L] |
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
BEGIN | |
/* | |
PARAMETERS EXPECTED | |
- IN p_db VARCHAR | |
- IN p_from VARCHAR | |
- IN p_to VARCHAR | |
*/ | |
DECLARE l_end INT DEFAULT 0; |
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
<datasource xmlns:xsi="xsd/datasource.xsd"> | |
<name>YOURDSN</name> | |
<username></username> | |
<password></password> | |
</datasource> |
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
<YourSettings> | |
<Setting name="TransferSettings.datasourcePath" value="/config/datasource.xml.cfm" /> | |
<Setting name="TransferSettings.configPath" value="/config/transfer.xml.cfm" /> | |
<Setting name="TransferSettings.definitionPath" value="/config/definitions" /> | |
</YourSettings> |
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
<Setting name="IOCFramework" value="coldspring" /> | |
<Setting name="IOCDefinitionFile" value="config/coldspring.xml.cfm" /> | |
<Setting name="IOCObjectCaching" value="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
<bean id="ColdboxFactory" class="coldbox.system.extras.ColdboxFactory" autowire="no" /> | |
<bean id="Coldbox" factory-bean="ColdboxFactory" factory-method="getColdbox" /> | |
<bean id="transferFactory" class="transfer.TransferFactory" singeleton="true"> | |
<constructor-arg name="datasourcePath"><value>${TransferSettings.datasourcePath}</value></constructor-arg> | |
<constructor-arg name="configPath"><value>${TransferSettings.configPath}</value></constructor-arg> | |
<constructor-arg name="definitionPath"><value>${TransferSettings.definitionPath}</value></constructor-arg> | |
</bean> |
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
package { | |
import flash.events.Event; | |
public class RemotingEvent extends Event { | |
public static const RESULT:String = 'onResult'; | |
public var params:Object; | |