This file contains 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
Global setup: | |
Set up git | |
git config --global user.name "FirstName LastName" | |
git config --global user.email [email protected] | |
Next steps: | |
mkdir test | |
cd test | |
git init | |
touch README |
This file contains 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
#Create .bashrc in $HOME if one does not exist | |
touch ~/.bashrc | |
#add aliases for each commonly used solution - replacing PROJECTNAME and PROJECT with their actual names | |
alias psln='cd /c/dev/PROJECT && start /c/dev/PROJECT/PROJECTNAME.sln /D /c/dev/PROJECT/' | |
alias ifsln='cd /c/dev/PROJECT && start /c/dev/PROJECT/PROJECTNAME.sln /D /c/dev/PROJECT/' |
This file contains 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
Chat Subject:FiOS Internet (Slow Speed) | |
Your Question:This is the 3rd time I have contacted support in the past month and have had a service tech out - I can only sporadically connect and now when I do I get terrible speed. http://www.speedtest.net/result/1725566801.png | |
A Verizon Service Representative will be with you shortly. Thank you. | |
Agent Nehru has joined. (11:06:26) | |
Nehru : Chat ID for this session is 01231210435. (11:06:26) | |
Nehru(11:06:31): Thank you for contacting Verizon FIOS technical chat support. My name is Nehru; we appreciate your patience in reaching us. | |
Nehru(11:06:51): May I have your FIOS home phone number? |
This file contains 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 remote add upstream [git repo endpoint] | |
git fetch upstream | |
git merge upstream/master | |
This file contains 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
#ignore thumbnails created by windows | |
Thumbs.db | |
#Ignore files build by Visual Studio | |
*.obj | |
*.exe | |
*.pdb | |
*.user | |
*.aps | |
*.pch | |
*.vspscc |
This file contains 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
Code that goes in the Web.Config inside the configuration node: | |
<system.webServer> | |
<validation validateIntegratedModeConfiguration="false" /> | |
<modules runAllManagedModulesForAllRequests="true"> | |
<remove name="_9569.StatusCodeModule" /> | |
<add name="StatusCodeModule" type="_9569.StatusCodeModule" /> | |
</modules> | |
</system.webServer> | |
This file contains 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
#To disable the UAC prompt and run everything by default as admin | |
#Is set to 1 by default | |
Set-ItemProperty -Path "HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System" -Name "EnableLUA" -Value "0" | |
shutdown -r -t 0 #reboot | |
#-------------------------------------------------- | |
#If the above breaks your ability as an Admin to install apps from the Microsoft store | |
#run the following in an elevated Powershell console |
This file contains 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
SELECT | |
DB_NAME(dbid) as DBName, | |
COUNT(dbid) as NumberOfConnections, | |
loginame as LoginName | |
FROM | |
sys.sysprocesses | |
WHERE | |
dbid > 0 | |
GROUP BY | |
dbid, loginame |
This file contains 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
<?xml version="1.0" encoding="utf-8"?> | |
<extension xmlns="urn:newrelic-extension"> | |
<instrumentation> | |
<!-- instrument MongoDB.Driver.Collection --> | |
<tracerFactory metricName="Mongo"> | |
<match assemblyName="MongoDB.Driver" className="MongoDB.Driver.Collection"> | |
<exactMethodMatcher methodName="Count" /> | |
<exactMethodMatcher methodName="Count" parameters="MongoDB.Driver.Document" /> | |
<exactMethodMatcher methodName="FindAll" /> | |
<exactMethodMatcher methodName="FindOne" parameters="MongoDB.Driver.Document" /> |
This file contains 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
From: | |
http://blogs.msdn.com/b/paullou/archive/2011/06/28/debugging-managed-code-memory-leak-with-memory-dump-using-windbg.aspx | |
#Set symbols File >> Symbol File path | |
SRV*c:\symbols*http://msdl.microsoft.com/download/symbols | |
.reload | |
.loadby sos clr or .loadby sos mscorwks! |