Skip to content

Instantly share code, notes, and snippets.

Avatar
🌮
Mm, taco

Eli Weinstock-Herman tarwn

🌮
Mm, taco
View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am tarwn on github.
  • I am tarwn (https://keybase.io/tarwn) on keybase.
  • I have a public key ASAM_xZ__kGGhDVJsBBNCSR6EqRsVbOCAV-ybLlJAWw5NAo

To claim this, I am signing this object:

@tarwn
tarwn / BuildWarningReportGenerator.ps1
Created May 31, 2016
Powershell script for TeamCity build warnings
View BuildWarningReportGenerator.ps1
Param
(
[parameter(Mandatory=$true)][string]
$BuildLogPath,
[parameter(Mandatory=$true)][string]
$BuildCheckoutDirectoryPath,
[parameter()][string]
$BuildArtifactRepositoryUrl
@tarwn
tarwn / MvcMusicStoreSmokeTest.vbs
Created Feb 18, 2015
Smoke Test script from the MvcMusicStore ContinuousDelivery posts on LessThanDot
View MvcMusicStoreSmokeTest.vbs
Dim url, expVersion, outputPath
Dim testResults
url = WScript.Arguments(0)
expVersion = WScript.Arguments(1)
outputPath = Wscript.Arguments(2)
'url = "http://192.168.173.57/MVCMusicStore_SmokeTest/"
'expVersion = "38"
@tarwn
tarwn / RAINBOWlog.js
Created Mar 13, 2014
Awesomify-er your console.log - extended from https://gist.github.com/LeaVerou/9518902
View RAINBOWlog.js
(function(){
var log = console.log;
console.log = function(str) {
var css = 'background-image: url("http://fc07.deviantart.net/fs70/f/2013/090/3/5/ocs____seine_unicorn_sprite_by_onisuu-d5zuuax.gif"), linear-gradient(to right, red, yellow, lime, aqua, blue, fuchsia, red); background-repeat: no-repeat, no-repeat; padding-left: 20px; color: white; font-weight: bold; font-size: 12pt; text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;';
var args = Array.prototype.slice.call(arguments);
args[0] = '%c ' + args[0];
args.splice(1,0,css);
return log.apply(console, args);
}
@tarwn
tarwn / CommandExecutor
Created Feb 22, 2013
This file has the original Bad C# CommandExecutor, a good one, and a good one using the same names as you used for the VB version. Original tests are at bottom, with extra set for the VBish CommandExecutor
View CommandExecutor
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ChrissieGist5012518
{
public class BadCommandExecuter : ICommandExecuter
{