Skip to content

Instantly share code, notes, and snippets.

View j-fuentes's full-sized avatar

Jose Fuentes Castillo j-fuentes

View GitHub Profile
[INFO] Scanning for projects...
[INFO]
[INFO] Using the builder org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder with a thread count of 1
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building rest-component 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] >>> spring-boot-maven-plugin:1.2.3.RELEASE:run (default-cli) @ rest-component >>>
[INFO]
[INFO] Scanning for projects...
[INFO]
[INFO] Using the builder org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder with a thread count of 1
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building rest-component 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] >>> spring-boot-maven-plugin:1.2.3.RELEASE:run (default-cli) @ rest-component >>>
[INFO]
[INFO] Scanning for projects...
[INFO]
[INFO] Using the builder org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder with a thread count of 1
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building rest-component 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] >>> spring-boot-maven-plugin:1.2.3.RELEASE:run (default-cli) @ rest-component >>>
[INFO]
vxf
@j-fuentes
j-fuentes / sadfdsa
Created July 14, 2015 07:38
asdfsafas
sdfsfasd
@j-fuentes
j-fuentes / punto.md
Created July 14, 2015 07:39
El Sergio mola

Hola guapo

#!/bin/bash
POS=2
LEN=16
SECONDS_MAX=10
while true; do
str1=$( echo -n `date +\"%s\"` | md5sum | md5sum )
@j-fuentes
j-fuentes / aboutPuppetCerts.md
Created September 29, 2015 12:08
About using Puppet certificates in Docker

About using Puppet infrastructure certificates for Docker infrastructure

Puppet uses openssl certificates to securize the communication between the master and the agents. Docker also uses the same technology in the communication between the engine and the client. So, it could be a good idea to reuse the certificates that Puppet generates when it setup an agent in the Docker TLS communication.

Puppet ssl details

The Puppet master has it own CA authority. It also has a certificate (which contains the RSA public key) and a private key.

When a new agent tries to connect with the master, the master signs agent's certificate (here we can follow different policies: manual sign, autosign.conf, etc).

manager_1 | [DEBUG] eu.cloudopting.logging.LoggingAspect - Enter: eu.cloudopting.service.MailService.sendActivationEmail() with argument[s] = [User{login='jfuentes', password='$2a$10$NZOM3ZirEvQAGVPu5LCRO.sbUlBam9FFbdh2cVc6H6quCCLGDnjAW', firstName='jfc', lastName='jfc', email='fjhidalgo@wtelecom.es', activated='false', langKey='en', activationKey='72359685514110530179'}, http://docker.jfc:8080]
manager_1 | [DEBUG] eu.cloudopting.service.MailService - Sending activation e-mail to 'fjhidalgo@wtelecom.es'
manager_1 | [DEBUG] eu.cloudopting.service.MailService - Send e-mail[multipart 'false' and html 'true'] to 'fjhidalgo@wtelecom.es' with subject 'CloudOpting Catalog Activation Link' and content=<html><body><p> Dear jfc, </p><p>Activation URL: http://docker.jfc:8080/#/activate?key=72359685514110530179</p><p>Best regards,</p><p>CloudOpting team.</p></body></html>
manager_1 | [DEBUG] com.sun.mail.smtp - useEhlo true, useAuth false
manager_1 | [DEBUG] com.sun.mail.smtp - trying to connect to host "aspmx.l.google.c
@j-fuentes
j-fuentes / log.txt
Created December 17, 2015 10:32
deploy cloudopting log
Attaching to manager-db, manager
manager-db | LOG: database system was shut down at 2015-12-17 09:30:10 UTC
manager-db | LOG: MultiXact member wraparound protections are now enabled
manager-db | LOG: database system is ready to accept connections
manager-db | LOG: autovacuum launcher started
manager | Dec 17, 2015 9:41:45 AM org.apache.catalina.startup.VersionLoggerListener log
manager | INFO: Server version: Apache Tomcat/7.0.63
manager | Dec 17, 2015 9:41:45 AM org.apache.catalina.startup.VersionLoggerListener log
manager | INFO: Server built: Jun 30 2015 08:08:33 UTC
manager | Dec 17, 2015 9:41:45 AM org.apache.catalina.startup.VersionLoggerListener log