Skip to content

Instantly share code, notes, and snippets.

🏢
Physics & Build system coding

Izaak "Zaak" Beekman zbeekman

🏢
Physics & Build system coding
Block or report user

Report or block zbeekman

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@zbeekman
zbeekman / ctest2junix.xsl
Created Jun 29, 2019 — forked from alexott/ctest2junix.xsl
XSL stylesheet to transform CTest results into JUnit format to import into Jenkins
View ctest2junix.xsl
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output method="xml" indent="yes"/>
<xsl:template match="/Site">
<testsuite>
<xsl:variable name="BuildName"><xsl:value-of select="@BuildName"/></xsl:variable>
<xsl:variable name="BuildStamp"><xsl:value-of select="@BuildStamp"/></xsl:variable>
<xsl:variable name="Name"><xsl:value-of select="@Name"/></xsl:variable>
<xsl:variable name="Generator"><xsl:value-of select="@Generator"/></xsl:variable>
<xsl:variable name="CompilerName"><xsl:value-of select="@CompilerName"/></xsl:variable>
@zbeekman
zbeekman / # octave - 2019-05-14_10-02-48.txt
Created May 14, 2019
octave on macOS 10.14.4 - Homebrew build logs
View # octave - 2019-05-14_10-02-48.txt
Homebrew build logs for octave on macOS 10.14.4
Build date: 2019-05-14 10:02:48
@zbeekman
zbeekman / CMakeCache.txt
Created May 7, 2019
pFUnit issues when making a Homebrew Formula
View CMakeCache.txt
# This is the CMakeCache file.
# For build in directory: /tmp/pfunit-20190507-36706-1qjb902/pFUnit-4.0.0/build
# It was generated by CMake: /usr/local/Cellar/cmake/3.14.3/bin/cmake
# You can edit this file to change values found and used by cmake.
# If you do not want to change any of the values, simply exit the editor.
# If you do want to change a value, simply edit, save, and exit the editor.
# The syntax for the file is as follows:
# KEY:TYPE=VALUE
# KEY is the name of a variable in the cache.
# TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!.
View brew-list-src-installed.sh
# A Homebrew alias for printing formulae that were installed from source when bottles are available
brew info --json=v1 --installed | jq "map( select( .installed | map( select( .poured_from_bottle | not ) ) != [] ) ) | map(select(.bottle != {}) | .name)"
@zbeekman
zbeekman / purge.sh
Created Apr 4, 2019 — forked from adrienbrault/purge.sh
Script to reduce VM size before packaging for vagrant
View purge.sh
#!/bin/sh
# Credits to:
# - http://vstone.eu/reducing-vagrant-box-size/
# - https://github.com/mitchellh/vagrant/issues/343
aptitude -y purge ri
aptitude -y purge installation-report landscape-common wireless-tools wpasupplicant ubuntu-serverguide
aptitude -y purge python-dbus libnl1 python-smartpm python-twisted-core libiw30
aptitude -y purge python-twisted-bin libdbus-glib-1-2 python-pexpect python-pycurl python-serial python-gobject python-pam python-openssl libffi5
View tau_profile_parser.py
#!/bin/env python
"""TAU trial data for TAU Profile.x.y.z format profiles
Parses a set of TAU profile files and yields multi-indexed Pandas dataframes for the
interval and atomic events.
"""
from __future__ import print_function
import csv
import glob
import mmap
View tau_profile_parser_example.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@zbeekman
zbeekman / # pwntools - 2018-10-29_16-28-05.txt
Created Oct 29, 2018
pwntools on macOS 10.14 - Homebrew build logs
View # pwntools - 2018-10-29_16-28-05.txt
Homebrew build logs for pwntools on macOS 10.14
Build date: 2018-10-29 16:28:05
@zbeekman
zbeekman / GH-CF-strict-SSL-w-CDN.md
Last active Jan 21, 2019
Setting up GH-pages with custom domain, strict (end-to-end) SSL with CloudFlare DNS & CDN
View GH-CF-strict-SSL-w-CDN.md

Custom domains, GH-pages, Cloudflare and strict SSL end-to-end encryption

Why I wrote this

Before Github supported SSL encryption for github pages sites, many people were using CloudFlare (CF) as their DNS provider and CDN proxy. CF allowed users to enable SSL encryption from the CDN end points/proxies to the end user. This was great and it allowed visitors to your website to connect with a secure connection between their browser and the cloudflare CDN box that was serving your content. However, with this setup one (significant) link in the chain remained unencrypted and

@zbeekman
zbeekman / simple-imagediff.py
Created Sep 26, 2018 — forked from StanAngeloff/simple-imagediff.py
Simple Image Diff for Git
View simple-imagediff.py
#!/usr/bin/env python
# Simple Image Diffs
# ==================
#
# How to Install
# --------------
#
# Download the script somewhere on $PATH as 'simple-imagediff' with +x:
#
You can’t perform that action at this time.