Skip to content

Instantly share code, notes, and snippets.

New Office, still neck deep in code

Izaak "Zaak" Beekman zbeekman

New Office, still neck deep in code
View GitHub Profile
zbeekman /
Last active Jul 21, 2021
Setting up GH-pages with custom domain, strict (end-to-end) SSL with CloudFlare DNS & CDN

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 /
Created Aug 31, 2018
Instructions for running Intel Advisor-xe to generate roofline plots (intel 18+)

Notes for Intel Advisor Roofline Generation of MPI/OpenMP Fortran Programs

These notes are targeting a Cray XC 40/50 system, however they should be relatively easy to generalize to other systems.


The following assumes your shell is bash. Intel provides .csh scripts too.


This text is by @kamranahmedse on this issue.

I, @zbeekman, am NOT the author or copyright holder of the following text. Therefore, any requests to publish or disseminate this should be directed towards @kamranahmedse. I am merely reposting this here for posterity.

zbeekman / ssh.config
Created Nov 4, 2019
ssh config file for demo
View ssh.config
Host *
ControlPath ~/.ssh/tmp/%r@%h:%p
ControlPersist 30m
ServerAliveInterval 30
ServerAliveCountMax 5
Host * inlhpc hpclogin falcon1 falcon2 quark bechler moosebuild
ControlMaster auto
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="" version="1.0">
<xsl:output method="xml" indent="yes"/>
<xsl:template match="/Site">
<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 / # 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 / 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 is the name of a variable in the cache.
# TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!.
# 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 /
Created Apr 4, 2019 — forked from adrienbrault/
Script to reduce VM size before packaging for vagrant
# Credits to:
# -
# -
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 fixup-eol-eof
sed -e 's/[ ]*$//' -e :a -e '/^\n*$/{$d;N;ba' -e '}' $1