my dwim scripts
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
jowj 361194c4be Move to saner defaults: 2 years ago
.gitignore Add temp/ to gitignore. 2 years ago
dwim-youtube-dl.py Move to saner defaults: 2 years ago
get-domain-status.py Add ability to check TLS cert expiration dates. 2 years ago
poetry.lock Update package management files. 2 years ago
pyproject.toml Update package management files. 2 years ago
readme.md Update readme todo list. 2 years ago

readme.md

utils

this repo houses some random shit i wrote that does stuff for me. almost no one will want this stuff.

dwim-youtube-dl

youtube-dl is fucking amazing. its one of the coolest / most useful things maintained by oss people that regular, normal humans see. but it doesn't do what i want it to do out of the box.

features

  • assumes everything is part of a playlist

  • each file downloaded goes in a folder named after the playlist

  • declare a flag that determines what library the target should go to

    • video vs audio right now

get-domain-status

using the whois package, get the status of my domains. send an email under the following conditions:

  • the domain is < 90 days away from expiring
  • the SSL is < 30 days away from expiring

todo:

  • wait until the .club tld support is merged in, add my other domains to the list of shit to check
  • add SSL checking to the script
  • add email / slack alerting to the script.
    • actually, just move this to the arke project so that its deployed to my servers and alerted on consistently
    • and i won't have to re-implement notification logic! nice.

DWIM naming history

dwim comes from someone in the history of LISP. i like the connotation of doing what /i/, in particular, mean, rather than the general 'try and figure out what i mean' that it has in history.

besides, based on the critics of the DWIM system i feel like my interpretation is more accurate anyway. https://en.wikipedia.org/wiki/DWIM#Software