Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
# Defaults for virtualbox initscript | |
# sourced by /etc/init.d/virtualbox | |
# installed at /etc/default/virtualbox by the maintainer scripts | |
# | |
# This is a POSIX shell fragment | |
# | |
# Set this to 1 if you would like the virtualbox modules to be loaded by | |
# the init script. |
_________ _____ _______________ _____
\_ ___ \\ \\___________ \____ / ____\ ~/.bash/cliref.md
/ \ \/| | | || _/ __ \ __\ copy/paste from whatisdb
\ \___|__ |_|_ || | \ __/|_ | http://pastebin.com/yGmGiDQX
\________ /_____ \_||____|_ /____ /_| yunga.palatino@gmail.com
20160515 \/ 1527 \/ \/ \/
alias CLIRef.txt='curl -s "http://pastebin.com/raw/yGmGiDQX" | less -i'
/***************************************** | |
* Read QSee/Zmodo cameras * | |
* Forward stream to FIFO pipe * | |
* Author: Daniel Osborne * | |
* Based on IP Cam Viewer by Robert Chou * | |
* License: Public Domain * | |
*****************************************/ | |
/* Version history | |
* 0.41 - 2013-05-03 |
runs <- read.csv("myrunninglog.csv", header=T, sep=",") | |
#convert date | |
runs$Date <- strptime(as.character(runs$Date), format="%Y-%m-%d") | |
#convert distance from km to meters | |
runs$Distance <- 1000 * runs$Distance | |
ggplotRegression <- function (fit) { | |
#!/usr/bin/perl | |
use Mojolicious::Lite; | |
use Mojo::Util qw(url_escape url_unescape); | |
use File::Path qw(make_path); | |
use Getopt::Std; | |
##### Available colors and sizes on google image search ### | |
my %color = ( | |
full => "ic:color", bw => "ic:gray", any => "", |
These directions are geared toward OS X but I'm assuming this will work on Linux systems and possibly Windows machines with mplayer
/mencoder
installed. These directions assume basic familiarity with the terminal/command line. If you are not comfortable with that or would rather use a GUI, there are other options like this helpful page which shows how to use the DivX video converter to do this same thing.
I also assume these instructions will work on other Pioneer head units I don't happen to own, and possibly on other brands as well.
from flask import Flask, request, jsonify, json, abort | |
from flask_cors import CORS, cross_origin | |
import pandas as pd | |
app = Flask(__name__) | |
cors = CORS(app) | |
app.config['CORS_HEADERS'] = 'Content-Type' |
# https://www.quantopian.com/posts/technical-analysis-indicators-without-talib-code | |
import numpy | |
import pandas as pd | |
import math as m | |
#Moving Average | |
def MA(df, n): | |
MA = pd.Series(pd.rolling_mean(df['Close'], n), name = 'MA_' + str(n)) | |
df = df.join(MA) |