Skip to content

Instantly share code, notes, and snippets.

View emberdex's full-sized avatar

Toby Jones emberdex

View GitHub Profile
// If your class is mutable, you can use an object initialiser to solve this problem:
// (notice how my constructor takes no parameters)
class Person
{
public int Age { get; set; }
public string Name { get; set; }
public Person() {}
}
#include <stdio.h>
#include <string.h>
#include <fcntl.h>
#include <unistd.h>
#include <sys/errno.h>
#include <sys/stat.h>
#include <linux/types.h>

Keybase proof

I hereby claim:

  • I am monotron on github.
  • I am monotron (https://keybase.io/monotron) on keybase.
  • I have a public key whose fingerprint is D60D D2A8 B5EE 4363 E4FF 0626 0221 9DCE 5510 4D31

To claim this, I am signing this object:

#include <linux/init.h>
#include <linux/kernel.h>
static int __init crash(void);
static void __exit quit_mod(void);
static int __init crash(void) {
panic("Well, you did say so.\n");
}
static void __exit quit_mod(void){}
module_init(crash);
module_exit(quit_mod);