Skip to content

Instantly share code, notes, and snippets.

View micdenny's full-sized avatar

Michael Denny micdenny

View GitHub Profile
#! /usr/bin/env python
import posixpath
import argparse
import urllib
import os
from SimpleHTTPServer import SimpleHTTPRequestHandler
from BaseHTTPServer import HTTPServer
@micdenny
micdenny / MessageService.ts
Last active January 24, 2018 18:23 — forked from KeithGillette/MessageService.ts
Simple AngularJS 1.X TypeScript Message Bus
import * as angular from 'angular';
import { Observable, Subject, Subscription } from '@reactivex/rxjs';
export interface Message {
channel: Function;
content: any;
}
/**
* @description AngularJS service singleton implementing simple publish/subscribe message bus to provide decoupled communication of commands & events
@micdenny
micdenny / star-wars.ino
Last active May 5, 2017 21:00 — forked from eznj/star_wars.ino
Arduino Star Wars Song for Piezo
const int c = 261;
const int d = 294;
const int e = 329;
const int f = 349;
const int g = 391;
const int gS = 415;
const int a = 440;
const int aS = 455;
const int b = 466;
# --- settings ---
$feedUrlBase = "https://www.nuget.org/api/v2/"
# the rest will be params when converting to funclet
$latest = $true
$overwrite = $false
$top = 5000 #use $top = $null to grab all
$destinationDirectory = join-path ([Environment]::GetFolderPath("MyDocuments")) "NuGetLocal"
# --- locals ---
$webClient = New-Object System.Net.WebClient
@micdenny
micdenny / gist:db05b4d8226876f0a2b0
Last active August 29, 2015 14:15 — forked from SimplyChris/gist:dad867b3f1854528243f
all octupus parameters variables
Octopus.Acquire.MaxParallelism
Octopus.Action[Deploy Cardio API - Host].Azure.CertificateBytes
Octopus.Action[Deploy Cardio API - Host].Azure.CertificateThumbprint
Octopus.Action[Deploy Cardio API - Host].Azure.CloudServiceName
Octopus.Action[Deploy Cardio API - Host].Azure.Endpoint
Octopus.Action[Deploy Cardio API - Host].Azure.Slot
Octopus.Action[Deploy Cardio API - Host].Azure.StorageAccountName
Octopus.Action[Deploy Cardio API - Host].Azure.SubscriptionId
Octopus.Action[Deploy Cardio API - Host].Azure.SwapIfPossible
Octopus.Action[Deploy Cardio API - Host].Azure.UploadedPackageUri