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 | |
# | |
# Starts up an ephemeral Docker container of MSSQL and restores your provided backup file into it, | |
# using the filename as the database name. When it's done, you can connect to the container to | |
# browse and query the database. | |
# | |
function rand_char() { | |
start=${1:-65} # Default to capital letters |
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
const article = ` | |
The Industrial Revolution had several roots, one of which was a commercial revolution that, beginning as far back as the sixteenth century, accompanied Europe’s expansion overseas. | |
Both exports and imports showed spectacular growth, particularly in England and France. | |
An increasingly larger portion of the stepped-up commercial activity was the result of trade with overseas colonies. | |
Imports included a variety of new beverages, spices, and ship’s goods around the world and brought money flowing back. | |
Europe’s economic institutions, particularly those in England, were strong, had wealth available for new investment, and seemed almost to be waiting for some technological breakthrough that would expand their profit-making potential even more. | |
The breakthrough came in Great Britain, where several economic advantages created a climate especially favorable to the encouragement of new technology. | |
One was its geographic location at the crossroads of international trade. | |
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
# | |
# MEETING RECORDING SCRIPT, Joshua Curtiss 8/24/2016 | |
# | |
# This script takes the meeting recordings (in the "Video" directory) and copies them | |
# into subdirectories (named after the date of the recording) in the "OneDrive\SLC MEETING VIDEOS" | |
# directory, converting them to MP4 with ffmpeg. Set this up as a scheduled task to require no | |
# further user involvement. | |
# | |
# Set up paths, make sure directories exist. |
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/csh | |
curl -s http://checkip.dyndns.org | awk '{print $6}' | awk ' BEGIN { FS = "<" } { print $1 } ' |