Skip to content

Instantly share code, notes, and snippets.

View jpbriend's full-sized avatar

Jean-Philippe Briend jpbriend

View GitHub Profile

Keybase proof

I hereby claim:

  • I am jpbriend on github.
  • I am jpbriend (https://keybase.io/jpbriend) on keybase.
  • I have a public key whose fingerprint is D5DC DB11 BE3A 8C17 AA0D 3181 1E34 5FAA 38C1 2DC7

To claim this, I am signing this object:

$ VAGRANT_LOG=debug vagrant up
INFO global: Vagrant version: 1.8.5
INFO global: Ruby version: 2.2.3
INFO global: RubyGems version: 2.4.5.1
INFO global: VAGRANT_EXECUTABLE="C:\\HashiCorp\\Vagrant\\embedded\\gems\\gems\\vagrant-1.8.5\\bin\\vagrant"
INFO global: VAGRANT_INSTALLER_EMBEDDED_DIR="C:\\HashiCorp\\Vagrant\\embedded"
INFO global: VAGRANT_INSTALLER_ENV="1"
INFO global: VAGRANT_INSTALLER_VERSION="2"
INFO global: VAGRANT_INTERNAL_BUNDLERIZED="1"
INFO global: VAGRANT_LOG="debug"
Mudak@Zizou MINGW64 ~/Downloads/cloudbees-admin-training
$ VAGRANT_LOG=debug vagrant reload
INFO global: Vagrant version: 1.8.1
INFO global: Ruby version: 2.2.3
INFO global: RubyGems version: 2.4.5.1
INFO global: VAGRANT_EXECUTABLE="C:\\HashiCorp\\Vagrant\\embedded\\gems\\gems\\vagrant-1.8.1\\bin\\vagrant"
INFO global: VAGRANT_INSTALLER_EMBEDDED_DIR="C:\\HashiCorp\\Vagrant\\embedded"
INFO global: VAGRANT_INSTALLER_ENV="1"
INFO global: VAGRANT_INSTALLER_VERSION="2"
INFO global: VAGRANT_INTERNAL_BUNDLERIZED="1"
@jpbriend
jpbriend / apache.har
Created July 28, 2015 14:17
HAR examples
{"log":{"version":"1.1","creator":{"name":"WebPagetest","version":"2.17"},"pages":[{"startedDateTime":"2015-07-03T14:24:54.000+00:00","title":"Run 1, Repeat View for https://54.66.253.32/","id":"page_1_1","pageTimings":{"onLoad":8202,"onContentLoad":-1,"_startRender":4296},"_URL":"https://54.66.253.32/","_loadTime":8202,"_TTFB":1442,"_bytesOut":38937,"_bytesOutDoc":38937,"_bytesIn":916536,"_bytesInDoc":915962,"_connections":7,"_requests":46,"_requestsDoc":46,"_responses_200":44,"_responses_404":2,"_responses_other":0,"_result":99999,"_render":4296,"_fullyLoaded":8202,"_cached":1,"_docTime":8202,"_domTime":0,"_score_cache":0,"_score_cdn":0,"_score_gzip":100,"_score_cookies":-1,"_score_keep-alive":100,"_score_minify":-1,"_score_combine":100,"_score_compress":-1,"_score_etags":-1,"_gzip_total":4835,"_gzip_savings":0,"_minify_total":0,"_minify_savings":0,"_image_total":0,"_image_savings":0,"_optimization_checked":1,"_aft":0,"_domElements":844,"_pageSpeedVersion":"1.9","_title":"Signetique | Singapore Web Hosting
@jpbriend
jpbriend / Dockerfile
Created July 28, 2015 13:58
Dockerfile Nginx reverse-proxy with SSL and SPDY support
FROM debian:jessie
MAINTAINER Jean-Philippe Briend <jeanphilippe.briend@gmail.com> (@jpbriend)
ENV NGINX_VERSION 1.9.3
# Install dependency packages
RUN apt-get update && \
apt-get install -y \
curl \
---
- name: restart apache
service: name=apache2 state=restarted
@jpbriend
jpbriend / UnitTest.java
Created June 11, 2013 08:25
Unit Tests with Powermock and Fest-Assert 1.x. Using mockStatic
@RunWith(PowerMockRunner.class)
@PrepareForTest(StaticTokenUtils.class)
@PowerMockIgnore({ "org.xml.*", "javax.xml.*" })
public class UnitTest {
...
...
@Mock
private AppliDAO appliDAO;
@InjectMocks
@jpbriend
jpbriend / gist:4276903
Created December 13, 2012 14:57
Maven : Integration Tests with SoapUI and Sonar Code Coverage. See http://blog.infin-it.fr/2012/12/13/maven-integration-tests-with-soapui-and-sonar-code-coverage for more details.
<dependencies>
<!-- needed to execute Integration tests instrumented with Cobertura -->
<dependency>
<groupId>net.sourceforge.cobertura</groupId>
<artifactId>cobertura</artifactId>
<version>1.9.4</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>