Skip to content

Instantly share code, notes, and snippets.

View eugenestarchenko's full-sized avatar
:octocat:

Eugene S eugenestarchenko

:octocat:
View GitHub Profile

What is DNS?

  • DNS is used to convert human-friendly domain names (abantej.github.io) into an internet protocol (185.199.108.153) address
  • IP addresses are used by computers to identify each other on the network. IP addresses commonly come in 2 different forms, IPv4 and IPv6

IPv4

  • 32 bit field with over 4 billion different addresses (4,294,967,296)

IPv6

  • 128 bit field with 340 undecillion addresses (340,282,366,920,938,463,463,374,607,431,768,211,456)
Clone botocore and run `git rev-list --all > commit_list.txt` to get a chrological list of the hashes.
Then I manually installed https://github.com/nok/git-walk but had to modify it to use my list instead of generating it's own each time because it was going into a loop.
So `read_commit_ids` looks like this:
```
def read_commit_ids():
#cmd = 'git rev-list --all'
#log = subp.check_output(cmd.split()).strip()
#log = [line.strip() for line in log.split('\n')]
with open("commit_list.txt") as f:
chain throughput time
bitcoin_cash 281 tx/sec 2018-11-10 14:34:35 UTC
dash 67 tx/sec 2018-11-11 10:21:44 UTC
dogecoin 55 tx/sec 2014-08-05 02:53:06 UTC
litecoin 27 tx/sec 2018-09-03 22:38:57 UTC
ethereum 27 tx/sec 2018-10-06 07:49:21 UTC
ethereum_classic 24 tx/sec 2019-01-13 08:09:56 UTC
bitcoin 22 tx/sec 2015-08-01 01:06:41 UTC
zcash 8 tx/sec 2018-08-03 02:08:54 UTC
@eugenestarchenko
eugenestarchenko / 30-income-calculon.pl
Created March 6, 2019 18:38 — forked from avar/30-income-calculon.pl
Calculate your income in The Netherlands with and without a 30% ruling.
# To check if this is up-to-date with the tax rates go to
# http://www.expatax.nl/tax-rates-2016.php and see if there's anything
# newer there.
#
# I make no guarantees that any of this is correct. I calculated this
# at the time and have been updating it when new tax rates come along
# because people keep finding this useful.
#
# There's also an interactive JS version of this created by
# @stevermeister at
@br3ndonland
br3ndonland / github-actions-notes.md
Last active September 30, 2025 19:09
Getting the Gist of GitHub Actions