Skip to content

Instantly share code, notes, and snippets.

💭
Working on the NUnit3TestAdapter

Terje Sandstrom OsirisTerje

💭
Working on the NUnit3TestAdapter
Block or report user

Report or block OsirisTerje

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View GitAliases
[alias]
a = !git config --get-regexp alias
b = !git checkout -b
br = !git checkout -b origin/
s = !git status
m = !git checkout master
p = !git push
co = !git checkout
ci = !git add * && git commit -m
rm = !git rebase master
View .gitconfig
[user]
name = myname
email = mymail
[push]
default = simple
[core]
autocrlf = true
editor = 'C:/Program Files (x86)/Notepad++/notepad++.exe'
whitespace = true
[diff]
View DisableFusionlog.reg
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Fusion]
"ForceLog"=dword:00000000
"LogFailures"=dword:00000000
"EnableLog"=dword:00000000
"LogResourceBinds"=dword:00000000
@OsirisTerje
OsirisTerje / EnableFusionLog.reg
Last active Dec 8, 2017
Enabling fusion logs to c:\fusionlog folder
View EnableFusionLog.reg
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Fusion]
"ForceLog"=dword:00000001
"LogFailures"=dword:00000001
"EnableLog"=dword:00000001
"LogPath"="C:\\fusionlog\\"
"LogResourceBinds"=dword:00000000
@OsirisTerje
OsirisTerje / Blank.sln
Created Jan 18, 2016
Blank empty solution file for starting a new project
View Blank.sln
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 14
VisualStudioVersion = 14.0.24720.0
MinimumVisualStudioVersion = 10.0.40219.1
View ResponseFromTFS
If authorized:
HTTP/1.1 404 Not Found
Cache-Control: private
Content-Type: text/html; charset=utf-8
Server: Microsoft-IIS/8.5
X-TFS-ProcessId: 4e01732e-1319-41d8-b267-0c7a5950cdcb
X-FRAME-OPTIONS: SAMEORIGIN
Access-Control-Allow-Origin: *
Access-Control-Max-Age: 3600
@OsirisTerje
OsirisTerje / ResourceReader
Created Dec 8, 2014
ResourceReader for XML
View ResourceReader
public class ResourceLoader : ILoader
{
public XDocument LoadXml(string resourcename)
{
var content = ReadResource(resourcename);
return XDocument.Parse(content);
}
private string ReadResource(string resourcename)
{
View gist:49c23c5b5fd2c2489e76
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<solution>
<add key="disableSourceControlIntegration" value="true" />
</solution>
<packageSources>
<add key="NuGet official package source" value="http://nuget.org/api/v2/" />
<add key="OurInternal" value="http://ourinternal.nugetserver.utl/nuget" />
</packageSources>
</configuration>
View GitTitleScript
if (sln_open) {
sln_filename + (exec git_branch 5 "git rev-parse --abbrev-ref HEAD" sln_dir ? " git["+git_branch+"]") + " "+sln_dir + (exec git_rem 5 "git remote " sln_dir ? " Rems:["+git_rem+"]")
+" "+(exec git_stat 5 "git status -s" sln_dir ? "Status:["+git_stat+"]")
} else {
"VS" + vs_version
}
@OsirisTerje
OsirisTerje / gitconfig-merge-section
Created May 10, 2014
Setting up merge on VS2013 for Git, add to .gitconfig found at c:\users\(yourusername)
View gitconfig-merge-section
[diff]
tool = vsdiffmerge
[difftool]
prompt = true
[difftool "vsdiffmerge"]
cmd = \"vsdiffmerge.exe\" \"$LOCAL\" \"$REMOTE\" //t
keepbackup = false
trustexistcode = true
[merge]
tool = vsdiffmerge
You can’t perform that action at this time.