Skip to content

Instantly share code, notes, and snippets.

@alxgmpr
Created May 15, 2019 17:48
Show Gist options
  • Save alxgmpr/85cd0c56271c50318bd57feccc48ea4c to your computer and use it in GitHub Desktop.
Save alxgmpr/85cd0c56271c50318bd57feccc48ea4c to your computer and use it in GitHub Desktop.
Tidbits of code, bash scripts, etc. that I commonly find myself Googling

Remove all *.pyc files in a directory

find . -name \*.pyc -delete

Turn off InsecureRequestWarning for unverified requests

import urllib3
urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment