Skip to content

Instantly share code, notes, and snippets.

View bazadactyl's full-sized avatar
😃

baz bazadactyl

😃
  • Vancouver, BC, Canada
View GitHub Profile
@bazadactyl
bazadactyl / install-tf.sh
Created December 13, 2017 22:41
Installing TensorFlow 1.4 (CPU only) from source on Ubuntu 16.04
###################################################################
## Compile and install TensorFlow 1.4 (CPU only) on Ubuntu 16.04 ##
###################################################################
# Install Bazel
sudo apt-get install openjdk-8-jdk -y
echo "deb [arch=amd64] http://storage.googleapis.com/bazel-apt stable jdk1.8" | sudo tee /etc/apt/sources.list.d/bazel.list
curl https://bazel.build/bazel-release.pub.gpg | sudo apt-key add -
sudo apt-get update -y && sudo apt-get install bazel -y
sudo apt-get upgrade bazel -y
# Settings
ServerName www.projectlovelace.net
## Default overrides
ServerSignature Off
ServerTokens Prod
Timeout 30
<VirtualHost *:80>
@bazadactyl
bazadactyl / engine
Created June 15, 2017 02:52
Lovelace Engine FreeBSD Service Configuration
#!/bin/sh
# PROVIDE: engine
# REQUIRE: DAEMON
# AFTER: LOGIN
# KEYWORD: nojail shutdown
. /etc/rc.subr
# When managing the service using "service engine (start|stop)"
###############################################################################
## Monit control file
###############################################################################
##
## Comments begin with a '#' and extend through the end of the line. Keywords
## are case insensitive. All path's MUST BE FULLY QUALIFIED, starting with '/'.
##
## Below you will find examples of some frequently used statements. For
## information about the control file and a complete list of statements and
## options, please have a look in the Monit manual.