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
# /etc/httpd/conf.d/10_passenger.conf | |
# Load passenger module | |
LoadModule passenger_module /usr/lib64/httpd/modules/mod_passenger.so | |
PassengerRoot /usr/lib/ruby/gems/1.8/gems/passenger-3.0.12 | |
PassengerRuby /usr/bin/ruby | |
# some recommended settings for puppet | |
PassengerHighPerformance on | |
PassengerUseGlobalQueue on |
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
[root@eu-puppet-dev-01 ~]# rpm -q --provides java-1.6.0-ibm | |
jre-1.6.0-ibm = 1:1.6.0.11.0-1jpp.1.el6_3 | |
jre-ibm = 1:1.6.0.11.0-1jpp.1.el6_3 | |
jre-1.6.0 | |
java-1.6.0 | |
jre = 1:1.6.0 | |
java-ibm = 1:1.6.0.11.0-1jpp.1.el6_3 | |
java = 1:1.6.0 | |
javaws = 1.6.0 | |
jndi = 1:1.6.0.11.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
#include <iostream> | |
#include <string> | |
using namespace std; | |
// Function Declarations | |
int get_value(string msg); | |
char get_operator(string msg); | |
int compute(int lhs, int rhs, char op); |
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
WAIT_TIME=15 # in minutes | |
OUT=`find . -mmin -${WAIT_TIME} | grep restart` | |
if [ "$OUT" == "" ]; then | |
# we haven't committed murder in $WAIT_TIME minutes, lets do it again | |
/bin/kill -f `ps ux -W | grep srcd | awk '{print $1}'` | |
# touch our breadcrumb | |
touch restart | |
fi |
NewerOlder