This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Statistics | |
using Plots | |
function SmoothedZscoreAlgo(y, lag, threshold, influence) | |
# Julia implimentation of http://stackoverflow.com/a/22640362/6029703 | |
n = length(y) | |
signals = zeros(n) # init signal results | |
filteredY = copy(y) # init filtered series | |
avgFilter = zeros(n) # init average filter | |
stdFilter = zeros(n) # init std filter |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
macro __str(x) | |
:(Symbol($x)) | |
end | |
_"Spaces Are Evil" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import autoit | |
import datetime | |
def login_handler(username, password): | |
""" | |
Hey PeopleSoft this is what I think of you pesky Windows Security modal (ಠ_ಠ)┌∩┐ | |
Python to rule the world! | |
:param username: String | |
:param password: String | |
:return: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM jupyter/datascience-notebook:e5c5a7d3e52d | |
LABEL maintainer="Matt Camp <[email protected]>" | |
USER root | |
RUN echo "root:Docker!" | chpasswd | |
RUN echo "jovyan:Docker?" | chpasswd | |
RUN apt-get update \ | |
&& apt-get install -y \ | |
curl apt-utils apt-transport-https debconf-utils gcc build-essential g++-5\ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function make_table(data){ | |
$('#generic_datatable').empty(); | |
var datatables_cols = []; | |
for(var cc=0; cc < data['columns'].length; cc++){ | |
var col = { 'title': data['columns'][cc] }; | |
datatables_cols.push(col); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(document).ready(function() { | |
// Function to convert an img URL to data URL | |
function getBase64FromImageUrl(url) { | |
var img = new Image(); | |
img.crossOrigin = "anonymous"; | |
img.onload = function () { | |
var canvas = document.createElement("canvas"); | |
canvas.width =this.width; | |
canvas.height =this.height; | |
var ctx = canvas.getContext("2d"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function pandasSplitDict(df){ | |
var dataframe = []; | |
var cols = df.columns; | |
var data = df.data; | |
for (var r = 0; r < data.length; r++){ | |
var record = {}; | |
for (var c = 0; c < cols.length; c++){ | |
record[cols[c]] = data[r][c]; |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git filter-branch --force --index-filter "git rm --cached --ignore-unmatch config.py" --prune-empty --tag-name-filter cat -- --all | |
git push origin master -f |