This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ==UserScript== | |
| // @name JIRA Incident Cleanup | |
| // @namespace http://blog.spinthemoose.com/ | |
| // @version 0.1 | |
| // @description Adds some helpful capabilities to JIRA | |
| // @author David Alpert | |
| // @match https://koresystemsgroup.atlassian.net/browse/* | |
| // @grant none | |
| // ==/UserScript== |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ==UserScript== | |
| // @name JIRA Helpers | |
| // @namespace http://blog.spinthemoose.com/ | |
| // @version 0.1 | |
| // @description Adds some helpful capabilities to JIRA | |
| // @author David Alpert | |
| // @match https://koresystemsgroup.atlassian.net/secure/* | |
| // @grant none | |
| // ==/UserScript== |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ==UserScript== | |
| // @name Github Helpers | |
| // @namespace http://blog.spinthemoose.com/ | |
| // @version 0.3 | |
| // @description enter something useful | |
| // @author David Alpert | |
| // @match https://github.com/RacoWireless/*/pull*/* | |
| // @grant none | |
| // ==/UserScript== |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ==UserScript== | |
| // @name TeamCityHelpers Helpers | |
| // @namespace http://blog.spinthemoose.com/ | |
| // @version 0.2 | |
| // @description Adds some useful capabilities to the Octopus Deploy UI. | |
| // @author David Alpert | |
| // @match http://172.17.1.95:8080/* | |
| // @grant none | |
| // ==/UserScript== |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ==UserScript== | |
| // @name Octopus Helpers | |
| // @namespace http://blog.spinthemoose.com/ | |
| // @version 0.2 | |
| // @description Adds some useful capabilities to the Octopus Deploy UI. | |
| // @author David Alpert | |
| // @require http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js | |
| // @require https://gist.github.com/raw/2625891/waitForKeyElements.js | |
| // @match http://172.30.100.100/app* | |
| // @grant none |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using (StreamReader sr = File.OpenText(fileName)) | |
| { | |
| string s = String.Empty; | |
| while ((s = sr.ReadLine()) != null) | |
| { | |
| //do your stuff here | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| member x.FindFileDepth (d:DirectoryInfo) (f:FileInfo) = | |
| Math.Max(f.FullName.Replace(d.FullName, "").Split('\\').Length - 2,0) | |
| member x.AddCommonAssemblyInfo() = | |
| let xmlns = @"http://schemas.microsoft.com/developer/msbuild/2003" |> XNamespace.op_Implicit | |
| let working = new DirectoryInfo(@"d:\path\to\repo") | |
| let projFiles = working.GetFiles("*.csproj", SearchOption.AllDirectories) | |
| |> Array.filter (fun f -> f.FullName.Contains(".git") = false) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $> git bisect run cmd //C c:/Windows/Microsoft.NET/Framework/v4.0.30319/MSBuild.exe build.xml //t:build |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.Timers; | |
| using FubuCore; | |
| using NLog; | |
| using NLog.Layouts; | |
| using NLog.Targets; | |
| using Topshelf; | |
| using Topshelf.Runtime; | |
| namespace Dragon.WindowsService |