Skip to content

Instantly share code, notes, and snippets.

Frank Hinek frankhinek

View GitHub Profile
@frankhinek
frankhinek / build_tf.sh
Last active Feb 21, 2018 — forked from venik/build_tf.sh
Bash script for local building TensorFlow on Mac with all CPU optimizations (default pip package has only SSE)
View build_tf.sh
# Check whether script is executing in a VirtualEnv or Conda environment
if [ -z "$VIRTUAL_ENV" ] && [ -z "$CONDA_PREFIX" ] ; then
echo "VirtualEnv or Conda env is not activated"
exit -1
fi
# Set the virtual environment path
if ! [ -z "$VIRTUAL_ENV" ] ; then
VENV_PATH=$VIRTUAL_ENV
elif ! [ -z "$CONDA_PREFIX" ] ; then
View keybase.md

Keybase proof

I hereby claim:

  • I am frankhinek on github.
  • I am frankhinek (https://keybase.io/frankhinek) on keybase.
  • I have a public key whose fingerprint is A3AB 596B 6C50 4E14 649A CA01 94BE 8F29 5A99 120F

To claim this, I am signing this object:

@frankhinek
frankhinek / marathon-python3-docker.json
Last active Aug 29, 2015
Marathon Task description for Python3 Docker container.
View marathon-python3-docker.json
{
"cmd": "env && python3 -m http.server $PORT0",
"container": {
"docker": {
"image": "python:3"
},
"type": "DOCKER"
},
"cpus": 0.25,
"healthChecks": [
You can’t perform that action at this time.