I hereby claim:
- I am koljenovic on github.
- I am mangefort (https://keybase.io/mangefort) on keybase.
- I have a public key ASAeQ3i1QLzsxYnOvh6-iEsm3N2ReWG9wxS6un2-pLQ5Hwo
To claim this, I am signing this object:
print(distutils.sysconfig.get_config_var('CONFIG_ARGS')) | |
sudo apt install build-essential libssl-dev libbz2-dev libncurses5-dev libncursesw5-dev libgdbm-dev liblzma-dev libsqlite3-dev tk-dev uuid-dev libreadline-dev libc6-dev zlib1g-dev libdb5.3-dev libexpat1-dev libffi-dev | |
./configure '--enable-shared' '--enable-optimizations' '--prefix=/usr' '--enable-ipv6' '--enable-loadable-sqlite-extensions' '--with-dbmliborder=bdb:gdbm' '--with-computed-gotos' '--without-ensurepip' '--with-system-expat' '--with-system-ffi' '--with-fpectl' 'CC=x86_64-linux-gnu-gcc' 'CFLAGS=-g -fstack-protector-strong -Wformat -Werror=format-security ' 'LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2' |
[Unit] | |
Description=Zen secnodetracker Container | |
After=docker.service | |
Requires=docker.service | |
[Service] | |
TimeoutStartSec=10m | |
Restart=always | |
ExecStartPre=-/usr/bin/docker stop %i | |
ExecStartPre=-/usr/bin/docker rm %i |
[Unit] | |
Description=Zen Daemon Container | |
After=docker.service | |
Requires=docker.service | |
[Service] | |
TimeoutStartSec=10m | |
Restart=always | |
ExecStartPre=-/usr/bin/docker stop zen-node | |
ExecStartPre=-/usr/bin/docker rm zen-node | |
# Always pull the latest docker image |
#!/bin/bash | |
set -e | |
BLK_TARGET=/mnt/chain/blocks #Replace with your destination, no trailing slash | |
rm -f tomove | |
find . -name 'rev*.dat' -type f -printf '%f\n' | sort | sed '$d' > tomove | |
find . -name 'blk*.dat' -type f -printf '%f\n' | sort | sed '$d' >> tomove | |
while read line; do | |
echo $line |
I hereby claim:
To claim this, I am signing this object:
#include <iostream> | |
#include <vector> | |
#include <exception> | |
using namespace std; | |
const char * ln = "---------------------------------------------\n"; | |
// kolekcija gotova | |
template <class T1, class T2> |
This gist is part of a blog post. Check it out at:
http://jasonrudolph.com/blog/2011/08/09/programming-achievements-how-to-level-up-as-a-developer