Note: PBSS in Geth >=1.13.0 removes the need to prune manually.
Geth (Go-Ethereum) as of July 2022 takes about 650 GiB of space on a fast/snap sync, and then grows by ~ 14 GiB/week with default cache, ~ 8 GiB/week with more cache.
# .tfstate files | |
*.tfstate | |
*.tfstate.* | |
# do not ignore encrypted tfstate files, with .enc inside | |
!*.enc.tfstate | |
!*.enc.tfstate.* | |
# unless it is decrypted | |
*.decrypted*tfstate |
Note: PBSS in Geth >=1.13.0 removes the need to prune manually.
Geth (Go-Ethereum) as of July 2022 takes about 650 GiB of space on a fast/snap sync, and then grows by ~ 14 GiB/week with default cache, ~ 8 GiB/week with more cache.
apt install iptables-persistent | |
cat >/usr/share/netfilter-persistent/plugins.d/ddos <<'EOT' | |
#!/bin/sh | |
case $1 in | |
start) | |
iptables -N eosio-api | |
iptables -N eosio-apisyn | |
iptables -N eosio-p2p |
PCRE_VERSION=8.44 | |
ZABBIX_VERSION=4.4.7 | |
OPENSSL_VERSION=1.1.1g | |
### gcc ### | |
test ! `which gcc` && test `which apt-get` && apt-get install g++ | |
test ! `which gcc` && test `which yum` && yum install g++ | |
### PCRE ### | |
cd /usr/local/src |
# sudo /sbin/rcvboxdrv -h | |
# Unloading modules: | |
# Loading modules: modprobe: FATAL: Module vboxnetadp not found in directory /lib/modules/4.4.3-1-ARCH | |
# modprobe: FATAL: Module vboxnetflt not found in directory /lib/modules/4.4.3-1-ARCH | |
# modprobe: FATAL: Module vboxpci not found in directory /lib/modules/4.4.3-1-ARCH | |
# modprobe: FATAL: Module vboxdrv not found in directory /lib/modules/4.4.3-1-ARCH | |
# Solution | |
# from https://forum.antergos.com/topic/818/can-t-run-my-vitualbox/4 |
#!/usr/bin/env python | |
############### // gelfListener 0.2 // ############### | |
# | |
# Listens on UDP 12201 for Gelf messages | |
# Extracts the event data and writes the message to disk | |
# updated to handle both zlib (nxlog) and gzip (graylog server) compressed events | |
# not perfect, but works okay | |
# | |
# Bugs: |
deprecated
for_window [class="^.*"] border pixel 1
new_window 1pixel
thanks to deviatorslegacy's comment
Document here:
https://i3wm.org/docs/userguide.html#_default_border_style_for_new_windows
-- Firstly, remove PRIMARY KEY attribute of former PRIMARY KEY
ALTER TABLE <table_name> DROP CONSTRAINT <table_name>_pkey;
-- Then change column name of your PRIMARY KEY and PRIMARY KEY candidates properly.
ALTER TABLE <table_name> RENAME COLUMN <primary_key_candidate> TO id;
Problem: When linking to the raw version of a gist, the link changes with each revision.
Solution:
To return the first file from a gist: https://gist.github.com/[gist_user]/[gist_id]/raw/
To get a file from multi–file gist: https://gist.github.com/[gist_user]/[gist_id]/raw/[file_name]