Skip to content

Instantly share code, notes, and snippets.

View stevenroose's full-sized avatar
👀
looking for a decentralized GitHub alternative

Steven Roose stevenroose

👀
looking for a decentralized GitHub alternative
View GitHub Profile
BitcoinArmory steven$ make
cd cppForSwig; make swig
cd leveldb; make libleveldb.a; mv libleveldb.a ..
c++ -I. -I./include -DOS_MACOSX -DLEVELDB_PLATFORM_POSIX -fPIC -O2 -DNDEBUG -c db/c.cc -o db/c.o
db/c.cc:141:15: error: use of undeclared identifier '_strdup'; did you mean
'strdup'?
*errptr = strdup(s.ToString().c_str());
^~~~~~
strdup
db/c.cc:20:16: note: expanded from macro 'strdup'
@stevenroose
stevenroose / xinput-logitech
Created September 11, 2012 14:06
xinput list-props for Logitech Optical USB Mouse
xinput list-props 12
Device 'Logitech Optical USB Mouse':
Device Enabled (121): 1
Coordinate Transformation Matrix (123): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
Device Accel Profile (250): 0
Device Accel Constant Deceleration (251): 1.000000
Device Accel Adaptive Deceleration (252): 1.000000
Device Accel Velocity Scaling (253): 10.000000
Device Product ID (240): 1133, 49174
Device Node (241): "/dev/input/event5"
@stevenroose
stevenroose / xinput-bcm5974
Created September 11, 2012 14:05
xinput list-props for bcm5974
xinput list-props 10
Device 'bcm5974':
Device Enabled (121): 1
Coordinate Transformation Matrix (123): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
Device Accel Profile (250): 1
Device Accel Constant Deceleration (251): 2.500000
Device Accel Adaptive Deceleration (252): 1.000000
Device Accel Velocity Scaling (253): 12.500000
Synaptics Edges (254): -3642, 4348, 500, 6125
Synaptics Finger (255): 25, 30, 257