Skip to content

Instantly share code, notes, and snippets.

View nickperkins's full-sized avatar
:shipit:
ship it

Nick Perkins nickperkins

:shipit:
ship it
View GitHub Profile
[tool.poetry]
name = "tool-it"
version = "0.1.0"
description = "tooling"
authors = ["Nick Perkins <removed@forprivacy>"]
[tool.poetry.dependencies]
python = "^3.6"
requests = "^2.22.0"
pandas = "^0.25.3"
@nickperkins
nickperkins / deleteemptyfiles.sh
Last active April 21, 2021 21:57
Delete empty files from s3
aws s3api list-objects --bucket my-bucket-name --output json --query 'Contents[?Size==`0`]' | jq -r '.[] | [.Key] | @tsv' | xargs -n 1 sh -c 'aws s3 rm s3://my-bucket-name/$@' bash
traceroute to 103.184.174.40 (103.184.174.40), 64 hops max, 52 byte packets
1 192.168.1.1 (192.168.1.1) 5.796 ms 3.491 ms 2.833 ms
2 loop159196240.bng.qld.aussiebb.net (159.196.24.1) 13.579 ms 16.661 ms 10.492 ms
3 10.241.1.40 (10.241.1.40) 12.285 ms 10.927 ms 10.521 ms
4 hundredgige0-0-0-20.bng3.454stp.qld.aussiebb.net (202.142.143.91) 12.945 ms
103.184.174.40 (103.184.174.40) 26.233 ms
hundredgige0-0-0-20.bng3.454stp.qld.aussiebb.net (202.142.143.91) 11.571 ms