Skip to content

Instantly share code, notes, and snippets.

View kouya's full-sized avatar
🦊

Oliver Feiler kouya

🦊
View GitHub Profile
@kouya
kouya / poormans-backlight.py
Created July 17, 2017 08:12
Backlight control script via sysfs and other hacky methods
#!/usr/bin/python
# This script can control a laptop's backlight via the sysfs interface /sys/class/backlight/intel_backlight
# (and others you add yourself ;)
#
# I use it on my Asus zenbook UX305LA since no other method or kernel parameters got the backlight control
# keys working. It probably works with any Intel HD graphics based graphics.
#
# To use, put it somewhere on your disk and give yourself sudo rights for this single file. The sysfs
# interface is only writable by root. Bind any key combination of your window manager to it. Naturally
@kouya
kouya / santa_hunta.c
Created July 17, 2017 08:03
Snownews' christmas mini-game, stand-alone version
/* Santa Hunta!
* Snownews' christmas mini-game
* Stand-alone version
*
* Compile with:
* gcc -lncurses -lm -o santa_hunta santa_hunta.c
*
* Needs C toolchain and ncurses5 dev headers.
*
* Part of:

Keybase proof

I hereby claim:

  • I am kouya on github.
  • I am kiza (https://keybase.io/kiza) on keybase.
  • I have a public key whose fingerprint is 48FA 938E 75AB 6A9A C61E 05A3 CDDC 0E5B 6690 3804

To claim this, I am signing this object:

@kouya
kouya / keybase.md
Created April 16, 2015 15:50
Keybase

Keybase proof

I hereby claim:

  • I am kouya on github.
  • I am kiza (https://keybase.io/kiza) on keybase.
  • I have a public key whose fingerprint is C9D8 2B23 3BC9 4638 6295 B439 7182 7908 CDCF 74C0

To claim this, I am signing this object: