Skip to content

Instantly share code, notes, and snippets.

View hgomez's full-sized avatar

Henri Gomez hgomez

View GitHub Profile
@hgomez
hgomez / zypper-bintray-security
Created January 8, 2013 12:15
Jenkins and Sonar update to date in Bintray repo (https://github.com/hgomez/devops-incubator)
devops-hoster:~ # sudo zypper clean
devops-hoster:~ # sudo zypper ref
devops-hoster:~ # sudo zypper search myjenkins mysonar
Loading repository data...
Reading installed packages...
S | Name | Summary | Type
--+-----------+-----------------------------------------------+--------
| myjenkins | Jenkins 1.498 powered by Apache Tomcat 7.0.34 | package
| mysonar | Sonar 3.4.1 powered by Apache Tomcat 7.0.34 | package
@hgomez
hgomez / testhdd.sh
Last active February 6, 2019 11:09
Sample HDD test script
#!/bin/sh
#
COUNT=2048
BLOCKSIZE=1M
while getopts "c:b:" opt; do
case $opt in
c)
COUNT=$OPTARG
@hgomez
hgomez / gist:4556918
Created January 17, 2013 15:49
Installing crash from devops-incubator packages

Installing crash from devops-incubator project packages

devops-incubator rpms are build by BuildHive and deployed to Bintray.

Yum/Zypper

Bintray expose rpms as a Yum repository, so you could add this this to your yum/zypper repos list :

#bintraybintray-hgomez-devops-incubator-rpm - packages by hgomez from Bintray

[bintraybintray-hgomez-devops-incubator-rpm]

@hgomez
hgomez / gist:4637633
Last active December 11, 2015 17:49
dacapobench 9.12, i5 3.10Ghz
* dacapobenc 9.12
* CPU : Intel(R) Core(TM) i5-2400 CPU @ 3.10GHz
* 16Go RAM
* openSUSE 12.1 64bits
##########################
# Benching IBM 1.6.0 x64 #
##########################
java version "1.6.0"
Java(TM) SE Runtime Environment (build pxa6460sr10-20111208_01(SR10))
@hgomez
hgomez / gist:4637752
Last active December 11, 2015 17:58
dacapobench 9.12, i7 2.4Ghz
* dacapobench 9.12
* Intel(R) Core(TM) i7-3630QM CPU @ 2.40GHz
* 16Gb DDR3 PC12800
* 256Gb SSD Vertex 4
* Linux Mint 14
##########################
# Benching IBM 1.6.0 x64 #
##########################
java version "1.6.0"
@hgomez
hgomez / dacapobench.sh
Last active July 26, 2019 12:51
dacapobench script
#!/bin/sh
#
# Purpose : launch dacapo 9.12-MR1 benchmarks
#
DACAPO_VERSION=9.12-MR1
DACAPO_DOWNLOAD_URL=https://sourceforge.net/projects/dacapobench/files/9.12-bach-MR1/dacapo-9.12-MR1-bach.jar
DACAPO_JAR=dacapo-${DACAPO_VERSION}-bach.jar
if [ ! -z "$WORKSPACE" ]; then
@hgomez
hgomez / oracledownload
Last active October 6, 2021 09:58
Oracle JVM download using curl/wget
# Downloading Oracle JVM without browser
Oracle requires you to accept its licence agreement before downloading its JVM.
It's a pain for those of us who do automation, native packages, Jenkins JVM deployment on slave...
I used Firefox and Firebug to sniff network exchanges.
## HTTP Request :
GET /otn-pub/java/jdk/6u39-b04/jdk-6u39-linux-i586.bin?AuthParam=1359814101_9685f919f8b3113a89574ec4570d47b2 HTTP/1.1
@hgomez
hgomez / linux-kernel-update-crash-openSUSE12.2
Last active December 14, 2015 21:28
Latest openSUSE 12.2 kernel update kill my VM
linux-tcay:~ # zypper update
Loading repository data...
Reading installed packages...
The following package is going to be upgraded:
kernel-default
1 package to upgrade.
Overall download size: 38.1 MiB. After the operation, 15.5 KiB will be freed.
Continue? [y/n/?] (y): y
@hgomez
hgomez / install-crash-1.2.0-cr7.md
Created March 14, 2013 14:49
Install crash 1.2.0-cr7 via devops-incubator rpm

Download and install crash via rpm

rpm -Uvh http://dl.bintray.com/content/hgomez/devops-incubator-rpm/crash-1.2.0.cr7-1.noarch.rpm

Start crash

crash.sh

   ______
 .~      ~. |`````````,       .'.                   ..'''' |         |
@hgomez
hgomez / steam-gpg-error
Created March 17, 2013 13:04
Steam apt GPG error
W: GPG error: http://repo.steampowered.com precise Release: The following signatures were invalid: BADSIG F24AEA9FB05498B7 Valve Corporation <linux@steampowered.com>