Skip to content

Instantly share code, notes, and snippets.

@tdorsey
tdorsey / create-docker-droplet.sh
Created January 18, 2020 15:54 — forked from christianberg/create-docker-droplet.sh
Shell script to create a Digital Ocean Droplet and install docker
#!/bin/bash
set -e
SECRETFILE=~/.digitalocean
if [[ -z $DIGOCEAN_ID ]] || [[ -z $DIGOCEAN_KEY ]]; then
if [ -e $SECRETFILE ]; then
. $SECRETFILE
fi
fi
@tdorsey
tdorsey / .gitignore
Created October 20, 2019 19:10 — forked from octocat/.gitignore
Some common .gitignore configurations
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
# Packages #
@tdorsey
tdorsey / PlexToAlexa-Lambda.py
Last active July 27, 2016 19:24 — forked from mlapida/PlexToAlexa-Lambda.py
This is my attempt to get Alexa to return Plex's On Deck and Recently Downloaded lists. It's not the prettiest, but Plex's API isn't the best at the moment. Step-by-step blog post may be found here: http://mlapida.com/thoughts/plex-alexa-interacting-with-your-media-server-through-voice
from __future__ import print_function
import urllib
import urllib2
import xml.etree.ElementTree
import logging
#enable basic logging to CloudWatch Logs
logger = logging.getLogger()
logger.setLevel(logging.INFO)
@tdorsey
tdorsey / gist:61ca3f35c6ff331823aa
Created July 15, 2015 14:36
jenkins wix plugin build log
Build started 7/15/2015 10:31:24 AM.
Project "C:\Program Files\Jenkins\workspace\Vesta PMM\VestaPMMInstaller\VestaPMMInstaller.wixproj" on node 1 (default targets).
C:\Program Files\MSBuild\Microsoft\WiX\v3.x\wix2010.targets(1236,5): warning : Solution properties are only available during IDE builds or when building the solution file from the command line. To turn off this warning set <DefineSolutionProperties>false</DefineSolutionProperties> in your .wixproj file. [C:\Program Files\Jenkins\workspace\Vesta PMM\VestaPMMInstaller\VestaPMMInstaller.wixproj]
Compile:
Skipping target "Compile" because all output files are up-to-date with respect to the input files.
Link:
Skipping target "Link" because all output files are up-to-date with respect to the input files.
Done Building Project "C:\Program Files\Jenkins\workspace\Vesta PMM\VestaPMMInstaller\VestaPMMInstaller.wixproj" (default targets).
Build succeeded.