Skip to content

Instantly share code, notes, and snippets.

View zldoty's full-sized avatar

Zach Doty zldoty

View GitHub Profile
@zldoty
zldoty / quick-check.py
Created July 8, 2021 17:02 — forked from ameesters/quick-check.py
A python script that checks multiple websites status.
#!/usr/bin/env python
import os, time, httplib
from termcolor import colored
SITES = [
"www.meesters-id.nl",
"www.carolsingers.nl",
]
while 1:
@zldoty
zldoty / chrome_headless_screenshot.py
Created October 7, 2019 20:04 — forked from rverton/chrome_headless_screenshot.py
Make a screenshot with a headless google chrome in python
# Install chromedriver from https://sites.google.com/a/chromium.org/chromedriver/downloads
import os
from optparse import OptionParser
from selenium import webdriver
from selenium.webdriver.chrome.options import Options
CHROME_PATH = '/usr/bin/google-chrome'