Skip to content

Instantly share code, notes, and snippets.

View hgomez's full-sized avatar

Henri Gomez hgomez

View GitHub Profile
@hgomez
hgomez / g644-error
Last active August 29, 2015 13:56
Update to gitlab 6.6.4 worked but system didn't start
Starting the GitLab Unicorn web server...
Starting the GitLab Sidekiq event dispatcher...
** Invoke sidekiq:start (first_time)
** Execute sidekiq:start
rake aborted!
SIGTERM
/var/lib/mycorp/gitlab/gitlab/lib/tasks/sidekiq.rake:9:in `system'
/var/lib/mycorp/gitlab/gitlab/lib/tasks/sidekiq.rake:9:in `block (2 levels) in <top (required)>'
/var/lib/mycorp/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/rake-10.1.1/lib/rake/task.rb:236:in `call'
/var/lib/mycorp/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/rake-10.1.1/lib/rake/task.rb:236:in `block in execute'
@hgomez
hgomez / eclipse-mat-131-mint16-fail
Last active August 29, 2015 13:56
Eclipse MAT 1.3.1 failure on Mint 16 ;(
MemoryAnalyzer-1.3.1.20140107-linux.gtk.x86_64.zip on Mint 16 (64bits) :
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007f6fe5f501d1, pid=15660, tid=140120617559808
#
# JRE version: 6.0_45-b06
# Java VM: Java HotSpot(TM) 64-Bit Server VM (20.45-b01 mixed mode linux-amd64 compressed oops)
# Problematic frame:
@hgomez
hgomez / jenkins-set-credis.groovy
Last active November 8, 2021 12:01
Jenkins Groovy script to set CredentialsId
import hudson.model.*
import hudson.maven.*
import hudson.tasks.*
import hudson.scm.*
def match_url = "http://svn.mycorp.com/svn/devops"
for(item in Hudson.instance.items) {
hasClaim = false;
if (item.scm instanceof SubversionSCM)
@hgomez
hgomez / fontconfig-patch.md
Created January 24, 2014 09:03
fontconfig patch failure on CentOS 5

fontconfig-patch used in OBuildfactory, https://github.com/hgomez/obuildfactory/blob/master/openjdk7/linux/patches/fontfix.patch, works well for CentOS 6, Fedora 18 and openSUSE 12.2/12.3 but fail build on CentOS 5

04"' -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -D_REENTRANT -D_LP64=1 -I. -I/home/cijenka/workspace/openjdk7u/linux/centos5-x86_64-builder/sources/openjdk7/build/linux-amd64/tmp/sun/sun.font/fontmanager/CClassHeaders -I../../../src/solaris/javavm/export -I../../../src/share/javavm/export -I../../../src/share/native/common -I../../../src/solaris/native/common -I../../../src/share/native/sun/font -I../../../src/solaris/native/sun/font -I/home/cijenka/OBF_DROP_DIR/freetype/include -I/home/cijenka/OBF_DROP_DIR/freetype/include/freetype2 -I../../../src/share/native/sun/font -I../../../src/share/native/sun/font/layout -I../../../src/share/native/sun/awt/image/cvutils -I../../../src/solaris/native/sun/awt -I../../../src/share/native/sun/awt/debug -I../../../src/share/native/sun/java2d/loops -I../../

@hgomez
hgomez / mavibot-tests.md
Created December 17, 2013 10:35
mavibot build tests, various JVM (Intel(R) Core(TM) i5-2400 CPU @ 3.10GHz, 16Gb RAM, HDD 5400 RPM)

Sun/Oracle Hotspot 1.6.0-45

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.directory.mavibot.btree.InMemoryBTreeFlushTest
Written 10000 elements in : 215ms
Written 20000 elements in : 151ms
Written 30000 elements in : 119ms

Written 40000 elements in : 131ms

@hgomez
hgomez / openjdk8-centos5-build-error
Created December 16, 2013 14:45
OpenJDK 8 build error on CentOS 5
Started by upstream project "openjdk8" build number 123
originally caused by:
Started by user ********
Building remotely on devops-builder-c564 in workspace /home/cijenka/workspace/openjdk8/linux/centos5-x86_64-builder
Fetching changes from the remote Git repository
Fetching upstream changes from https://github.com/********/obuildfactory.git
Checking out Revision b5e29f115a09a8b75b0e7058f2b0177349b6b0a6 (origin/master)
[centos5-x86_64-builder] $ /bin/bash /tmp/hudson4006814633557877571.sh
# Repositories: . ./corba ./hotspot ./jaxp ./jaxws ./jdk ./langtools ./nashorn
@hgomez
hgomez / mint16-bad-sig
Created October 27, 2013 17:00
Bad SIG in Petra (Mint 16)
Ign http://packages.linuxmint.com petra/upstream Translation-en
Ign http://packages.linuxmint.com petra/upstream Translation-fr
Fetched 171 kB in 15s (11,0 kB/s)
Reading package lists... Done
W: GPG error: http://packages.linuxmint.com petra Release: The following signatures were invalid: BADSIG 3EE67F3D0FF405B2 Clement Lefebvre (Linux Mint Package Repository v1) <root@linuxmint.com>
@hgomez
hgomez / mongodbstop
Last active December 26, 2015 03:19
Mongodb stop at init time
Mongodb start and stop at boot time :(
Oct 21 09:36:11 qaf-mysql55 kernel: [ 7.497088] EXT4-fs (dm-0): mounted filesystem with ordered data mode. Opts: acl,user_xattr
Oct 21 09:36:11 qaf-mysql55 kernel: [ 7.505886] EXT4-fs (dm-2): mounted filesystem with ordered data mode. Opts: acl,user_xattr
Oct 21 09:36:11 qaf-mysql55 kernel: [ 7.521741] EXT4-fs (dm-3): mounted filesystem with ordered data mode. Opts: acl,user_xattr
Oct 21 09:36:11 qaf-mysql55 kernel: [ 7.562705] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: acl,user_xattr
Oct 21 09:36:11 qaf-mysql55 systemd-logind[513]: New seat seat0.
Oct 21 09:36:11 qaf-mysql55 mongodb[529]: Starting mongodb warning: remove or comment out this line by starting it with '#', skipping now : noauth = false
Oct 21 09:36:11 qaf-mysql55 mongodb[529]: about to fork child process, waiting until server is ready for connections.
Oct 21 09:36:11 qaf-mysql55 mongodb[529]: forked process: 572
@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

@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] = '?';