Skip to content

Instantly share code, notes, and snippets.

@jclagache
jclagache / resume.json
Last active March 20, 2024 17:02
resume.json
{
"$schema": "https://raw.githubusercontent.com/jsonresume/resume-schema/v1.0.0/schema.json",
"awards": [],
"basics": {
"email": "contact@jclagache.me",
"image": "",
"label": "Architecte Logiciel & DevOps",
"location": {
"address": "",
"countryCode": "FR"
@jclagache
jclagache / centos_python_install.md
Last active October 16, 2020 08:55 — forked from cchienhao/centos_python_install.md
Install Python 2.7.9 on CentOS 6

These instructions were mostly taken from here, though I've modified them to install Python 2.7.9 and the latest setuptools package.

# Install dependencies
yum groupinstall -y 'development tools'
yum install -y zlib-devel bzip2-devel openssl-devel xz-libs wget

# Download the Python source and unpack it
wget http://www.python.org/ftp/python/2.7.9/Python-2.7.9.tar.xz
xz -d Python-2.7.9.tar.xz
@jclagache
jclagache / App.config
Last active December 20, 2017 10:30
akka.config transformations
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<section name="akka" type="Akka.Configuration.Hocon.AkkaConfigurationSection, Akka" />
</configSections>
<akka configSource="akka.config"/>
</configuration>
@jclagache
jclagache / node_npm-rebuild.js.log
Created December 13, 2017 16:47
rocket.chat windows docker build logs
C:\app\bundle\programs\server>node npm-rebuild.js
> phantomjs@1.9.20 install C:\app\bundle\programs\server\npm\node_modules\meteor\emojione_emojione\node_modules\grunt-contrib-qunit\node_modules\grunt-lib-phantomjs\node_modules\phantomjs
> node install.js
PhantomJS not found on PATH
Downloading https://github.com/Medium/phantomjs/releases/download/v1.9.19/phantomjs-1.9.8-windows.zip
Saving to C:\Users\ContainerAdministrator\AppData\Local\Temp\phantomjs\phantomjs-1.9.8-windows.zip
Receiving...
[======================================--] 94%
@jclagache
jclagache / node_npm-rebuild.js.log
Created December 13, 2017 16:47
rocket.chat windows docker build logs
C:\app\bundle\programs\server>node npm-rebuild.js
> phantomjs@1.9.20 install C:\app\bundle\programs\server\npm\node_modules\meteor\emojione_emojione\node_modules\grunt-contrib-qunit\node_modules\grunt-lib-phantomjs\node_modules\phantomjs
> node install.js
PhantomJS not found on PATH
Downloading https://github.com/Medium/phantomjs/releases/download/v1.9.19/phantomjs-1.9.8-windows.zip
Saving to C:\Users\ContainerAdministrator\AppData\Local\Temp\phantomjs\phantomjs-1.9.8-windows.zip
Receiving...
[======================================--] 94%
@jclagache
jclagache / docker version
Last active September 21, 2017 15:29
Docker Snippets
Client:
Version: 17.06.1-ee-2
API version: 1.30
Go version: go1.8.3
Git commit: 8e43158
Built: Wed Aug 23 21:16:53 2017
OS/Arch: windows/amd64
Server:
Version: 17.06.1-ee-2
@jclagache
jclagache / DemocracyOS-docker-compose
Last active December 7, 2015 02:40
DemocracyOS-docker
DemocracyOS docker bootstrap
@jclagache
jclagache / Dockerfile
Created February 13, 2015 13:54
base Dockerfile for Puppet on Debian
FROM jclagache/debian-puppetbase
MAINTAINER Jean-Christophe Lagache "jclagache@gmail.com"
ADD puppet/ /etc/puppet/
RUN cd /etc/puppet/ && librarian-puppet install
RUN puppet apply /etc/puppet/manifests/site.pp --verbose --detailed-exitcodes || [ $? -eq 2 ]
@jclagache
jclagache / Build
Last active August 29, 2015 14:05
Dockerfile for customised boot2docker ISO
$ docker build -t "jclagache/boot2docker-vbga" .
$ docker run -i -t --rm jclagache/boot2docker-vbga /bin/bash
# in another shell (boot2docker ssh)
$ docker docker cp <container_id>:boot2docker.iso boot2docker.iso