This file contains 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/sh | |
# NOTE: | |
# Make sure that the value of Name, Type, TTL are the same with your DNS Record Set | |
HOSTED_ZONE_ID=<YOUR_HOSTED_ZONE_ID> | |
RESOURCE_VALUE=<YOUR_DNS_RESOURCE_VALUE-ex:IP or dns> | |
DNS_NAME=<YOUR_DNS_NAME-ex: subdomain.domain.com> | |
RECORD_TYPE=<DNS_RECORD_TYPE-ex: A, CNAME> | |
TTL=<TTL_VALUE> |
This file contains 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
node { | |
// Mark the code checkout 'stage'.... | |
stage 'Checkout' | |
// Get some code from a GitHub repository | |
// git url: 'https://github.com/jglick/simple-maven-project-with-tests.git' | |
git url: 'https://github.com/mvpartisans/jenkins-workflows' | |
println 'getting changesets' |
This file contains 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
from __future__ import absolute_import, division, print_function, unicode_literals | |
import sqlite3 | |
import logging | |
import time | |
__version__ = "0.1.0" | |
initial_sql = """CREATE TABLE IF NOT EXISTS log( |
This file contains 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
#!/usr/bin/env python3 | |
import csv | |
import urllib.request | |
from bs4 import BeautifulSoup | |
BASE_URL = 'http://www.weblancer.net/projects/' |
This file contains 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 | |
echo "Generating an SSL private key to sign your certificate..." | |
openssl genrsa -des3 -out myssl.key 1024 | |
echo "Generating a Certificate Signing Request..." | |
openssl req -new -key myssl.key -out myssl.csr | |
echo "Removing passphrase from key (for nginx)..." | |
cp myssl.key myssl.key.org | |
openssl rsa -in myssl.key.org -out myssl.key |