Skip to content

Instantly share code, notes, and snippets.

View speth's full-sized avatar

Ray Speth speth

View GitHub Profile
@speth
speth / jupyterhub
Last active August 17, 2018 19:48 — forked from kose-y/jupyterhub
Jupyterhub init.d script. Put this script in /etc/init.d
#!/bin/bash
### BEGIN INIT INFO
# Provides:
# Required-Start: $remote_fs $syslog
# Required-Stop: $remote_fs $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Start daemon at boot time
# Description: Enable service provided by daemon.
### END INIT INFO
@speth
speth / H2flame.m
Last active December 10, 2015 21:18 — forked from mohsenayoobi/H2flame.m
% FLAME1 - A burner-stabilized flat flame
%
% This script simulates a burner-stablized lean hydrogen-oxygen flame
% at low pressure.
help flame1;
%disp('press any key to begin the simulation');
%pause;
t0 = cputime; % record the starting time