Skip to content

Instantly share code, notes, and snippets.


Allan Jude allanjude

View GitHub Profile
allanjude / which_os.c
Created Oct 18, 2017 — forked from sortie/which_os.c
Detect the operating system using UDP stack corner cases
View which_os.c
#include <sys/socket.h>
#include <err.h>
#include <errno.h>
#include <netinet/in.h>
#include <stdio.h>
#include <string.h>
int main(void)
View geom_disk_list.txt
Geom name: ada0
1. Name: ada0
Mediasize: 200049647616 (186G)
Sectorsize: 512
Stripesize: 4096
Stripeoffset: 0
Mode: r1w1e2
descr: INTEL SSDSC2BA200G4
lunid: 55cd2e404b7d75e8
View deflate_test.c
* Test if I broke opencrypto's deflate
#include <sys/types.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
/* Hackery because we're using sys/zlib.h code in userspace */
#define ZLIB_H
View requirements
Please comment on me
+ This is a list
+ Of things
+ We need
+ To do
View keybase
### Keybase proof
I hereby claim:
* I am allanjude on github.
* I am allanjude ( on keybase.
* I have a public key whose fingerprint is ADFD C765 6938 A4C4 8663 A5B7 9AC1 1693 5125 929F
To claim this, I am signing this object:
You can’t perform that action at this time.