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

apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: hello-openshift
spec:
strategy:
type: Recreate
replicas: 1
selector:
matchLabels:
@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

Keybase proof

I hereby claim:

  • I am jfchevrette on github.
  • I am jfchevrette (https://keybase.io/jfchevrette) on keybase.
  • I have a public key whose fingerprint is B612 96A9 498E EECD D5E9 C0F0 67A0 5858 0129 0DC6

To claim this, I am signing this object:

#!/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'
<link rel="import" href="../topeka-elements/topeka-resources.html">
<link rel="import" href="../topeka-elements/topeka-leaderboard.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
# 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
vagrant@vagrant-ubuntu-raring-64:~ $ sudo salt-call state.highstate -l debug
[DEBUG ] Reading configuration from /etc/salt/minion
[DEBUG ] Guessing ID. The id can be explicitly in set /etc/salt/minion
[INFO ] Found minion id from getfqdn(): vagrant-ubuntu-raring-64
[INFO ] Configuration file path: /etc/salt/minion
[DEBUG ] Reading configuration from /etc/salt/minion
[DEBUG ] loading grain in ['/var/cache/salt/minion/extmods/grains', '/usr/lib/python2.7/dist-packages/salt/grains']
[DEBUG ] Skipping /var/cache/salt/minion/extmods/grains, it is not a directory
[DEBUG ] loading module in ['/var/cache/salt/minion/extmods/modules', '/usr/lib/python2.7/dist-packages/salt/modules']
[DEBUG ] Skipping /var/cache/salt/minion/extmods/modules, it is not a directory
{
"auto_complete_commit_on_tab": true,
"bold_folder_labels": true,
"caret_style": "solid",
"close_windows_when_empty": true,
"color_scheme": "Packages/Tomorrow Color Schemes/Tomorrow-Night-Eighties.tmTheme",
"create_window_at_startup": false,
"ensure_newline_at_eof_on_save": true,
"file_exclude_patterns":
[