Skip to content

Instantly share code, notes, and snippets.

View kwa29's full-sized avatar
💭
I may be slow to respond.

Didier kwa29

💭
I may be slow to respond.
View GitHub Profile
╔═════════════╦═══════════════════════════════════════════════════════╦══════════════════════════════════════════════════╗
║ Flow Metric ║ Description ║ Example ║
╠═════════════╬═══════════════════════════════════════════════════════╬══════════════════════════════════════════════════╣
║ Flow ║ mutually exclusive and comprehensively exhaustive ║ proportion of each flow unit actively ║
║ Distribution║ allocation of flow items in a particular flow state ║ being worked on in a particular sprint ║
║ ║ across a measure of time ║ ║
╠═════════════║═══════════════════════════════════════════════════════╬══════════════════════════════════════════════════╣
║ Flow ║ number of flow items done in a given time ║ debts resolved for a particular release ║
║ Velocity ║
@kwa29
kwa29 / badges.py
Created September 23, 2019 12:00 — forked from stefanv/badges.py
Conference badge generator
# Original version is
# Copyright (c) 2008 Richard Wall <richard (at) the-moon.net>
# License: "Yes, by all means use and modify the code."
"""
Classes and functions concerned with the creation of delegate badges
"""
from reportlab.lib.styles import getSampleStyleSheet
from reportlab.lib.units import cm, mm
from reportlab.pdfgen import canvas

Keybase proof

I hereby claim:

  • I am kwa29 on github.
  • I am kwa29 (https://keybase.io/kwa29) on keybase.
  • I have a public key whose fingerprint is 6D71 B1A6 E0AC 7F14 BA54 3E66 1F0D 6FE7 70FC D00D

To claim this, I am signing this object:

#!/bin/bash
DATE=`date +%m-%d-%Y`
for dir in /home/*
do
base=$(basename "$dir")
tar -czf "/tmp/${base}-${HOSTNAME}-${DATE}.tar.gz" -C "$dir" .
drive upload -p '<GOOGLE_DRIVE_FOLDER_ID>' -f /tmp/${base}-${HOSTNAME}-${DATE}.tar.gz
rm -rf /tmp/${base}-${DATE}.tar.gz
done
@kwa29
kwa29 / Prometheus_tasks_main.yml
Created January 2, 2018 14:28
Prometheus/tasks/main.yml
- name: Load specific variable from file
include_vars: "vars/{{ansible_hostname}}.yml"
- name: Load recording rules from file
include_vars: "vars/recording.rules.yml"
- name: Install docker-py pip package
pip: name=docker-py version="1.7.0"
when:
- not ansible_check_mode
###################################
#
# Recipe to have happiest dev
#
###############################
########
# Cake #
########
)