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 Sep 18, 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 Sep 26, 2018 — forked from StanAngeloff/
Simple Image Diff for Git
#!/usr/bin/env python
# Simple Image Diffs
# ==================
# How to Install
# --------------
# Download the script somewhere on $PATH as 'simple-imagediff' with +x:
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.

zbeekman /
Last active Feb 9, 2018
Attempted fix for deleted issue
#include <boost/algorithm/string.hpp>
// ...
// Add binaries from the sample file.
exe_maps_result_cptr_t exe_maps =
exe_maps_t(context, configuration->sample_file).get();
BOOST_FOREACH(const exe_map_t &exe_map, exe_maps->exe_maps)
boost::replace_all(exe_map.filename, " (deleted)", "");
zbeekman / # opencv - 2017-08-18_11-04-24.txt
Created Aug 18, 2017
opencv (homebrew/science/opencv) on macOS 10.10.5 - Homebrew build logs
View # opencv - 2017-08-18_11-04-24.txt
Homebrew build logs for homebrew/science/opencv on macOS 10.10.5
Build date: 2017-08-18 11:04:24
View index.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
zbeekman / # opencoarrays - 2017-08-10_12-09-07.txt
Created Aug 10, 2017
opencoarrays on macOS 10.12.6 - Homebrew build logs
View # opencoarrays - 2017-08-10_12-09-07.txt
Homebrew build logs for opencoarrays on macOS 10.12.6
Build date: 2017-08-10 12:09:07
zbeekman / plplot.diff
Last active Jul 24, 2017
patch for plplot when building w/ Fortran bindings on macOS
View plplot.diff
:100644 100644 2b46dbe... 0000000... M cmake/modules/pkg-config.cmake
diff --git i/cmake/modules/pkg-config.cmake w/cmake/modules/pkg-config.cmake
index 2b46dbe..7ecc789 100644
--- i/cmake/modules/pkg-config.cmake
+++ w/cmake/modules/pkg-config.cmake
@@ -230,7 +230,7 @@ function(pkg_config_link_flags link_flags_out link_flags_in)
"/System/Library/Frameworks/([^ ]*)\\.framework"
"-framework \\1"
zbeekman / # plplot - 2017-07-21_19-24-32.txt
Created Jul 21, 2017
plplot on macOS 10.10.5 - Homebrew build logs
View # plplot - 2017-07-21_19-24-32.txt
Homebrew build logs for plplot on macOS 10.10.5
Build date: 2017-07-21 19:24:32
zbeekman /
Created Jun 16, 2017
A script that will automatically install OpenCoarrays using Homebrew. MPICH and OpenCoarrays will be compiled and installed with GCC-7
#!/usr/bin/env bash
set -o nounset
set -o pipefail
set -o errexit
set -o errtrace
msg="Press Ctrl-C to abort, or enter to continue"
echo "Tapping homebrew-bundle"
read -rp "${msg}"
brew tap homebrew/bundle