Skip to content

Instantly share code, notes, and snippets.

@svera
svera / displayon.sh
Last active July 3, 2020 15:56
Wake up display in Retropie (EmulationStation >= 2.9.3)
#!/bin/bash
# Put this file in /home/pi/.emulationstation/scripts/wake
vcgencmd display_power 1 > /dev/null
@svera
svera / displayoff.sh
Last active July 3, 2020 15:57
Put display to sleep in Retropie (EmulationStation >= 2.9.3)
#!/bin/bash
# Put this file in /home/pi/.emulationstation/scripts/sleep
vcgencmd display_power 0 > /dev/null
@svera
svera / 01.phplint
Created June 4, 2014 08:14
Debugging info for phplint install on macos 10.9.3
gcc-4.8: error: unrecognized command line option '-fnested-functions'
HOMEBREW_VERSION: 0.9.5
HEAD: a6abc92a5c713e1cd806f88b2770f54af5e24d7e
CPU: quad-core 64-bit haswell
OS X: 10.9.3-x86_64
CLT: 5.1.0.0.1.1396320587
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby:
2.0.0-451
X11: N/A