Skip to content

Instantly share code, notes, and snippets.

View kventil's full-sized avatar
🐌

Robert Hibbeler kventil

🐌
View GitHub Profile
@kventil
kventil / Things to ask
Last active January 27, 2016 09:03
Interview Fragen an das Unternehmen
Fragen an alle:
1. Was habt ihr gestern gemacht? -> Was habt ihr umgesetzt?
2. Wann ist euer nächstes großes Release?
3. Dokumentation?
4. Was ist das größte Problem an dem ihr gerade arbeitet?
5. Bisher Coolstes/Arbeitsintensivstes Feature?
6. Wie steht ihr zu Büro-Hunden? / Hat jemand eine Hundeallergie?
7. Wie sahen eure Firmenevents bisher aus?
8. Gröster Durchbruch bisher?
@kventil
kventil / gist:cdd1054f51465c3b52b6
Created May 26, 2015 08:04
get md5-hash (Supports filesize > 2GB but is very slow!)
function md5hash($path)
{
$fullPath = Resolve-Path $path
$md5 = new-object -TypeName System.Security.Cryptography.MD5CryptoServiceProvider
$file = [System.IO.File]::Open($fullPath,[System.IO.Filemode]::Open, [System.IO.FileAccess]::Read)
[System.BitConverter]::ToString($md5.ComputeHash($file))
$file.Dispose()
}
### Keybase proof
I hereby claim:
* I am kventil on github.
* I am kventil (https://keybase.io/kventil) on keybase.
* I have a public key whose fingerprint is F28F 3835 32C9 5576 A41E 314E 3023 6564 05DF 4C41
To claim this, I am signing this object:
@kventil
kventil / plot.sh
Created January 19, 2012 14:03
script to plot a graph for all found csv-files
#!/bin/sh
# plottet alle im Verzeichnis gefunden csv-Dateien
for i in *.csv
do echo "set term png;
set output '${i%.*}.png';
set datafile separator ',';
plot '$i' using 5" | gnuplot -persist
done
#include <stdio.h>
#include <stdarg.h>
#include <math.h>
#include <stdlib.h>
#define MESSPUNKTE 320
#define UMDREHUNGEN 10
double radius = 0.012; // 12 mm
double pleul = 0.077; // 77 mm
] setenv auto-boot true
] saveenv
] /exit