Skip to content

Instantly share code, notes, and snippets.

View jfchevrette's full-sized avatar

Jean-Francois Chevrette jfchevrette

  • Red Hat, Inc.
  • Montreal, Canada
View GitHub Profile
@jfchevrette
jfchevrette / 1.adoc
Created February 28, 2018 14:22 — forked from aslakknutsen/1.adoc
OSiO: Incident Report

The incident report is intended as a write up for transparency, cross-team knowledge transfer and to get in the habit of thinking in terms of continues improvement.

An Incident report should be created for each OSiO outage(small or large) in GH with label " type/incident": https://github.com/openshiftio/openshift.io/issues

Note: this is a public report so de sensitise data. No tokens, no users, no internal links etc

@jfchevrette
jfchevrette / 0_reuse_code.js
Created April 27, 2016 18:54
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
#!/bin/sh
# Some things taken from here
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
# Set the colours you can use
black='\033[0;30m'
white='\033[0;37m'
red='\033[0;31m'
green='\033[0;32m'
# Jenkins Stable
#
# VERSION 1.517/1.509.1
# DOCKER-VERSION 0.4.0
FROM base:ubuntu-12.10
MAINTAINER Victor Vieux <victor@vvieux.com>
# Install Jenkins Stable
RUN apt-get install wget -y
FROM ubuntu
RUN echo "deb http://archive.ubuntu.com/ubuntu precise main universe" > /etc/apt/sources.list
RUN apt-get update
RUN apt-get upgrade
RUN apt-get install -y openssh-server supervisor
ADD sshd.conf /etc/supervisor/conf.d/sshd.conf
RUN mkdir -p /var/run/sshd