This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import urllib | |
import shutil | |
import re | |
from pathlib import Path | |
from bs4 import BeautifulSoup | |
# target page containing links to the image files | |
target_page = 'http://example.ca/image_links.php' | |
# local path |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -e | |
# Author: Kevin Firko @firxworx (https://firxworx.com) from Bitcurve Systems (https://bitcurve.com) - 2017 | |
# overview: | |
# installs and configures tomcat+mysql and then deploys a java webapp (war file) to a bare | |
# ubuntu 16.04+ (and similar Ubuntu/Debian distros) vagrant box when specified as a shell provisioner | |
# in a Vagrantfile. loading mysql timezone tables and basic postfix smtp config included. | |
# this script should also work on other ubuntu versions and debian boxes with minimal modification |
NewerOlder