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/profile | |
export GROOVY_HOME='/opt/groovy/groovy-1.8.0' | |
export PATH=$PATH:/opt/grails:$GROOVY_HOME/bin | |
export GRAILS_HOME='/opt/grails/grails-1.3.4' | |
export JAVA_HOME='/opt/java/jdk1.6.0_25' | |
export NODE_PATH=/opt/node:/opt/node/lib/node_modules | |
export GRADLE_HOME=/opt/gradle/gradle-1.0-milestone-6 | |
export PATH=$PATH:$GRADLE_HOME/bin | |
alias psg='ps -fea | grep $@' |
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
#!/bin/bash | |
git@github.com:gextech/json-schema-2-groovy-pojo.git | |
git@github.com:gextech/json-schema-java-mapper-utils.git | |
git@github.com:atomsfat/raml2code.git | |
git@github.com:atomsfat/raml2code-fixtures.git | |
git@github.com:gextech/raml2code-jaxrs-interfaces.git | |
git@github.com:gextech/raml2code-retrofit.git | |
git@github.com:gextech/ram2code-utils.git | |
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
boot2docker ip →Get lP | |
docker info | |
docker rm <name> | |
docker stop <name> | |
docker start <name> | |
docker attach <name> | |
docker ps -a | |
docker logs -f <name> | |
docker top <name> | |
docker inspect <name> |
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
Construir una api REST, para hacer altas, bajas cambios de usuarios, documentar la API. | |
Utilizar las siguientes tecnologias. | |
* Spring Boot | |
* PostgreSQL hibernate o Gorm | |
* Gradle |
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
def concurrent(int count, Closure closure) { | |
def values = [] | |
def futures = [] | |
ExecutorService executor = Executors.newFixedThreadPool(count) | |
CyclicBarrier barrier = new CyclicBarrier(count) | |
for (int i = 0; i < count; i++) { | |
futures.add(executor.submit(new Callable() { | |
public def call() throws Exception { |
NewerOlder