Skip to content

Instantly share code, notes, and snippets.

Avatar

Maksym Pavlenko mxpv

View GitHub Profile
View gist:07c88d30dae747fdd340
$ ../External/ctags/ctags.exe --append --fields=+ian --c-types=+cefgmnpstuvx --recurse --totals=yes .
1 file, 110 lines (2 kB) scanned in 0.0 seconds (1420 kB/s)
56 tags added to tag file (now 56 tags)
56 tags sorted in 0.00 seconds
@mxpv
mxpv / logging.reg
Created Jun 15, 2012
Turn on MSI verbose logging
View logging.reg
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Installer]
"Logging"="voicewarmupx!"
@mxpv
mxpv / gist:2987459
Created Jun 25, 2012
Open .msi installer file
View gist:2987459
msiexec /a "setup.msi" /qb TARGETDIR=c:\temp
@mxpv
mxpv / gist:3141112
Created Jul 19, 2012
Disable all caps menu titles in Visual Studio 2012 RC
View gist:3141112
HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\11.0\General\SuppressUppercaseConversion
Type DWord
Value 1
@mxpv
mxpv / gist:3295227
Created Aug 8, 2012
Turn off firewall on Windows Server Core edition
View gist:3295227
netsh advfirewall set allprofiles state off
@mxpv
mxpv / ExchangeServerBuildNumbers.txt
Last active Oct 12, 2015
Exchange Server build numbers
View ExchangeServerBuildNumbers.txt
# http://support.microsoft.com/kb/158530
# http://www.wardvissers.nl/2010/04/26/exchange-2007-builds-numbers/
# http://social.technet.microsoft.com/wiki/contents/articles/240.exchange-server-and-update-rollups-build-numbers.aspx
Microsoft Exchange Server 4.0 4.0.837
Microsoft Exchange Server 4.0 (a) 4.0.993
Microsoft Exchange Server 4.0 SP1 4.0.838
Microsoft Exchange Server 4.0 SP2 4.0.993
Microsoft Exchange Server 4.0 SP3 4.0.994
Microsoft Exchange Server 4.0 SP4 4.0.995
@mxpv
mxpv / delete.bat
Last active Dec 14, 2015
Unable to delete file or Directory in Windows 7 or Vista
View delete.bat
SET DIRECTORY_NAME="C:\Users\MAKSYM~1.PAV\AppData\Local\Temp"
TAKEOWN /f %DIRECTORY_NAME% /r /d y
ICACLS %DIRECTORY_NAME% /grant administrators:F /t
PAUSE
@mxpv
mxpv / gist:5187707
Last active Dec 15, 2015
Partition Type IDs
View gist:5187707
For MBR-style partition, each partition will have one Partition Type ID.
System can tell the types of partitions by the ID, the following is the most frequently used Type ID.
0x07 NTFS
0x0B FAT32, used by DOS & Win95
0x0C FAT32 using LBA mode to access to FAT32 partition
0x01 FAT12
0x04 FAT16, less than 32 MB
0x06 FAT16, greater than 32 MB
0x0E FAT16 using LBA mode to access to FAT16 partition
@mxpv
mxpv / readme.md
Created Apr 18, 2013
Building Clang
View readme.md
@mxpv
mxpv / Win32.h
Created May 2, 2013
Slim version of windows.h header
View Win32.h
#ifndef SYS_WIN32_H
#define SYS_WIN32_H
// Slim version of windows.h header
#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN
#endif
#ifndef WIN32_EXTRA_LEAN