Skip to content

Instantly share code, notes, and snippets.

Avatar

Marco Peereboom marcopeereboom

View GitHub Profile
View gist:fb9c0d7111765cda1f5446cc03a4c524
### Keybase proof
I hereby claim:
* I am marcopeereboom on github.
* I am moo31337 (https://keybase.io/moo31337) on keybase.
* I have a public key ASCE1pXhV1U7TwB6XRelXiKccDLvrFwPZ5t29xJ6X_xNOAo
To claim this, I am signing this object:
View gist:ee494a6864086e0b5a4ac8886a9c0397
[example]$ politeiavoter --testnet inventory
2018-06-20 14:14:25.410 [WRN] POLV: open /Users/marco/Library/Application Support/Politeiavoter/politeiavoter.conf: no such file or directory
Vote: c5241806166d89286be56cd2605e7d76537eb32a40a8f8d8bde3bff4c2fc6585
Proposal : one pic in prop
Start block : 329094
End block : 331110
Mask : 3
Eligible tickets: 7
Vote Option:
Id : no
View gist:1a3b62a89f81b2ed341082cedaef4874
#include <stdint.h>
#include <stdio.h>
#include <unistd.h>
#include <pthread.h>
//#define NCOUNT (1000000)
#define NCOUNT (100000)
#define TCOUNT (20)
volatile uint64_t u = 0;
View gist:1e40d4baffdcc9a2066310d770f5ac12
#include
#include
#include
#include
#define NCOUNT (100000)
#define TCOUNT (4)
volatile uint64_t u = 0;
volatile uint64_t *casvar = &u;
View gist:4357c59b57dc998a58d37817d59f99b0
#include
#include
#include
#include
#define NCOUNT (100000)
#define TCOUNT (4)
volatile uint64_t u = 0;
volatile uint64_t *casvar = &u;
View gist:576c78ed9677a81149f3f142e99620ea
2019-07-05 12:59:50.881 [TRC] TSRV: fsckRecord [5/1881]
2019-07-05 12:59:50.886 [TRC] TSRV: fsckRecord get: 5725ac81-bdaa-4e58-b80e-f75db23715ba
2019-07-05 12:59:50.886 [TRC] TSRV: fsckRecord struct: anchor
2019-07-05 12:59:50.886 [TRC] TSRV: fsckRecord 5725ac81-bdaa-4e58-b80e-f75db23715ba Data integrity OK
2019-07-05 12:59:51.964 [TRC] TSRV: fsckRecord 5725ac81-bdaa-4e58-b80e-f75db23715ba Anchor OK
2019-07-05 12:59:51.965 [TRC] TSRV: fsckRecord get: 0721daf0-e73b-4bac-b4a4-b06c7e313b0c
2019-07-05 12:59:51.967 [TRC] TSRV: fsckRecord mime: text/plain; charset=utf-8
2019-07-05 12:59:51.96