Skip to content

Instantly share code, notes, and snippets.

View codito's full-sized avatar
🐢
https://codito.in/now

codito

🐢
https://codito.in/now
View GitHub Profile
@codito
codito / KernelMode.md
Created February 1, 2012 08:44
WinDBG Debug Snippets

Kernel driver debugging tips

Enable DbgPrint/KdPrint

kd> ed nt!Kd_DEFAULT_MASK 0xFFFFFFFF

reg add "HKLM\SYSTEM\ControlSet001\Control\Session Manager\Debug Print Filter" /v DEFAULT /t REG_DWORD /d 0xFFFFFFFF

@codito
codito / msbuild.message.csproj
Created November 21, 2011 09:49
Debugging msbuild properties with Message task
<Project ToolsVersion="4.0" InitialTargets="Log" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<!-- other properties go here.... -->
<Target Name="Log">
<Message Text="SearchPath = $(AssemblySearchPaths)"/>
</Target>
</Project>
@codito
codito / RTM_on_top_-chrome.css
Created October 14, 2011 15:01
Personalized "RTM on top -chrome" user style
/* Original style: http://userstyles.org/styles/46647/rtm-on-top-chrome */
/* Fix 1: Modified notifications to show on bottom (div.orange_rbroundbox) */
/* Fix 2: Hide the online help and keyboard shortcut divs */
/* Remove these comments if the style doesn't work :) */
.xtd_task_name {
display: block ;
margin-bottom: 3px ;
font-size: 10pt;
}