Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/ruby
require 'digest/sha1'
require 'tempfile'
require 'fileutils'
URL = 'YOUR_URL'
SSH_HOST = 'YOUR_HOST'
SSH_HOST_DIR = "#{SSH_HOST}:PATH_ON_SERVER"