I hereby claim:
- I am hasalex on github.
- I am hasalex (https://keybase.io/hasalex) on keybase.
- I have a public key whose fingerprint is A9B5 8997 A29D D848 8D7A 2142 A50C 0255 D630 758D
To claim this, I am signing this object:
| #!/bin/bash | |
| # Tomcat auto-start | |
| # | |
| # description: Auto-starts tomcat | |
| # processname: tomcat | |
| # pidfile: /var/run/tomcat.pid | |
| #export JAVA_HOME=/usr/lib/jvm/java-6-openjdk | |
| # Retrouver le répertoire d'installation de Java | |
| export JAVA_HOME=`update-java-alternatives -l | grep java-6-openjdk | awk '{ print $3 }'` |
| -- | |
| -- Create schema university | |
| -- | |
| CREATE DATABASE IF NOT EXISTS university; | |
| USE university; | |
| CREATE TABLE `university`.`course` ( | |
| `id` int(11) NOT NULL auto_increment, | |
| `code` varchar(10) NOT NULL, | |
| `name` varchar(30) NOT NULL, |
| package fr.sewatech.demo.http2.undertow; | |
| import io.undertow.Undertow; | |
| import io.undertow.UndertowOptions; | |
| import io.undertow.server.HttpServerExchange; | |
| import io.undertow.util.Headers; | |
| import javax.net.ssl.KeyManagerFactory; | |
| import javax.net.ssl.SSLContext; | |
| import java.security.KeyStore; |
| # Commun pour le connecteur APR et les connecteurs classiques | |
| openssl req -newkey 2048 -nodes -keyout conf/tomcat.key -x509 -days 365 -out conf/tomcat.crt -config conf/openssl.cnf | |
| # Inutile pour le connecteur APR | |
| openssl pkcs12 -inkey conf/tomcat.key -in conf/tomcat.crt -export -out conf/tomcat.pfx |
| persons.stream() | |
| .filter(Person::isMale) | |
| .filter(p -> p.isAdult(LocalDate.now())) | |
| .map(p -> p.getFirstName() + " " + p.getLastName()) | |
| .collect(Collectors.toList()); |
| dn: dc=sewatech,dc=fr | |
| objectClass: top | |
| objectClass: domain | |
| dc: sewatech | |
| dn: ou=people,dc=sewatech,dc=fr | |
| objectClass: top | |
| objectClass: organizationalUnit | |
| ou: people |
| # Building WildFly AS 9 | |
| version=9.0.2.Final | |
| # Download and prepare the source code | |
| wget https://github.com/wildfly/wildfly/tarball/$version | |
| tar -xvf $version | |
| cd wildfly-* | |
| # Build it ! | |
| ./build.sh -DskipTests -Dskip-enforce -T1C |
I hereby claim:
To claim this, I am signing this object:
| wget ftp://ftp.redhat.com/redhat/jbeap/6.2.4/en/source/jboss-eap-6.2.4-src.zip | |
| wget http://maven.repository.redhat.com/techpreview/eap6/6.2.4/jboss-eap-6.2.4-full-maven-repository.zip | |
| wget https://raw.githubusercontent.com/hasalex/eap-build/master/src/settings.xml | |
| unzip jboss-eap-6.2.4-src.zip | |
| unzip jboss-eap-6.2.4-full-maven-repository.zip | |
| cp settings.xml jboss-eap-6.2-src/tools/maven/conf/ | |
| cd jboss-eap-6.2-src/ |
| dn: dc=sewatech,dc=fr | |
| objectClass: domain | |
| objectClass: top | |
| dc: sewatech | |
| dn: ou=people,dc=sewatech,dc=fr | |
| objectClass: organizationalUnit | |
| objectClass: top | |
| ou: people |