Skip to content

Instantly share code, notes, and snippets.

View zbeekman's full-sized avatar
🏢
New Office, still neck deep in code

Izaak "Zaak" Beekman zbeekman

🏢
New Office, still neck deep in code
View GitHub Profile

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
zbeekman / ssh.config
Created November 4, 2019 15:22
ssh config file for demo
Host *
ControlPath ~/.ssh/tmp/%r@%h:%p
ControlPersist 30m
ServerAliveInterval 30
ServerAliveCountMax 5
# INL HPC
Host *.inl.gov inlhpc hpclogin falcon1 falcon2 quark bechler moosebuild
User <YOUR_USER_NAME>
ControlMaster auto
@zbeekman
zbeekman / ctest2junix.xsl
Created June 29, 2019 20:11 — forked from alexott/ctest2junix.xsl
XSL stylesheet to transform CTest results into JUnit format to import into Jenkins
<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 14:05
octave on macOS 10.14.4 - Homebrew build logs
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 18:21
pFUnit issues when making a Homebrew Formula
# 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!.
# 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 April 4, 2019 22:53 — forked from adrienbrault/purge.sh
Script to reduce VM size before packaging for vagrant
#!/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
#!/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
Loading
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 October 29, 2018 20:35
pwntools on macOS 10.14 - Homebrew build logs
Homebrew build logs for pwntools on macOS 10.14
Build date: 2018-10-29 16:28:05