Skip to content

Instantly share code, notes, and snippets.

Avatar
🏢
New Office, still neck deep in code

Izaak "Zaak" Beekman zbeekman

🏢
New Office, still neck deep in code
View GitHub Profile
View MVC-for-humans.md

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 Nov 4, 2019
ssh config file for demo
View ssh.config
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 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