Skip to content

Instantly share code, notes, and snippets.

View joshuacurtiss's full-sized avatar

Josh Curtiss joshuacurtiss

View GitHub Profile
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.
@joshuacurtiss
joshuacurtiss / convertMeetingRecording.ps1
Created February 22, 2017 04:33
Takes f4v video files of meeting recordings and converts them to mp4 files with ffmpeg. Copies the mp4 to one directory and moves the original f4v file to another.
#
# 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.
@joshuacurtiss
joshuacurtiss / publicip.csh
Created January 19, 2017 19:35
Script to get the public IP from DynDNS's checkip service.
#!/bin/csh
curl -s http://checkip.dyndns.org | awk '{print $6}' | awk ' BEGIN { FS = "<" } { print $1 } '