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
| <UserSettings><ApplicationIdentity version="12.0"/><ToolsOptions><ToolsOptionsCategory name="Environment" RegisteredName="Environment"><ToolsOptionsSubCategory name="RoamingSettings" RegisteredName="RoamingSettings" PackageName="Roaming Manager Package"> | |
| <PropertyValue name="SyncEditor">true</PropertyValue> | |
| <PropertyValue name="SyncAppearance">true</PropertyValue> | |
| <PropertyValue name="RoamingEnabled">true</PropertyValue> | |
| <PropertyValue name="SyncStartup">true</PropertyValue> | |
| <PropertyValue name="SyncAliases">true</PropertyValue> | |
| <PropertyValue name="SyncKeyBindings">true</PropertyValue> | |
| </ToolsOptionsSubCategory><ToolsOptionsSubCategory name="Documents" RegisteredName="Documents" PackageName="Visual Studio Environment Package"><PropertyValue name="ShowMiscFilesProject">false</PropertyValue><PropertyValue name="AutoloadExternalChanges">false</PropertyValue><PropertyValue name="CheckForConsistentLineEndings">true</PropertyValue><PropertyValue name="SaveDocsA |
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
| # Disable git's line-ending normalization | |
| # (which tries to store all line endings as LF in the repo) | |
| # b/c we are into and out of TFS and with other devs who | |
| # all work in Windows (i.e. with CRLF) | |
| # | |
| # more info: | |
| # - Git-TF -> Recommended Git Settings: | |
| # https://gittf.codeplex.com/wikipage?title=Recommended%20Git%20Settings | |
| # | |
| # - Git-TFS -> Wrong EOL (LF) in files commited to TFS |
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
| robocopy [from] [to] /MIR | |
| REM http://ss64.com/nt/robocopy-exit.html | |
| IF %%ERRORLEVEL%% EQU 0 ( | |
| ECHO No errors occurred, and no copying was done; The source and destination directory trees are completely synchronized. | |
| EXIT 0 | |
| ) | |
| IF %%ERRORLEVEL%% EQU 1 ( | |
| ECHO One or more files were copied successfully, new files have arrived. | |
| EXIT 0 |
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
| [alias] | |
| st = status | |
| ci = commit | |
| cie = commit --allow-empty | |
| cim = commit -m | |
| ciem = commit --allow-empty -m | |
| call = !git add -A && git commit --allow-empty | |
| callm = "!sh -c 'git add -A && git commit --allow-empty -m $1' -" |
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 |
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
| 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
| 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
| // ==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 |
OlderNewer