Skip to content

kavishgr/MiniHacks

Repository files navigation

Use with caution

  • JekyllGitPages.py - Move your blog post from the _drafts/ folder to _posts/, rename it, commits it to git, and get a desktop notification when the URL is active.

  • mem_usage.py - Print the system's memory usage, and if memory usage increased to 90% or higher, print a warning. Can be executed as ad-hoc command for Ansible tasks. (Just for fun.)

  • NagiosInstall.py - Nagios Core automated installation on CentOS 7.

  • hostbyname.py - Iterate over a list of domains to find its IP addresses from a file. Usage: python3 hostbyname.py [file]

  • undo_copy.py - Reverse the action of cp in Python.

  • undo_copy.go - Reverse the action of cp in Go.

  • zipcomic.py - Comic Book downloader for zipcomic.com (-r for range)

python3 zipcomic.py -u "https://www.zipcomic.com/a-lucky-luke-adventure"
python3 zipcomic.py -u "https://www.zipcomic.com/a-lucky-luke-adventure" -r 3:8
  • zipcomic.go - The Go version.

  • artsydl.go - Download all jpegs for an entire album. The excessive use of hashmaps and channels could potentially complicate future changes. However, it currently functions as intended.

artsydl.go "https://www.artsy.net/show/danziger-gallery-tod-papageorge-on-the-acropolis"
python3 artsydl.py "https://www.artsy.net/show/danziger-gallery-tod-papageorge-on-the-acropolis"

Releases

No releases published

Packages

No packages published