Skip to content

Instantly share code, notes, and snippets.

;; .emacs
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(diff-switches "-u")
'(inhibit-startup-screen t))
@wohlbier
wohlbier / mnist_estimator.py
Last active February 1, 2021 19:10 — forked from elgehelge/mnist_estimator.py
Example using TensorFlow Estimator, Experiment & Dataset on MNIST data.
"""Script to illustrate usage of tf.estimator.Estimator in TF v2.3.0"""
import numpy as np
import tensorflow as tf
from tensorflow import keras
from tensorflow.keras import layers
# Show debugging output
tf.compat.v1.logging.set_verbosity(tf.compat.v1.logging.DEBUG)
# Set default flags for the output directories
@wohlbier
wohlbier / fe32.patch
Created October 31, 2018 18:33
mpich patch for foam-extend-3.2
diff --git a/etc/bashrc b/etc/bashrc
index f597336ba..2c47b61f5 100755
--- a/etc/bashrc
+++ b/etc/bashrc
@@ -95,7 +95,7 @@ export WM_THIRD_PARTY_USE_CMAKE_322=1
#
# For AllMake.stage2
-export WM_THIRD_PARTY_USE_OPENMPI_165=1
+#export WM_THIRD_PARTY_USE_OPENMPI_165=1