Skip to content

Instantly share code, notes, and snippets.

View totikom's full-sized avatar

Eugene Lomov totikom

View GitHub Profile
@mwchambers
mwchambers / matrix.py
Created October 26, 2011 14:55
Wake up neo.. the matrix
#/usr/bin/python
import time
import sys
import os
lines=[
"Wake up Neo ...",
"The matrix has you",
"Follow the white rabbit ...",
@sarmbruster
sarmbruster / rotate.sh
Created April 14, 2016 11:26
script for Thinkpad X1 Yoga to rotate screen and input devices
#!/bin/sh
# screen and input device rotation for e.g. a Thinkpad X1 Yoga
# adopted from by the script from http://ubuntuforums.org/showthread.php?t=996830&p=6274392#post6274392
#
# Usage:
# ./rotate.sh
# will rotate both the screen and input device either to right or normal setting depending on previous state. Additionally:
# * in "right" layout, a on screen keyboard (onboard) is started or stopped in normal mode
# * the touchpad is switched off in "right" mode