Skip to content

Instantly share code, notes, and snippets.

View m4rcu5's full-sized avatar

Marcus van Dam m4rcu5

View GitHub Profile
@m4rcu5
m4rcu5 / keybase.md
Created November 14, 2016 14:17
Keybase proof

Keybase proof

I hereby claim:

  • I am m4rcu5 on github.
  • I am marcusvandam (https://keybase.io/marcusvandam) on keybase.
  • I have a public key whose fingerprint is D068 497D 7374 633D 0299 F1CC B44C 673E 920E E3A4

To claim this, I am signing this object:

@m4rcu5
m4rcu5 / remote.xml
Created August 25, 2014 19:45
XBMC Sony RM-EB016
<keymap>
<global>
<remote>
<red>Info</red>
<green>XBMC.ActivateWindow(VideoLibrary,MovieTitles)</green>
<yellow>XBMC.ActivateWindow(VideoLibrary,TvShowTitles)</yellow>
<blue>ContextMenu</blue>
</remote>
</global>
<FullscreenVideo>
@m4rcu5
m4rcu5 / 00lock-screen
Created August 15, 2014 19:08
/etc/pm/sleep.d/00lock-screen
#!/bin/sh
# Lock screen
lock_screen()
{
XLOCK="i3lock -c 000000"
if [ -e /proc/acpi/battery ]; then
XLOCK="${XLOCK} -d"
fi