View crobat.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View td-spark.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View Dockerfile
FROM python:3-alpine | |
EXPOSE 80 443 | |
RUN apk add --no-cache --virtual .certbot-deps \ | |
libffi libssl1.0 openssl ca-certificates binutils | |
RUN apk add --no-cache --virtual .build-deps \ | |
gcc linux-headers openssl-dev musl-dev libffi-dev \ | |
&& pip install --no-cache-dir certbot \ |
View LT.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View decision_tree.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View Makefile
run_jupyter: | |
docker run --runtime=nvidia --rm -d -p 80:8888 -v /notebooks:/notebooks \ | |
tensorflow/tensorflow:latest-gpu-py3 jupyter notebook \ | |
--notebook-dir=/notebooks --allow-root --NotebookApp.token='' |
View 0_led.py
import RPi.GPIO as GPIO | |
import time | |
INTERVAL = 0.5 | |
GPIO.setmode(GPIO.BCM) | |
PIN = 3 | |
GPIO.setup(PIN, GPIO.OUT) |
View Vagrantfile
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
Vagrant.configure("2") do |config| | |
config.vm.provider "virtualbox" do |vb| | |
vb.cpus = 1 | |
vb.memory = 1024 | |
# https://github.com/joelhandwell/ubuntu_vagrant_boxes/issues/1 | |
vb.customize ["modifyvm", :id, "--uartmode1", "disconnected"] |
View run_workflow.sh
#!/bin/bash -eu | |
if [ $# -ne 1 ]; then | |
echo -e "Usage:\n run_workflow.sh <workflowId>" 1>&2 | |
exit 1 | |
fi | |
API_BASE='http://127.0.0.1:65432' | |
WORKFLOW_ID=$1 | |
SESSION_TIME=`date -u +"%Y-%m-%dT%H:%M:%SZ"` |
View app.py
from flask import Flask | |
application = Flask(__name__) | |
@application.route("/") | |
def hello(): | |
return "Hello World!" |
NewerOlder