Skip to content

Instantly share code, notes, and snippets.

View whysthatso's full-sized avatar

Andreas Wagner whysthatso

View GitHub Profile
@whysthatso
whysthatso / reference_number_viitenumber_estonian_bank_union_eesti_pangaliit.rb
Last active January 18, 2019 10:08
Ruby script for calculating the checksum of a 2..20 range integer following the 7-3-1 method. Estonian Bank Union / Eesti Pangaliit - Reference number / Viitenumber
#!/usr/bin/env ruby
#
########################################################
#
# What is this?
#
# script can calculate the checksum of a 2..20 range integer following the 7-3-1 method.
#
# Details
# 1. run on cli, script asks for number entry
@whysthatso
whysthatso / ansible_setup-skypool-nimiq-client.yml
Last active April 27, 2018 09:56
Setting up the skypool nimiq client via ansible, monitoring via systemd and ruby & cron
# used in
# -
---
- hosts: "{{ target }}"
become: yes
become_user: root
become_method: sudo
tasks:

Keybase proof

I hereby claim:

  • I am whysthatso on github.
  • I am whysthatso (https://keybase.io/whysthatso) on keybase.
  • I have a public key ASB46VBWMNy_ZZ7FLkuadw7-SOQsZbYtUT9P2OmapSjFFQo

To claim this, I am signing this object:

Compiling lighthouse v3.5.1 (/home/andreas/.cache/yay/lighthouse-ethereum/src/lighthouse/lighthouse)
error[E0275]: overflow evaluating the requirement `Pin<Box<(dyn futures::Future<Output = Result<(warp::reply::Json,), warp::reject::Rejection>> + std::marker::Send + 'static)>>: Unpin`
|
= help: consider increasing the recursion limit by adding a `#![recursion_limit = "512"]` attribute to your crate (`simulator`)
= note: required because it appears within the type `__State<'_, BoxedFilter<(Json,)>, BoxedFilter<(Json,)>>`
= note: required for `State<BoxedFilter<(Json,)>, BoxedFilter<(Json,)>>` to implement `Unpin`
= note: the full type name has been written to '/home/andreas/.cache/yay/lighthouse-ethereum/src/lighthouse/target/release/deps/simulator-690acd228af9468c.long-type-5227221670924163246.txt'
= note: required because it appears within the type `__EitherFuture<'_, BoxedFilter<(Json,)>, BoxedFilter<(Json,)>>`
= note: required for `EitherFuture<BoxedFilter<(Json,)>, BoxedFilter<(Json,)>>` to