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
<cfoutput> | |
#testerton( | |
function(){ | |
if(1 > 2){ | |
return true | |
} | |
return false; | |
})# | |
</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
<cfscript> | |
/** | |
******************************************************************************** | |
ContentBox - A Modular Content Platform | |
Copyright 2012 by Luis Majano and Ortus Solutions, Corp | |
www.gocontentbox.org | www.luismajano.com | www.ortussolutions.com | |
******************************************************************************** | |
Apache License, Version 2.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
<cfset getMaxResults = 200> | |
<cftimer type="inline" label="cfquery"> | |
<cfquery name="testSQL" datasource="contentBox"> | |
select top #getMaxResults# | |
this_.commentID as commentID16_0_, | |
this_.content as content16_0_, | |
this_.author as author16_0_, | |
this_.authorIP as authorIP16_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
JVM Stack Trace | |
--------------- | |
"main" Id=1 TIMED_WAITING on com.caucho.server.resin.ResinWaitForExitService@69d064d | |
java.lang.Thread.State: TIMED_WAITING | |
at java.lang.Object.wait(Native Method) | |
- waiting on com.caucho.server.resin.ResinWaitForExitService@69d064d | |
at com.caucho.server.resin.ResinWaitForExitService.waitForExit(ResinWaitForExitService.java:135) | |
at com.caucho.server.resin.Resin.waitForExit(Resin.java:1393) | |
at com.caucho.server.resin.Resin.main(Resin.java:1442) |
This file has been truncated, but you can view the full file.
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
JVM Stack Trace | |
--------------- | |
"main" Id=1 RUNNABLE (in native) | |
java.lang.Thread.State: RUNNABLE | |
at java.net.DualStackPlainSocketImpl.accept0(Native Method) | |
at java.net.DualStackPlainSocketImpl.socketAccept(DualStackPlainSocketImpl.java:131) | |
at java.net.AbstractPlainSocketImpl.accept(AbstractPlainSocketImpl.java:398) | |
at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:198) |
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
Install Java JDK Oracle 7u11 | |
Download JDK7 | |
tar -xvf JDK | |
sudo mkdir -p /usr/lib/jvm/jdk1.7.0_21 | |
sudo mv jdk1.7.0_21/* /usr/lib/jvm/jdk1.7.0_25/ | |
sudo update-alternatives --install "/usr/bin/java" "java" "/usr/lib/jvm/jdk1.7.0_25/bin/java" 1 | |
sudo update-alternatives --install "/usr/bin/javac" "javac" "/usr/lib/jvm/jdk1.7.0_25/bin/javac" 1 | |
sudo update-alternatives --install "/usr/bin/javaws" "javaws" "/usr/lib/jvm/jdk1.7.0_25/bin/javaws" 1 | |
sudo update-alternatives --config java |
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
-compile: | |
[javac] Compiling 20 source files to /project/bin/classes | |
[javac] /project/src/org/apache/cordova/mediacapture/Capture.java:32: cannot find symbol | |
[javac] symbol : class LocalFilesystemURL | |
[javac] location: package org.apache.cordova.file | |
[javac] import org.apache.cordova.file.LocalFilesystemURL; | |
[javac] ^ | |
[javac] /project/src/org/apache/cordova/mediacapture/Capture.java:449: cannot find symbol | |
[javac] symbol : class LocalFilesystemURL | |
[javac] location: class org.apache.cordova.mediacapture.Capture |
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
<cfcomponent displayName="Stored Procedure Shim for Railo" accessors="true"> | |
<cfproperty name="datasource" type="string" required="true" default=""> | |
<cfproperty name="procedure" type="string" required="true" default=""> | |
<cfproperty name="username" type="string" required="false" default=""> | |
<cfproperty name="password" type="string" required="false" default=""> | |
<cfproperty name="params" type="array" required="false"> | |
<cfproperty name="procResults" type="array" required="false"> | |
<cfproperty name="procResultSets" type="struct" required="false"> |
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
component { | |
this.name = "<application-name>"; // name of the application context | |
// regional | |
// default locale used for formating dates, numbers ... | |
this.locale = "en_US"; | |
// default timezone used | |
this.timezone = "America/Chicago"; |
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
echo( ['a', 'at', 'cat', 'scat', 'catch'].filter( function( i ) { return reFind( '.+at', i ) } ).first() ) |