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
| ############################## | |
| ###### Control flow | |
| # Script runs sequentially steps: | |
| # 1. generates LDAP schema; | |
| # 2. generates LDAP data required for correct running of OX products; | |
| # 3. configures Directory Server (with LDAP schema and LDAP data generated in step 1 and 2). | |
| # 4. Builds OX products (e.g. oxAuth, oxTrust) | |
| # 5. Deploy OX products to Application Container(e.g. oxAuth, oxTrust to Tomcat) | |
| # 6. Starts Application Container (Tomcat) | |
| # |
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
| Start to generate schema... | |
| Finished to generate schema. | |
| Start to generate ldap data... | |
| ===== getAttributeLDIF() generates: | |
| dn: inum=@!1111!0005!3C0D,ou=attributes,o=@!1111,o=gluu | |
| objectClass: gluuAttribute | |
| objectClass: top | |
| description: eduPersonAffiliation | |
| displayName: eduPersonAffiliation | |
| inum: @!1111!0005!3C0D |
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
| Apr 13, 2014 3:46:08 PM org.apache.catalina.core.AprLifecycleListener init | |
| INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/java/packages/lib/amd64:/usr/lib/x86_64-linux-gnu/jni:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/jni:/lib:/usr/lib | |
| Apr 13, 2014 3:46:08 PM org.apache.coyote.AbstractProtocol init | |
| INFO: Initializing ProtocolHandler ["http-bio-8080"] | |
| Apr 13, 2014 3:46:08 PM org.apache.coyote.AbstractProtocol init | |
| INFO: Initializing ProtocolHandler ["ajp-bio-8009"] | |
| Apr 13, 2014 3:46:08 PM org.apache.catalina.startup.Catalina load | |
| INFO: Initialization processed in 729 ms | |
| Apr 13, 2014 3:46:08 PM org.apache.catalina.core.StandardService startInternal | |
| INFO: Starting service Catalina |
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
| 2014-04-13 15:46:16,185 INFO [javax.servlet.ServletContextListener] Welcome to Seam 2.2.2.Final | |
| 2014-04-13 15:46:16,873 INFO [org.jboss.seam.init.Initialization] reading /WEB-INF/components.xml | |
| 2014-04-13 15:46:16,953 INFO [org.jboss.seam.init.Initialization] two components with same name, higher precedence wins: org.jboss.seam.web.rewriteFilter | |
| 2014-04-13 15:46:16,969 INFO [org.jboss.seam.init.Initialization] reading properties from: /seam.properties | |
| 2014-04-13 15:46:17,052 INFO [org.jboss.seam.Component] Component: org.jboss.seam.core.init, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Init | |
| 2014-04-13 15:46:17,068 INFO [org.jboss.seam.init.Initialization] two components with same name, higher precedence wins: org.jboss.seam.web.isUserInRole | |
| 2014-04-13 15:46:17,069 INFO [org.jboss.seam.init.Initialization] two components with same name, higher precedence wins: org.jboss.seam.core.manager | |
| 2014-04-13 15:46:17,069 INFO [org.jboss.seam.init.Initialization] two components with same name, |
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
| 2014-04-13 15:46:26,670 INFO [javax.servlet.ServletContextListener] Welcome to Seam 2.3.1.Final | |
| 2014-04-13 15:46:27,444 INFO [org.jboss.seam.init.Initialization] reading /WEB-INF/components.xml | |
| 2014-04-13 15:46:27,557 INFO [org.jboss.seam.init.Initialization] reading properties from: /seam.properties | |
| 2014-04-13 15:46:27,589 INFO [org.jboss.seam.Component] Component: org.jboss.seam.core.init, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Init | |
| 2014-04-13 15:46:27,602 INFO [org.jboss.seam.init.Initialization] two components with same name, higher precedence wins: org.jboss.seam.cache.cacheProvider | |
| 2014-04-13 15:46:27,603 INFO [org.jboss.seam.init.Initialization] two components with same name, higher precedence wins: org.jboss.seam.core.resourceLoader | |
| 2014-04-13 15:46:27,603 INFO [org.jboss.seam.init.Initialization] two components with same name, higher precedence wins: org.jboss.seam.web.parameters | |
| 2014-04-13 15:46:27,603 INFO [org.jboss.seam.init.Initialization] two components with sam |
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/sh | |
| set -e | |
| inotifywait -m -e modify "$1" | while read line; do markdown "$1" > "$2"; done; |
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
| package org.akvo.aws.s3; | |
| import java.io.File; | |
| import java.io.IOException; | |
| import java.security.Key; | |
| import java.text.DateFormat; | |
| import java.text.SimpleDateFormat; | |
| import java.util.Date; | |
| import java.util.TimeZone; |
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 | |
| set -e | |
| CFG="$1" | |
| SRC="$2" | |
| DST="$3" | |
| FOLDER="$4" | |
| echo "Getting ${FOLDER} list for ${SRC}" |
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
| diff --git a/GAE/src/com/gallatinsystems/common/util/MemCacheUtils.java b/GAE/src/com/gallatinsystems/common/util/MemCacheUtils.java | |
| index a2e6c80..f78408b 100644 | |
| --- a/GAE/src/com/gallatinsystems/common/util/MemCacheUtils.java | |
| +++ b/GAE/src/com/gallatinsystems/common/util/MemCacheUtils.java | |
| @@ -27,7 +27,6 @@ import net.sf.jsr107cache.Cache; | |
| import net.sf.jsr107cache.CacheFactory; | |
| import net.sf.jsr107cache.CacheManager; | |
| -import com.gallatinsystems.framework.dao.BaseDAO; | |
| import com.google.appengine.api.memcache.MemcacheService; |
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
| import java.security.SecureRandom; | |
| import org.apache.commons.codec.binary.Base64; | |
| public class Random { | |
| public static void main(String[] args) { | |
| // http://docs.oracle.com/javase/7/docs/api/java/security/SecureRandom.html |