Skip to content

Instantly share code, notes, and snippets.

View iimog's full-sized avatar

Markus J. Ankenbrand iimog

View GitHub Profile
@willpearse
willpearse / pareto-bm-noodling.R
Last active November 5, 2021 17:55
Distributions of body mass noodling for sDevTraits
# Rough-and-ready body-mass/species-number estimation in mammals and birds
# Will Pearse - 2021-09-19
##########################
# Load data ##############
##########################
library(caper)
library(ape)
library(Pareto)
@Sharpie
Sharpie / README.md
Last active May 17, 2024 16:42
Metric Scraping Scripts

This gist contains various scripts for scraping metrics. Mostly useful for processing the contents of Puppet Enterprise support bundles:

  • sar2influx.rb: A Ruby script that uses sadf to turn SAR archives into InfluxDB line format. For best results, run from a Linux VM using a recent operating system. Such as Ubuntu 22.04.
  • pdb2influx.sh: A bash script that uses awk and mlr to extract command processing times from puppetdb.log files.
  • top-api-calls.sh: Extracts the 10 most popular API calls from *-access.log along with their median and max duration grouped into 30 minute periods (Puppet $runinterval). Uses awk and mlr.
@phryneas
phryneas / 00-README.md
Last active July 26, 2016 23:54
dnssec, openpgpkey, dane, sshfp

this is a short run-down of setting up dnssec, openpgpkey, dane and sshfp records if you already have a working bind installation

if you need a secondary DNS server that supports DNSSEC (the chances are high if you are not hosting two DNS servers yourself), take a look at https://freedns.afraid.org/ - it's free for basic usage (which is absolutely enough) and works like a charm!

@phryneas
phryneas / Build-gnupg-21 - README.md
Last active August 29, 2015 14:16
build gnupg2.1 on ubuntu trusty

This Makefile builds gnupg 2.1, creates .deb packages and installs them on ubuntu trusty (and most likely anywhere else where the necessary build-dependencies are present and checkinstall is installed ).

If you are missing dependencies, the ./configure steps should tell you about those.

Building

  • download gnupg-modern and all required libraries (libgcrypt,libgpg-error,libksba,libassuan,pinentry) from https://gnupg.org/download/index.html
  • potentially change version numbers in the Makefile
  • run make gpg