Skip to content

Instantly share code, notes, and snippets.

View nitrocaster's full-sized avatar
🐢

Pavel Kovalenko nitrocaster

🐢
View GitHub Profile
@manicai
manicai / autoexp.dat
Created April 22, 2011 18:08
Useful things to put in your autoexp.dat file for C++ debugging in Visual Studio. I didn't write these but I'm afraid I can't remember where I found them to give credit.
;------------------------------------------------------------------------------
; CArray
;------------------------------------------------------------------------------
CArray<*>|CDWordArray|CWordArray|CByteArray|CUIntArray|CPtrArray|CObArray|CStringArray{
preview
(
#( "[", [$c.m_nSize], "](",
#array
(
expr : $c.m_pData[$i],
@klarh
klarh / intelColorFix
Created December 16, 2013 15:03
Fix for Intel HD Graphics saying it is using 24-bit colors but looking like it's missing some bits somewhere
## requires x11-apps/intel-gpu-tools on gentoo
$ xrandr --output DP1 --set "Broadcast RGB" "Limited 16:235"
# intel_reg_write 0x70008 0xC4002000
# intel_reg_write 0x70180 0xDA004400
$ xrandr --output DP1 --set "Broadcast RGB" "Full"