Skip to content

Instantly share code, notes, and snippets.

Corstian Boerman corstian

View GitHub Profile
@corstian
corstian / LicenseComparison.cs
Created Nov 12, 2019
The scripts which have been used to try and figure out a license plate from some IR over-illuminated shots. Full blog post on https://corstianboerman.com.
View LicenseComparison.cs
void Main()
{
StreamReader csvreader = new StreamReader(@"C:\Documents\subset.csv");
var font = new Font("kenteken", 300, FontStyle.Regular, GraphicsUnit.Pixel, 0x00);
Dictionary<String, double[]> results = new Dictionary<String, double[]>();
var reference = new Bitmap(@"C:\Documents\reference.bmp");
var normalizedRef = Normalize(reference);
@corstian
corstian / mountain.md
Created Jun 3, 2019
Left mountain part
View mountain.md

mountain-left

This is the left part of the mountain I use to decorate my profile :)

@corstian
corstian / mountain.md
Last active Jun 3, 2019
Right mountain part
View mountain.md

mountain-right

This is the right part of the mountain I use to decorate my profile :)

@corstian
corstian / CoordinatesToText.linq
Created Feb 22, 2019
Representing coordinates in a human readable way
View CoordinatesToText.linq
<Query Kind="Program">
<Reference>&lt;RuntimeDirectory&gt;\System.IO.Compression.dll</Reference>
<Reference>&lt;RuntimeDirectory&gt;\System.IO.Compression.FileSystem.dll</Reference>
<NuGetReference>Humanizer</NuGetReference>
<NuGetReference>NetTopologySuite</NuGetReference>
<Namespace>System.IO.Compression</Namespace>
<Namespace>System.Net</Namespace>
<Namespace>System.Threading.Tasks</Namespace>
<Namespace>NetTopologySuite.Index.KdTree</Namespace>
<Namespace>GeoAPI.Geometries</Namespace>
@corstian
corstian / easa_flightlog.html
Created Aug 7, 2018
This gist contains the html code to display a table to display the flight log according to EASA standards. Bootstrap has been used.
View easa_flightlog.html
<table class="table table-bordered">
<thead>
<tr>
<th scope="col" rowspan=2>#</th>
<th scope="col">Date</th>
<th scope="col" colspan=2>Departure</th>
<th scope="col" colspan=2>Arrival</th>
<th scope="col" colspan=2>Aircraft</th>
<th scope="col" colspan=2>Single Pilot Time</th>
<th scope="col" rowspan=2>Multi Pilot Time</th>
@corstian
corstian / FAT.c
Created Nov 7, 2017
"This is a low-level driver for MMC and SD cards" + "Driver/Library for a FAT filesystem with a PIC"
View FAT.c
/////////////////////////////////////////////////////////////////////////
//// FAT_PIC.C ////
//// ////
//// Driver/Library for a FAT filesystem with a PIC ////
//// ////
//// This Library was designed to resemble standard ANSI C I/O as ////
//// much as possible. There are, however, some caveats to this. ////
//// Please read the comments to make sure the inputs and outputs ////
//// to each function are understood before using anything in ////
//// this library. ////
View gist:c6804d012bc4ed7b5f4ad0839b5165ae
/*
Quaack Quack
_
<(o) Quick Qwack
( —) _
^^^^^^^^^^ (o)>
(— )
^^^^~~~~~~
You can’t perform that action at this time.