This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# some one liners for checking shift genesis_transition information | |
# https://github.com/shiftcurrency/shift | |
# remove the json formatting | |
sed -e 's/\"//g' -e 's/[{},]//g' | |
# get balances and sum them. (sed) | |
grep balance shift_2.5.0.json | sed -e 's/\"//g' -e 's/[{},]//g' |cut -d ":" -f 3 |python -c "import sys; print sum(int(l) for l in sys.stdin)" | |
# sorted list of balances |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$nmap -A 192.168.1.1 | |
... | |
PORT STATE SERVICE VERSION | |
22/tcp open ssh Dropbear sshd 2014.63 (protocol 2.0) | |
53/tcp open domain dnsmasq 2.66 | |
| dns-nsid: | |
|_ bind.version: dnsmasq-2.66 | |
80/tcp open http LuCI Lua http config | |
|_http-title: Site doesn't have a title (text/html). | |
|_http-methods: No Allow or Public header in OPTIONS response (status code 400) |