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
@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
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'
BitcoinArmory steven$ armory-usb
(ERROR) armoryengine.py:773 - Error getting system details:
Traceback (most recent call last):
File "/Users/steven/BitcoinArmory/armoryengine.py", line 771, in <module>
SystemSpecs = GetSystemDetails()
File "/Users/steven/BitcoinArmory/armoryengine.py", line 763, in GetSystemDetails
raise OSError, "Can't get system specs in OSX"
OSError: Can't get system specs in OSX
(ERROR) armoryengine.py:774 - Skipping.
(ERROR) armoryengine.py:12136 - No BDM method: StartCppLogging
@stevenroose
stevenroose / gist:7109724
Created October 22, 2013 23:04
osx build error bitcoind
llvm-g++ -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DMAC_OSX -DMSG_NOSIGNAL=0 -DBOOST_SPIRIT_THREADSAFE -DUSE_UPNP=1 -DUSE_IPV6=1 -I/Users/steven/BitcoinClient/src/leveldb/include -I/Users/steven/BitcoinClient/src/leveldb/helpers -DHAVE_BUILD_INFO -I"/Users/steven/BitcoinClient/src" -I"/Users/steven/BitcoinClient/src"/obj -I"/opt/local/include" -I"/opt/local/include/db48" -o bitcoind -L"/opt/local/lib" -L"/opt/local/lib/db48" leveldb/libleveldb.a obj/alert.o obj/version.o obj/checkpoints.o obj/netbase.o obj/addrman.o obj/crypter.o obj/key.o obj/db.o obj/init.o obj/keystore.o obj/main.o obj/net.o obj/protocol.o obj/bitcoinrpc.o obj/rpcdump.o obj/rpcnet.o obj/rpcmining.o obj/rpcwallet.o obj/rpcblockchain.o obj/rpcrawtransaction.o obj/script.o obj/sync.o obj/util.o obj/wallet.o obj/walletdb.o obj/hash.o obj/bloom.o obj/noui.o obj/leveldb.o obj/txdb.o -dead_strip -ldb_cxx-4.8 -lboost_system-mt -lboost_filesystem-mt -lboost_program_options-mt -lboost_thread-mt -lboost_chrono-mt -lssl -lcryp

Keybase proof

I hereby claim:

  • I am stevenroose on github.
  • I am stevenroose (https://keybase.io/stevenroose) on keybase.
  • I have a public key ASACB4HJj8SI677iU3V4yFWthFL3GkOIcHyQTq4fich4LQo

To claim this, I am signing this object:

@stevenroose
stevenroose / a-httpupload-prosody.md
Last active September 26, 2016 06:17
Installing HttpUploadComponent for Prosody on Debian with nginx

Instructions for Prosody on Debian

1. Install

  • Install Python and PIP
sudo apt-get install python3.4 python3-pip
This file has been truncated, but you can view the full file.
86043 silly lifecycle glob@7.1.1~preinstall: no script for preinstall, continuing
86044 silly lifecycle archiver-utils@1.3.0~preinstall: no script for preinstall, continuing
86045 silly lifecycle rimraf@2.5.4~preinstall: no script for preinstall, continuing
86046 silly lifecycle fs-extra@0.30.0~preinstall: no script for preinstall, continuing
86047 silly lifecycle fs-extra@0.30.0~preinstall: no script for preinstall, continuing
86048 silly lifecycle fs-extra@0.26.7~preinstall: no script for preinstall, continuing
86049 silly lifecycle fs-extra-tf@0.30.3~preinstall: no script for preinstall, continuing
86050 silly lifecycle fs-extra-p@1.2.0~preinstall: no script for preinstall, continuing
86051 silly lifecycle utile@0.3.0~preinstall: no script for preinstall, continuing
86052 silly lifecycle prompt@1.0.0~preinstall: no script for preinstall, continuing
[ 0.000000] Linux version 4.8.4-1-ARCH (builduser@tobias) (gcc version 6.2.1 20160830 (GCC) ) #1 SMP PREEMPT Sat Oct 22 18:26:57 CEST 2016
[ 0.000000] Command line: initrd=\intel-ucode.img initrd=\initramfs-linux.img cryptdevice=UUID=a7f5d4b1-d504-473c-b2f8-c2b4b2b2a4ee:cryptroot root=/dev/mapper/cryptroot quiet rw
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x008: 'MPX bounds registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x010: 'MPX CSR'
[ 0.000000] x86/fpu: xstate_offset[2]: 576, xstate_sizes[2]: 256
[ 0.000000] x86/fpu: xstate_offset[3]: 832, xstate_sizes[3]: 64
[ 0.000000] x86/fpu: xstate_offset[4]: 896, xstate_sizes[4]: 64
:: Package(s) bitsquare not found in repositories, trying AUR...
:: resolving dependencies...
:: looking for inter-conflicts...
AUR Packages (1) bitsquare-0.4.9.6-1
:: Proceed with installation? [Y/n]
:: Retrieving package(s)...
:: bitsquare build files are up-to-date -- skipping
:: Checking bitsquare integrity...