Skip to content

Instantly share code, notes, and snippets.

View JamisonWhite's full-sized avatar

Jamison White JamisonWhite

  • Zix, LLC
  • Pensacola, FL
View GitHub Profile
@njoerd114
njoerd114 / README.MD
Last active April 26, 2025 08:07
Sankey Diagram with Google Spreadsheets

Sankey Diagrams within Google Spreadsheets

This Gist is there to help you creating a Sankey Diagram from your Google Spreadsheets.

Installation

  • Open a spreadsheet
  • Click "Tools" -> "Scripts"
public class CommandLineHelper
{
/// <summary>
/// Get value from command line
/// </summary>
/// <remarks>
/// Example:
/// GetCommandLineValue(args, "--START", out _startDate, DateTime.MinValue);
/// </remarks>
@dimi-tree
dimi-tree / 01-02.py
Last active February 2, 2022 20:41
Udacity: Machine Learning for Trading
# Working with multiple stocks
"""
SPY is used for reference - it's the market
Normalize by the first day's price to plot on "equal footing"
"""
import os
import pandas as pd
import matplotlib.pyplot as plt
@richardkundl
richardkundl / BloomFilter.cs
Created January 7, 2014 14:29
Bloom filter implementation in c#.
namespace BloomFilter
{
using System;
using System.Collections;
/// <summary>
/// Bloom filter.
/// </summary>
/// <typeparam name="T">Item type </typeparam>
public class Filter<T>
@TaoK
TaoK / TextFileEncodingDetector.cs
Last active October 21, 2024 16:41
Simple class to automatically detect text file encoding, with English-biased "best guess" heuristic based on byte patterns in the absence of BOM.
using System;
using System.Text;
using System.Text.RegularExpressions;
using System.IO;
namespace KlerksSoft
{
public static class TextFileEncodingDetector
{
/*