Skip to content

Instantly share code, notes, and snippets.

View veox's full-sized avatar
💭
Being skeptical of status feature.

Noel Maersk veox

💭
Being skeptical of status feature.
View GitHub Profile
@veox
veox / obelisk-darkwallet-crash.gdb-full-threads.txt
Last active August 29, 2015 14:03
GDB backtrace: Darkwallet crashes Obelisk (all threads)
Thread 15 (Thread 0x7fffe2bf0700 (LWP 9411)):
#0 0x00007ffff75e42d4 in pthread_cond_wait@@GLIBC_2.3.2 ()
from /lib/x86_64-linux-gnu/libpthread.so.0
No symbol table info available.
#1 0x00007ffff78b95fc in boost::asio::detail::posix_event::wait<boost::asio::detail::scoped_lock<boost::asio::detail::posix_mutex> > (this=0x7fffe2befdd0,
lock=...) at /usr/include/boost/asio/detail/posix_event.hpp:80
__PRETTY_FUNCTION__ = "void boost::asio::detail::posix_event::wait(Lock&) [with Lock = boost::asio::detail::scoped_lock<boost::asio::detail::posix_mutex>]"
#2 0x00007ffff78b990e in boost::asio::detail::task_io_service::do_run_one (
this=this@entry=0x7fffdc017af0, lock=..., this_thread=...,
private_op_queue=..., ec=...)
@veox
veox / obelisk-darkwallet-crash.gdb-full.txt
Created June 27, 2014 15:50
GDB backtrace: Darkwallet crashes Obelisk
#0 0x00007ffff58fa475 in raise () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
#1 0x00007ffff58fd6f0 in abort () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
#2 0x00007ffff58f3621 in __assert_fail ()
from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
#3 0x000000000041af6a in boost::dynamic_bitset<unsigned char, std::allocator<unsigned char> >::~dynamic_bitset (this=0x7fffea9d2790,
__in_chrg=<optimized out>)
at /usr/include/boost/dynamic_bitset/dynamic_bitset.hpp:616
@veox
veox / PKGBUILD
Created February 11, 2016 18:16
pulsemixer-git PKGBUILD
# Maintainer: Jeff Parent <jecxjo@sdf.lonestar.org>
pkgname=pulsemixer-git
_gitname=pulsemixer
pkgver=r35.c7817ad
pkgrel=1
pkgdesc="cli and curses mixer for pulseaudio"
arch=('any')
url="https://github.com/GeorgeFilipkin/pulsemixer"
license=('GPL3')
depends=('python' 'pulseaudio')
@veox
veox / mtl.py
Created March 23, 2016 13:27
cataclysm-dda script to search for substring in recipes
#!/usr/bin/env python
# a horrible way to use python
import subprocess # new in version 3.5! get it nao!
import sys
import json
grepthis = 'metal_tank_little'
command ='grep -R ' + grepthis + ' * | cut -d: -f1 | uniq'
Verifying that +veoxxoev is my blockchain ID. https://onename.com/veoxxoev
#!/usr/bin/python
import math
# round precision
rp = 3
# vote weight - square
def vws (stake, duration):
return round(stake * duration * duration, rp)
@veox
veox / PKGBUILD
Last active November 3, 2016 21:02
zcash-xpmclient-git updated PKGBUILD
# Maintainer: Arne Beer <arne tat twobeer toad de>
# Contributor: Noel Maersk <veox tat veox toad pw>
_gitname=xpmclient
pkgname=zcash-${_gitname}-git
pkgver='r123.f19b9b9'
pkgrel=1
arch=('any')
pkgdesc='A GPU miner for zcash (latest git version)'
license=('')
#!/usr/bin/env python
import matplotlib.pyplot as plot
# time "steps", e.g. months
n = 50
# hashing power pre-attack: using "honest miners" as base unit
x0 = 0
@veox
veox / cors-acao.txt
Created March 31, 2017 20:24
CORS header ACAO missing
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://cdn.cryptowat.ch/assets/fonts/icons.rev15.woff. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing). (unknown)
downloadable font: download failed (font-family: "cw-symbols" style:normal weight:normal stretch:normal src index:0): bad URI or cross-site access not allowed source: https://cdn.cryptowat.ch/assets/fonts/icons.rev15.woff index.<hex-snipped>.css:57:12
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://cdn.cryptowat.ch/assets/images/integrations/kraken/favicon.ico. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing). (unknown)
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://cdn.cryptowat.ch/assets/fonts/icons.rev15.ttf. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing). (unknown)
downloadable font: download failed (font-family: "cw-symbols" style:normal weight:normal s
/home/eac/opt/eac-client-8.0.0b1/env/lib/python3.5/site-packages/dotenv/main.py:24: UserWarning: Not loading .env - it doesn't exist.
warnings.warn("Not loading %s - it doesn't exist." % dotenv_path)
Traceback (most recent call last):
File "/home/eac/opt/eac-client-8.0.0b1/env/bin/eth_alarm", line 11, in <module>
sys.exit(main())
File "/home/eac/opt/eac-client-8.0.0b1/env/lib/python3.5/site-packages/click/core.py", line 722, in __call__
return self.main(*args, **kwargs)
File "/home/eac/opt/eac-client-8.0.0b1/env/lib/python3.5/site-packages/click/core.py", line 697, in main
rv = self.invoke(ctx)
File "/home/eac/opt/eac-client-8.0.0b1/env/lib/python3.5/site-packages/click/core.py", line 1066, in invoke