Skip to content

Instantly share code, notes, and snippets.

View johanek's full-sized avatar

Johan van den Dorpe johanek

View GitHub Profile
@mstump
mstump / historical_page_views.py
Last active April 23, 2019 11:39
Python Faust with an expiring cache reading from historical data, also using protobuf3 as the serializer
import asyncio
import calendar
import faust
import itertools
import random
import signal
import string
import time
import uuid
@kwilczynski
kwilczynski / rabbitmq_queue.rb
Last active February 28, 2017 02:42
RabbitMQ Queue type for Serverspec
# rubocop:disable ClassVars
module Serverspec
module Type
class RabbitMQQueue < Base
def initialize(queue)
@queue = queue
end
def exist?
value.key? @queue
@mgagne
mgagne / Gemfile
Created November 14, 2014 19:29
Using librarian-puppet-simple to read Puppetfile for your rspec-puppet fixtures
# Don't forget to add librarian-puppet-simple to your Gemfile
# From git
gem 'librarian-puppet-simple',
:git => 'git://github.com/bodepd/librarian-puppet-simple.git'
# From rubygems
gem 'librarian-puppet-simple', '~> 0.0.3'
@tomduckering
tomduckering / Women in DevOps.md
Last active December 15, 2015 02:19
Notes from the open space on gender diversity in DevOps at DevOpsDays London 2013.

Women in DevOps

(Proposer Notes: Whilst it's apparant that IT Operations as a field lacks diversity in many ways discussion was intentionally limited to gender. Further it's my experience that working for an employer who is explicitly targeting greater diversity, the ops end of the IT scale still suffers from being a white, male monoculture.)

@bhenerey
bhenerey / ideal ops.md
Created May 23, 2012 19:40
ideal ops checklist

In a perfect world, where things are done well, not just quickly, I would expect to find the following when joining the company:

Documentation

  • Accurate / up-to-date systems architecture diagram

  • Accurate / up-to-date network diagram

  • Out-of-hours support plan

  • Incident management plan