[ Launch: Time Diffs ] ad14630b500d9ee80884 by jlamoree
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
PID=`cat /var/run/something.pid` | |
kill -s 0 $PID 2>&1 > /dev/null | |
if [ $? == 0 ]; then | |
echo "Yes, it's running" | |
else | |
echo "Nope, it's dead" | |
fi |
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'?> | |
<Server port="8005" shutdown="SHUTDOWN"> | |
<Listener className="org.apache.catalina.core.AprLifecycleListener" SSLEngine="off"/> | |
<Listener className="org.apache.catalina.core.JasperListener"/> | |
<Listener className="org.apache.catalina.core.JreMemoryLeakPreventionListener"/> | |
<Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener"/> | |
<Listener className="org.apache.catalina.core.ThreadLocalLeakPreventionListener"/> | |
<GlobalNamingResources> |
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"?> | |
<web-app xmlns="http://java.sun.com/xml/ns/javaee" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" | |
metadata-complete="true" | |
version="2.5"> | |
<servlet id="Railo"> | |
<description>Railo CFML Engine</description> |
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'?> | |
<tomcat-users> | |
<role rolename="manager-gui"/> | |
<user username="admin" password="admin" roles="manager-gui"/> | |
</tomcat-users> |
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
upstream webapp { | |
server 192.168.104.1:8080 fail_timeout=5; | |
server 192.168.104.1:8081 fail_timeout=5 backup; | |
keepalive 10; | |
} | |
proxy_temp_path /tmp/nginx/temp; | |
proxy_cache_path /tmp/nginx/cache keys_zone=CACHE:10m levels=1:2 inactive=1h max_size=100m; | |
log_format log_access '$remote_addr - $remote_user [$time_local] "$request" $status $body_bytes_sent "$http_referer" "$http_user_agent"'; |
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 is a collection of open-ended questions, mostly to remind myself to ask a potential candidate. In most cases, there's no correct answer. I find it valuable to hear how someone responds and gauge the amount of passion they have for our profession. | |
# CFML | |
* Which CFML engines/versions have you used? Do you have a favorite? Why? | |
* Are you into script-based components or do you stick with tag-based source? When would you go with one over the other? | |
* When you install a new CFML application into a fresh server, what's your process? How do you like to run your apps? | |
* Which web server do you like to run in front of your CFML environment? | |
* Do you have a favorite ORM solution? | |
# Development |
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
module.exports = { | |
test: function (browser) { | |
var ckeditor = "editor1", | |
testtime = new Date(); | |
browser | |
.url("http://ckeditor.com/demo#standard") | |
.resizeWindow(1024, 820) | |
.waitForElementVisible("#cke_" + ckeditor, 5000) | |
.execute( |
[ Launch: New and Updated Email Query Execution ] 1a86ff5612fa0c64f809 by jlamoree
Which versions of Mach-II have you used?
How do you like to install Mach-II? In the webroot or elsewhere? How do you like to configure mapping?
How do you organize your Mach-II XML files? Do you use modules?
At what point do you consider creating a subroutine to prevent duplication of event handler
How do you deal with the White Screen of Death? What is typically the cause?
OlderNewer