Skip to content

Instantly share code, notes, and snippets.

@csmoore
csmoore / csv2htmlTable.py
Created January 26, 2018 21:53
Convert a CSV to an HTML file containing a table
#!/usr/bin/python
# Simple CSV to HTML Table File Converter
# Adapted from: https://gist.github.com/enigmaticape/4016913
import sys
import os
import csv
import string
### Params:
@csmoore
csmoore / gh-issues.py
Last active January 26, 2018 22:43 — forked from kgonzago/gh-issues.py
Collects issues from defense repos and output them to a CSV
#-------------------------------------------------------------------------------
# Name: gh-issues
# Purpose: Write issues from a repo to a csv file
# Created: 1/23/2018
#
# Note:
# Original script came from https://gist.github.com/unbracketed/3380407.
# Modified to fit our needs
#
# Example: processes JSON response from api call:
@csmoore
csmoore / FolderImageComparer.cs
Created December 1, 2018 00:24
Basic Normalized Histogram Equalization Compare
/* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 */
using System;
using System.IO;
using System.Collections.Generic;
using System.Linq;
namespace HistogramTest