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 / PKGBUILD
Last active December 28, 2015 05:09
namecoin-daemon-git PKGBUILD for Arch Linux AUR
# Maintainer: huma
# Contributor: Noel Maersk <veox at wemakethings dot net>
pkgname=namecoin-daemon-git
_gitname=namecoin
pkgver=20131031
pkgrel=1
pkgdesc="Headless namecoin daemon (git version)"
arch=('i686' 'x86_64')
license=('MIT')
preacher% make V=99 [libwallet-git]
Making all in include/wallet
make[1]: Entering directory `/home/veox/usr/src/libwallet-git/include/wallet'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/veox/usr/src/libwallet-git/include/wallet'
Making all in src
make[1]: Entering directory `/home/veox/usr/src/libwallet-git/src'
depbase=`echo key_formats.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/bash ../libtool --tag=CXX --mode=compile g++ -DPACKAGE_NAME=\"libwallet\" -DPACKAGE_TARNAME=\"libwallet\" -DPACKAGE_VERSION=\"1.0.10\" -DPACKAGE_STRING=\"libwallet\ 1.0.10\" -DPACKAGE_BUGREPORT=\"amir@unsystem.net\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -DPACKAGE=\"libwallet\" -DVERSIO
@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