This file contains hidden or 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
<Context> | |
<Manager pathname=”” /> | |
<Parameter name=”repository-address” value=”rmi://127.11.6.129:15099/hipporepository” override=”false”/> | |
<Parameter name=”repository-directory” value=”${catalina.base}/../repository” override=”false”/> | |
<Parameter name=”start-remote-server” value=”false” override=”false”/> | |
<Parameter name=”check-username” value=”liveuser” override=”false”/> | |
<Resource name=”mail/Session” auth=”Container” type=”javax.mail.Session” mail.smtp.host=”localhost”/> |
This file contains hidden or 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
JAVA_HOME=$OPENSHIFT_DATA_DIR/bin/jre1.8.0_66 | |
JAVA_ENDORSED_DIRS="$JAVA_HOME/endorsed" | |
CATALINA_HOME="$OPENSHIFT_DATA_DIR/bin/tomcat8/" | |
CATALINA_BASE="$OPENSHIFT_DATA_DIR/bin/tomcat8/" | |
CATALINA_PID="${CATALINA_BASE}/work/catalina.pid" | |
CLUSTER_ID="$(whoami)-$(hostname -f)" | |
MAX_HEAP=512 |
This file contains hidden or 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
final InputStream pubKeyStream = getClass().getClassLoader().getResourceAsStream("pubkey.asc"); | |
assertNotNull(pubKeyStream); | |
PGPPublicKeyRingCollection pubRingCollection = new PGPPublicKeyRingCollection( | |
PGPUtil.getDecoderStream(pubKeyStream), | |
new JcaKeyFingerprintCalculator()); | |
final PGPPublicKeyRing pgpPublicKeyRing = pubRingCollection.getKeyRings().next(); | |
assertNotNull(pgpPublicKeyRing); | |
final PGPPublicKey pgpPublicKey = pgpPublicKeyRing.getPublicKey(); |
This file contains hidden or 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
mvn archetype:generate \ | |
-DarchetypeGroupId=org.onehippo.cms7 \ | |
-DarchetypeArtifactId=hippo-project-archetype \ | |
-DarchetypeVersion=2.01.02-milestone-1 \ | |
-DarchetypeRepository=http://maven.onehippo.com/maven2 |
This file contains hidden or 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
<hst:link var="canonicalUrl" hippobean="${document}" canonical="true"/> | |
<hst:headContribution keyHint="canonical"> | |
<link rel="canonical" href="${canonicalUrl}"/> | |
</hst:headContribution> |
This file contains hidden or 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
#!/bin/bash | |
PROFILE_FILENAME=".hippo" | |
backup() { | |
echo "Move repository from $1 to $2" | |
mv $1 $2 | |
exit 0 | |
} | |
get_profiles(){ | |
# remove commented lines |
NewerOlder