Skip to content

Instantly share code, notes, and snippets.

View jasoncable's full-sized avatar

Jason Cable jasoncable

View GitHub Profile
@arzzen
arzzen / cygwin-installer.sh
Created January 22, 2017 13:33
Cygwin Installer - git-quick-stats
#!/usr/bin/env bash
echo "Cygwin Installer - git-quick-stats"
chmod 0755 git-quick-stats && cp git-quick-stats /usr/local/bin/git-quick-stats
git config --global alias.quick-stats '! /usr/local/bin/git-quick-stats'
echo -e "...\ndone"
@jennings
jennings / windbg-notes.md
Last active June 1, 2023 05:12
Debugging .NET with WinDbg feels like wizardry, so naturally I want to get better at it.

Load PSSCOR4:

.loadby sos clr
.load C:\Debug\Psscor4\amd64\psscor4.dll

or:

http://debugging.io/weblog/post/SOSEX-5-useful-tricks-of-debugging-managed-programs
https://netmatze.wordpress.com/2012/08/24/using-windbg-exe-and-sos-dll-to-debug-a-net-4-0-application/
http://theartofdev.com/windbg-cheat-sheet/
http://blogs.msdn.com/b/tess/archive/2008/02/27/net-debugging-demos-lab-4-high-cpu-hang-review.aspx
https://msdn.microsoft.com/en-us/library/windows/hardware/ff558913(v=vs.85).aspx
https://msdn.microsoft.com/en-us/library/windows/hardware/dn745911(v=vs.85).aspx
http://www.stevestechspot.com/SOSEXV2NowAvailable.aspx
https://blogs.msdn.microsoft.com/jankrivanek/2012/11/15/setting-up-managed-code-debugging-with-sos-and-sosex/
https://blogs.msdn.microsoft.com/vijaysk/2009/04/02/getting-better-stack-traces-in-process-monitor-process-explorer/
http://blogs.microsoft.co.il/sasha/2013/08/12/obscure-windbg-commands-part-1/
@shsteimer
shsteimer / gist:7257245
Created October 31, 2013 21:10
Tip to delete tags by pattern
#delete all the remote tags with the pattern your looking for, ie. DEV-
git tag | grep <pattern> | xargs -n 1 -i% git push origin :refs/tags/%
#delete all your local tags
git tag | xargs -n 1 -i% git tag -d %
#fetch the remote tags which still remain
git fetch