Skip to content

Instantly share code, notes, and snippets.

View hgomez's full-sized avatar

Henri Gomez hgomez

View GitHub Profile
@hgomez
hgomez / workers.properties
Created March 28, 2013 22:46
load-balancing for devops mercenaries lab
worker.list=sh4relb
# LB
worker.sh4relb.type=lb
worker.sh4relb.balance_workers=runner1,runner2
# Set properties for merc-runner1
worker.runner1.type=ajp13
worker.runner1.host=merc-runner1.hgomez.net
worker.runner1.port=8009
@hgomez
hgomez / default.conf
Created March 28, 2013 22:48
Apache Virtual Host for devops mercenaries lab
#
# Front non SSL
#
<VirtualHost *:80>
ServerName merc-front.hgomez.net
ServerAlias merc-front
ServerAdmin mercenaries-rocks@hgomez.net
@hgomez
hgomez / gatling.conf
Last active December 17, 2015 01:09
gatling 1.5.0, light mode
data {
writers = "console, file, graphite"
reader = file
console {
light = true
}
graphite {
light = true
host = "mygraphite.mycorp.org"
port = 2003
@hgomez
hgomez / gist:5541819
Created May 8, 2013 16:51
cant mount QEMU file
> qemu-img create -f raw hda.img 2G
> qemu-system-arm -m 256 -M versatilepb -kernel vmlinuz-3.2.0-4-versatile -initrd initrd.gz -hda hda.img -append “root=/dev/ram”
> qemu-img info hda.img
image: hda.img
file format: raw
virtual size: 2.0G (2147483648 bytes)
disk size: 1.3G
@hgomez
hgomez / openjdk8-lambda-failure-on-centos5-32bits
Created June 10, 2013 12:22
Compilation failiure of OpenJDK 8 with Lambda, b91, under CentOS 5 32bits
/home/cijenka/workspace/openjdk8-lambda/linux/centos5-i386-builder/sources/openjdk8-lambda/jdk/src/share/native/sun/awt/splashscreen/splashscreen_gfx_impl.c:292: warning: 'shift' may be used uninitialized in this function
/home/cijenka/workspace/openjdk8-lambda/linux/centos5-i386-builder/sources/openjdk8-lambda/jdk/src/solaris/native/sun/security/pkcs11/j2secmod_md.c: In function 'findFunction':
/home/cijenka/workspace/openjdk8-lambda/linux/centos5-i386-builder/sources/openjdk8-lambda/jdk/src/solaris/native/sun/security/pkcs11/j2secmod_md.c:42: warning: implicit declaration of function 'throwNullPointerException'
/home/cijenka/workspace/openjdk8-lambda/linux/centos5-i386-builder/sources/openjdk8-lambda/jdk/src/solaris/native/sun/security/pkcs11/j2secmod_md.c: In function 'Java_sun_security_pkcs11_Secmod_nssLoadLibrary':
/home/cijenka/workspace/openjdk8-lambda/linux/centos5-i386-builder/sources/openjdk8-lambda/jdk/src/solaris/native/sun/security/pkcs11/j2secmod_md.c:71: warning: implicit declaration of functio
@hgomez
hgomez / maven-build.log
Last active December 18, 2015 11:39
Slow download of Maven artifacts from Free ADSL
Downloading: https://repository.sonatype.org/content/groups/forge/com/google/guava/guava-parent/14.0.1/guava-parent-14.0.1.pom
Downloading: http://repo1.maven.org/maven2/com/google/guava/guava-parent/14.0.1/guava-parent-14.0.1.pom
Downloaded: http://repo1.maven.org/maven2/com/google/guava/guava-parent/14.0.1/guava-parent-14.0.1.pom (3 KB at 12.7 KB/sec)
Downloading: https://repository.sonatype.org/content/groups/forge/org/sonatype/sisu/sisu-inject-plexus/2.3.4/sisu-inject-plexus-2.3.4.pom
Downloaded: https://repository.sonatype.org/content/groups/forge/org/sonatype/sisu/sisu-inject-plexus/2.3.4/sisu-inject-plexus-2.3.4.pom (8 KB at 3.3 KB/sec)
Downloading: https://repository.sonatype.org/content/groups/forge/org/codehaus/plexus/plexus-utils/3.0.10/plexus-utils-3.0.10.pom
Downloaded: https://repository.sonatype.org/content/groups/forge/org/codehaus/plexus/plexus-utils/3.0.10/plexus-utils-3.0.10.pom (4 KB at 1.4 KB/sec)
Downloading: https://repository.sonatype.org/content/groups/forge/org/codehaus/plexus/plexus
@hgomez
hgomez / gist:5845089
Created June 23, 2013 13:48
OpenJDK 8 build failure on CentOS 5.9 32bits
/home/cijenka/workspace/openjdk8/linux/centos5-i386-builder/sources/openjdk8/jdk/src/share/native/sun/font/layout/StateTableProcessor2.cpp:48: warning: when initialized here
/home/cijenka/workspace/openjdk8/linux/centos5-i386-builder/sources/openjdk8/jdk/src/share/native/sun/font/layout/StateTableProcessor2.h:74: warning: 'StateTableProcessor2::classTable' will be initialized after
/home/cijenka/workspace/openjdk8/linux/centos5-i386-builder/sources/openjdk8/jdk/src/share/native/sun/font/layout/StateTableProcessor2.h:68: warning: 'le_uint16 StateTableProcessor2::format'
/home/cijenka/workspace/openjdk8/linux/centos5-i386-builder/sources/openjdk8/jdk/src/share/native/sun/font/layout/StateTableProcessor2.cpp:48: warning: when initialized here
/home/cijenka/workspace/openjdk8/linux/centos5-i386-builder/sources/openjdk8/jdk/src/share/native/sun/font/layout/SubtableProcessor2.h: In constructor 'SubtableProcessor2::SubtableProcessor2(const LEReferenceTo<MorphSubtableHeader2>&, LEErrorCode&)':
/home/cijenka/wor
@hgomez
hgomez / mvn-rpm-plugin.log
Created June 29, 2013 17:14
maven rpm plugin tests (maven 3.0.5, java 1.6.0-43, CentOS 6.4 64bits)
[root@builder-c664 rpm-maven-plugin]# mvn clean verify
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building RPM Maven Plugin 2.1-alpha-3-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ rpm-maven-plugin ---
[INFO] Deleting /root/rpm-maven-plugin/target
[INFO]
@hgomez
hgomez / lcc83.c
Created September 23, 2013 13:40
lcc83 from M. Lecharny
#include <stdio.h>
main()
{
char A[] = "Bonjour!";
printf("Je vous souhaite bien le %s\n", A);
7[A] = '?';
@hgomez
hgomez / mint141516.md
Last active December 29, 2024 11:26
Mint 14 -> Mint 15 -> Mint 16

Mint upgrade procedures

Some investigation and tests on how to upgrade Mint machine.

Tests performed on Mint Cinnamon 14/15/16, on physical machine 14->15 and VirtualBox VMs for 14->15->16 and 14->16.

As usual you could break your machine, so please do backups before and cross fingers.

Mint 14 -> Mint 15