Skip to content

Instantly share code, notes, and snippets.

View kventil's full-sized avatar
🐌

Robert Hibbeler kventil

🐌
View GitHub Profile
] setenv auto-boot true
] saveenv
] /exit
#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
@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
### 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 / 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()
}
@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?

Keybase proof

I hereby claim:

  • I am kventil on github.
  • I am kventil (https://keybase.io/kventil) on keybase.
  • I have a public key ASCE2BieK36MP3ecHlzG1Pf0SAgT3wBfI-zb7IXUTBBTCgo

To claim this, I am signing this object:

@kventil
kventil / GAME_MASTER_v0_1.protobuf
Created July 16, 2016 20:08 — forked from anonymous/GAME_MASTER_v0_1.protobuf
Pokemon Go decoded GAME_MASTER protobuf file v0.1
Result: 1
Items {
TemplateId: "BADGE_BATTLE_ATTACK_WON"
Badge {
BadgeType: BADGE_BATTLE_ATTACK_WON
BadgeRanks: 4
Targets: "\nd\350\007"
}
}
Items {
@kventil
kventil / .lecture
Created December 23, 2016 16:57
Sudo Lecture
 \^V//
 |. .|  I AM (G)ROOT!
- \ - / _
 \_| |_/
 \ \
 __/_/__
|_______|  With great power comes great responsibility.
 \ /  Use sudo wisely.
 \___/
# GNU Screen - main configuration file
# All other .screenrc files will source this file to inherit settings.
# Author: Christian Wills - cwills.sys@gmail.com
# Allow bold colors - necessary for some reason
attrcolor b ".I"
# Tell screen how to set colors. AB = background, AF=foreground
termcapinfo xterm 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm'