Skip to content

Instantly share code, notes, and snippets.

View stackdump's full-sized avatar

stackdump stackdump

View GitHub Profile
Verifying my Blockstack ID is secured with the address 1Enmf7VAXXfe2mapTBYJJMMFa93SqPDWs4 https://explorer.blockstack.org/address/1Enmf7VAXXfe2mapTBYJJMMFa93SqPDWs4
;~/.factom/m2/simConfig/factomd001.conf
;
;[app]
;IdentityChainID = 8888881570f89283f3a516b6e5ed240f43f5ad7cb05132378c4a006abe7c2b93
;LocalServerPrivKey = 3838383838383135373066383932383366336135313662366535656432343066
;LocalServerPublicKey = 803b318b23ec15de43db470200c1afb5d1b6156184e247ed035a8f0b6879155b
;ChangeAcksHeight = 0
;~/.factom/m2/simConfig/factomd002.conf
;
;[app]
@stackdump
stackdump / finite.py
Last active September 15, 2022 15:25
Finite is a - Rank 1 Constraint System: (R1CS) That uses Petri-Nets as a means to construct Zero Knowledge Proofs.
"""
MIT License https://github.com/FactomProject/ptnet-eventstore/blob/master/LICENSE
Finite is a - Rank 1 Constraint System: (R1CS)
That uses Petri-Nets as a means to construct Zero Knowledge Proofs.
The author is planning to deploy using The Factom Blockchain https://www.factom.com/factom-blockchain/
with the notion that this protocol is useful as an addressing system to index other forms of proofs.
Because Factom can isolate users from the need to own cryptocurrency, it is hoped that adoption can reach outside of
From 63a3dcf43fb3c8cf790cdbad9ce715e2dc29960d Mon Sep 17 00:00:00 2001
From: stackdump <[email protected]>
Date: Tue, 5 Mar 2019 11:58:54 -0600
Subject: [PATCH] run long test
---
simTest/LeaderBrainSwap_test.go | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/simTest/LeaderBrainSwap_test.go b/simTest/LeaderBrainSwap_test.go
-------------
Tue Mar 5 11:59:45 CST 2019
NetworkOutMsgQueue 0 0 0 0 0 0
NetworkInvalidMsgQueue 0 0 0 0 0 0
UpdateEntryHash 0 0 0 0 0 0
MissingEntries 0 0 0 0 0 0
WriteEntry 0 0 0 0 0 0
Type: EOM( 0) ACK( 1) Unk: 2( 2) Unk: 3( 3) SFault( 4) CC( 5) CE( 6) DBSig( 7) Timeout( 8) FCT( 9) HBeat(10) InvalidA(11) InvalidDB(12) REntry(13)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
func MemProfiler() {
// record memory profile on a loop
ticker := time.NewTicker(time.Second)
for {
<-ticker.C
st := &runtime.MemStats{}
runtime.ReadMemStats(st)
// From Golang docs: HeapObjects increases as objects are allocated
// and decreases as the heap is swept and unreachable objects are

Add to your cron

crontab -e

Add a line like this

# m h  dom mon dow   command
0 * * * * /usr/sbin/logrotate /media/ork/berg/mainnet/logrotate.conf --state /media/ork/berg/mainnet/logrotate-state
<?xml version="1.0" encoding="UTF-8"?><document>
<id/>
<x/>
<y/>
<label/>
<subnet>
<id/>
<x>0</x>
<y>0</y>
<label/>
version: '3'
services:
jaeger:
image: jaegertracing/all-in-one:1.3.0
ports:
- 127.0.0.1:5775:5775/udp # accept zipkin.thrift over compact thrift protocol
- 127.0.0.1:6831:6831/udp # accept jaeger.thrift over compact thrift protocol
- 127.0.0.1:6832:6832/udp # accept jaeger.thrift over binary thrift protocol
- 127.0.0.1:5778:5778 # serve configs
- 127.0.0.1:16686:16686 # serve frontend