This file contains 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 System; | |
using System.Linq; | |
using System.IO; | |
using System.Drawing.Imaging; | |
using System.Drawing; | |
using System.Configuration; | |
using System.Collections.Generic; | |
using System.Globalization; | |
namespace Helpers |
This file contains 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 System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using MongoDB.Bson; | |
using MongoDB.Driver; | |
// modified HDBRM, upstream: https://gist.github.com/Davoodeh/2cdb5ea7480a4c69e2cf3be086aa3255 | |
namespace HDBRM | |
{ | |
public class DB |
This file contains 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
#!/bin/sh | |
# Generates a python script that checks another input-based python script | |
# Uses another python file as the reference for "true" answers ($header file) | |
# | |
# $1: path to script to test | |
# $2: path to the file holding answers variable | |
# $3: optional pytest flags | |
# $4: if "keep", the script doesn't remove the constructed file | |
# | |
# A `header.py` example: |