Skip to content

Instantly share code, notes, and snippets.

View hub-cap's full-sized avatar

Michael Basnight hub-cap

View GitHub Profile
trackpad |
| |
| |
| |
| Thinkpad |
| |
--| XXXXX |
XXXXX |
------------------------------|
--root path
Sets the path to root directory (VE_ROOT) for this container. This is essentially a mount point for container’s root directory. Argument can contain literal string $VEID, which will be substituted with the numeric CT ID.
--private path
Sets the path to private directory (VE_PRIVATE) for this container. This is a directory in which all the container’s files are stored. Argument can contain literal string $VEID, which will be substituted with the numeric CT ID.
Successfully installed python-troveclient pbr PrettyTable requests simplejson Babel six pytz
Cleaning up...
ubuntu@timtest:~$ pip freeze
Babel==1.3
argparse==1.2.1
pbr==0.8.0
prettytable==0.7.2
python-troveclient==1.0.4.7.g4d2b11a
pytz==2014.2
requests==2.2.1
traceroute to irc.mentiscoit.us (162.209.127.37), 30 hops max, 60 byte packets
1 bungle.local (10.0.1.1) 1.926 ms 2.637 ms 2.634 ms
2 c-71-202-248-1.hsd1.ca.comcast.net (71.202.248.1) 18.265 ms 18.266 ms 25.433 ms
3 te-5-1-ur04.pinole.ca.sfba.comcast.net (68.86.248.129) 14.079 ms * *
4 te-0-2-0-8-ar01.oakland.ca.sfba.comcast.net (69.139.199.58) 15.002 ms 17.457 ms 17.460 ms
5 be-100-ar01.sfsutro.ca.sfba.comcast.net (68.85.155.18) 19.238 ms 19.986 ms 19.987 ms
6 te-0-2-0-0-cr01.chicago.il.ibone.comcast.net (68.86.91.121) 23.223 ms 20.662 ms 20.133 ms
7 he-2-8-0-0-cr01.losangeles.ca.ibone.comcast.net (68.86.86.98) 26.067 ms 28.726 ms 28.724 ms
8 he-0-9-0-0-cr01.dallas.tx.ibone.comcast.net (68.86.87.254) 63.170 ms 66.734 ms 66.732 ms
9 he-1-14-0-0-cr01.56marietta.ga.ibone.comcast.net (68.86.88.241) 74.968 ms 78.522 ms 80.025 ms
@@ -303,13 +303,13 @@ class ApiTest(testtools.TestCase):
rpc.cast = mock.Mock()
exp_msg = RpcMsgMatcher('prepare', 'memory_mb', 'packages',
'databases', 'users', 'device_path',
- 'mount_point', 'backup_info',
+ 'backup_info',
'config_contents', 'root_password',
'overrides')
>>> fudge_factor = .2
>>> math.ceil(2.1+fudge_factor) >= 3
True
baz@rainicorn:~$ sudo cat /usr/share/X11/xorg.conf.d/90-edev-trackpoint.conf
[sudo] password for baz:
Section "InputClass"
Identifier "Trackpoint Wheel Emulation"
MatchProduct "TPPS/2 IBM TrackPoint|DualPoint Stick|Synaptics Inc. Composite TouchPad / TrackPoint|ThinkPad USB Keyboard with TrackPoint|USB Trackpoint pointing device|Composite TouchPad / TrackPoint"
MatchDevicePath "/dev/input/event*"
Option "EmulateWheel" "true"
Option "EmulateWheelButton" "2"
Option "Emulate3Buttons" "false"
Option "XAxisMapping" "6 7"
baz@rainicorn:~$ cat /usr/share/X11/xorg.conf.d/99-x1-synaptics.conf
section "InputClass"
Identifier "nathan touchpad catchall"
MatchIsTouchpad "on"
MatchDevicePath "/dev/input/event*"
Driver "synaptics"
# three fingers for the middle button
Option "TapButton3" "2"
# drag lock
baz@marceline:~$ dd bs=4M if=~/Downloads/firmware-jessie-DI-a1-amd64-netinst.iso of=/dev/sdb
baz@marceline:~$ sync
baz@marceline:~$
@hub-cap
hub-cap / gist:9377316
Created March 5, 2014 21:46
heh compiling on my chromebook
12291 baz 20 0 327m 297m 5256 R 24.6 7.6 0:05.29 cc1plus
12286 baz 20 0 309m 283m 7820 R 24.3 7.3 0:05.30 cc1plus
12301 baz 20 0 327m 297m 5256 R 24.3 7.6 0:05.24 cc1plus
12276 baz 20 0 298m 270m 7568 R 23.9 6.9 0:05.27 cc1plus
12283 baz 20 0 305m 278m 7584 R 23.9 7.1 0:05.26 cc1plus
12296 baz 20 0 327m 298m 5260 R 23.9 7.6 0:05.25 cc1plus
12297 baz 20 0 327m 297m 5256 R 23.9 7.6 0:05.25 cc1plus
12300 baz 20 0 326m 297m 5260 R 23.9 7.6 0:05.18 cc1plus
3470 baz 20 0 1045m 82m 20m S 1.7 2.1 0:07.92 chrome