Skip to content

Instantly share code, notes, and snippets.

@jafri
jafri / kafka_topic_msg_count.sh
Last active September 6, 2018 08:20 — forked from clarksun/kafka_topic_msg_count.sh
get kafka topic message count
bin/kafka-run-class.sh kafka.tools.GetOffsetShell --broker-list localhost:9092 --topic eos_accept_topic --time -1 --offsets 1 | awk -F ':' '{sum += $3} END {print sum}'
@jafri
jafri / install_eos_mainnet_macOS.txt
Created September 1, 2018 10:05 — forked from tpmccallum/install_eos_mainnet_macOS.txt
EOS Installation on macOS (High Sierra) 10.13.6 - Also perform voting for EOS BP
# EOS source
cd ~
git clone https://github.com/EOSIO/eos.git
cd eos
git submodule update --init --recursive
# Deps
brew install MongoDB
brew install Doxygen
#!/usr/bin/python
from argparse import Namespace
from pyjfuzz.lib import *
import requests
from thread import start_new_thread
def do_req(payload):
r = requests.post("http://abp-node.eoscalgary.io/v1/chain/get_code", data=payload)

cd ~/Downloads

wget http://repo.zabbix.com/zabbix/3.2/ubuntu/pool/main/z/zabbix-release/zabbix-release_3.2-1+xenial_all.deb

dpkg -i zabbix-release_3.2-1+xenial_all.deb

apt-get update

should add /etc/apt/sources.list.d/zabbix.list