Skip to content

Instantly share code, notes, and snippets.

View renke's full-sized avatar

Renke Grunwald renke

View GitHub Profile
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <linux/input.h>
int read_event(struct input_event *event)
{
return fread(event, sizeof(struct input_event), 1, stdin) == 1;
}
@renke
renke / watchers.xml
Created June 24, 2018 14:53
File Watcher
<TaskOptions>
<TaskOptions>
<option name="arguments" value="import-sort --write $FilePathRelativeToProjectRoot$" />
<option name="checkSyntaxErrors" value="true" />
<option name="description" />
<option name="exitCodeBehavior" value="ERROR" />
<option name="fileExtension" value="js" />
<option name="immediateSync" value="false" />
<option name="name" value="import-sort (JavaScript)" />
<option name="output" value="$FilePathRelativeToProjectRoot$" />

Keybase proof

I hereby claim:

  • I am renke on github.
  • I am renke (https://keybase.io/renke) on keybase.
  • I have a public key whose fingerprint is C8CD A181 4899 8B51 E7E5 7E54 2361 F6B4 19C3 F8F1

To claim this, I am signing this object: