Skip to content

Instantly share code, notes, and snippets.

View shackbarth's full-sized avatar

Steve Hackbarth shackbarth

View GitHub Profile
your love is a hijacker's blackjack
rock my heart with your love
my pride is an embezzling buzzphrase
your kiss is an embezzler's backpack
my surprise is an arrow that's drifted amiss
rock my heart with my pride
rock my heart with your kiss
your smile is um a bit'too'wide
import os
from azure.storage.blob import BlockBlobService, PublicAccess
import argparse
#
# Usage: python python/azure-sas-send-blob.py --account_name ursahealthstorage
# --sas_token "st=2018...&se=2018...&sp=r...&sv=2018...&sr=c&sig=2S...E%3D"
# --container_name ursahealth-datasource --local_filename /path/to/my_test.csv --blob_name my_test.csv
#
# Note that the SAS Token is the querystring of the SAS URL (i.e. everything after the ?)
@shackbarth
shackbarth / gist:3867373c115c67c8c272
Created February 25, 2015 00:31
Sharpen Your Saw II
var async = require("async");
var _ = require("lodash");
var key = "TZlKw4gd1qFQhA2CbMLa";
var urlBase = "http://thesaurus.altervista.org/service.php?language=en_US&output=json&key=" + key + "&word=";
var inputString = "may the force be with you";
var getSynonyms = function (word, callback) {
request(urlBase + word, function (err, response, body) {
if (err) {
XM.SalesOrder.prototype.augment({
handlers: {
'change:packDate': 'packDateDidChange'
},
holdTypeDidChange: function () {
this.updateWorkflowItemPackDate();
},
packDateDidChange: function () {