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
@zbeekman
zbeekman / # grass - 2016-05-17_15-38-14.txt
Created May 17, 2016 19:58
grass on Mac OS X 10.10.5 - Homebrew build logs
Homebrew build logs for grass on Mac OS X 10.10.5
Build date: 2016-05-17 15:38:14
@zbeekman
zbeekman / error.txt
Last active May 24, 2016 18:54
s.gsub! regexp help
Error: inreplace failed
/usr/local/homebrew/Cellar/gasnet/1.26.0/include/gasnet_tools-par.mak:
expected replacement of /\/usr\/local\/homebrew\/Library\/ENV\/4\.3\/clang\+\+/ with "clang++"
@zbeekman
zbeekman / # mpich - 2016-09-02_09-07-01.txt
Created September 11, 2016 19:24
mpich on Mac OS X 10.10.5 - Homebrew build logs
Homebrew build logs for mpich on Mac OS X 10.10.5
Build date: 2016-09-02 09:07:01
@zbeekman
zbeekman / gcc-trunk-mac-bootstrap.patch
Last active November 15, 2016 13:57
Patch gcc trunk to bootstrap on OS X. See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78267 for more info. This is "untested patch 2"
diff --git a/libsanitizer/sanitizer_common/sanitizer_mac.cc b/libsanitizer/sanitizer_common/sanitizer_mac.cc
index 4408d1d..e495a10 100644
--- a/libsanitizer/sanitizer_common/sanitizer_mac.cc
+++ b/libsanitizer/sanitizer_common/sanitizer_mac.cc
@@ -34,7 +34,7 @@
extern char **environ;
#endif
-#if defined(__has_include) && __has_include(<os/trace.h>)
+#if defined(__has_include) && __has_include(<os/trace.h>) && defined(__clang__)

Keybase proof

I hereby claim:

  • I am zbeekman on github.
  • I am zbeekman (https://keybase.io/zbeekman) on keybase.
  • I have a public key ASB1BVh7CLa59CfZuosU3ruSnOON1SlbQnN2saQvdEkf2Ao

To claim this, I am signing this object:

@zbeekman
zbeekman / crush-pngs-git-history.bash
Last active February 3, 2017 03:55
Use `git filter-branch` to crush all `.png` files in `<path/to/img/dir/here>` on OS X with imageoptim, imageoptim-cli, and ImageAlpha.app
git filter-branch --prune-empty --tree-filter 'pwd ; ls -a ; imageoptim -a -q --verbose -d <path/to/img/dir/here> || true' -- --all
@zbeekman
zbeekman / # graphviz - 2017-02-20_19-52-30.txt
Created February 21, 2017 01:09
graphviz on macOS 10.10.5 - Homebrew build logs
Homebrew build logs for graphviz on macOS 10.10.5
Build date: 2017-02-20 19:52:30
@zbeekman
zbeekman / brew-install-opencoarrays.sh
Created June 16, 2017 20:21
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
@zbeekman
zbeekman / # plplot - 2017-07-21_19-24-32.txt
Created July 21, 2017 23:25
plplot on macOS 10.10.5 - Homebrew build logs
Homebrew build logs for plplot on macOS 10.10.5
Build date: 2017-07-21 19:24:32
@zbeekman
zbeekman / plplot.diff
Last active July 24, 2017 14:34
patch for plplot when building w/ Fortran bindings on macOS
: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"
link_flags