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
def create_self_signed_cert(cert_dir): | |
""" | |
If datacard.crt and datacard.key don't exist in cert_dir, create a new | |
self-signed cert and keypair and write them into that directory. | |
Source: https://skippylovesmalorie.wordpress.com/2010/02/12/how-to-generate-a-self-signed-certificate-using-pyopenssl/ | |
""" | |
CERT_FILE = "hostcert.pem" | |
KEY_FILE = "hostkey.pem" |
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
pylint --generate-rcfile > .pylintrc |
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
# Use an official CentOS image | |
FROM centos:6 | |
# Set the working directory to /home/hill119 | |
WORKDIR /home/hill119 | |
USER root | |
# Copy the current directory contents into the container at /home/hill119 | |
ADD . /home/hill119 |
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
git branch -d `git branch --list '$1'` |
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
git -c http.sslVerify=false clone https://example.com/path/to/git |
OlderNewer