Automated analysis is the main advantage to working with a modern statically typed compiled language like C++. Code analysis tools can inform us when we have implemented an operator overload with a non-canonical form, when we should have made a method const, or when the scope of a variable can be reduced.
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
require 'rubygems' | |
require 'hmac-sha1' | |
require 'net/https' | |
require 'base64' | |
s3_access='S3_ACCESS_KEY' | |
s3_secret='S3_SECRET_KEY' | |
cf_distribution='CLOUDFRONT_DISTRIBUTION_ID' | |
if ARGV.length < 1 |
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
//------------------------------------------------------------------------------ | |
// pdbdump.c - dump symbols from .pdb and executable files (public domain). | |
// - to compile; cl.exe /Ox /Zi pdbdump.c | |
// - | |
// - Martin Ridgers, pdbdump 'at' fireproofgravy.co.uk | |
//------------------------------------------------------------------------------ | |
#include <stdio.h> | |
#include <Windows.h> | |
#include <DbgHelp.h> |
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
========================================== ========================================== | |
TMUX COMMAND WINDOW (TAB) | |
========================================== ========================================== | |
List tmux ls List ^b w | |
New new -s <session> Create ^b c | |
Attach att -t <session> Rename ^b , <name> | |
Rename rename-session -t <old> <new> Last ^b l (lower-L) | |
Kill kill-session -t <session> Close ^b & |
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
import win32serviceutil | |
import win32service | |
import win32event | |
import servicemanager | |
import socket | |
import time | |
import logging | |
logging.basicConfig( | |
filename = 'c:\\Temp\\hello-service.log', |
I'm assuming you are familiar with symbol servers - you might not have one set up yourself for your own projects, but you probably use Microsoft's public symbol server for downloading symbols for system DLLs.
For your own projects it might be useful to set up a symbol server - I won't go into how you do that here since it's well documented elsewhere, but basically you just set up a folder somewhere - say X:\symbols\ or \servername\symbols or even http://servername.foo/symbols/ which has a defined tree structure:
symbols/
symbols/mymodule.pdb/
symbols/mymodule.pdb/123456789012345678901234567890122/
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
00000000-0000-0000-0000-000000000000 | Zero | |
---|---|---|
00000000-0000-0000-0000-000000000000 | EfiPartTypeUnused | |
00000000-0000-0000-0000-000000000000 | EfiTpmDeviceInstanceNone | |
00160F8D-2B35-4DF2-BBE0-B272A8D631F0 | FirmwarePerformanceDxe | |
00214CC1-06D1-45FE-9700-DCA5726AD7BF | ArmVirtPlatformLib | |
0049858F-8CA7-4CCD-918B-D952CBF32975 | VirtioFdtDxe | |
0053D9D6-2659-4599-A26B-EF4536E631A9 | ShellAlias | |
0065D394-9951-4144-82A3-0AFC8579C251 | EfiPeiRscHandlerPpi | |
00720665-67EB-4A99-BAF7-D3C33A1C7CC9 | EfiTcp4ServiceBindingProtocol | |
00C86DB8-013B-4FF4-B8E9-208F4FCF1C00 | LibSignal |
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
00000000-0000-0000-0000-000000000000 | EfiPartTypeUnused | |
---|---|---|
00000000-0000-0000-0000-000000000000 | EfiTpmDeviceInstanceNone | |
00160F8D-2B35-4DF2-BBE0-B272A8D631F0 | FirmwarePerformanceDxe | |
00214CC1-06D1-45FE-9700-DCA5726AD7BF | ArmVirtPlatformLib | |
0049858F-8CA7-4CCD-918B-D952CBF32975 | VirtioFdtDxe | |
0053D9D6-2659-4599-A26B-EF4536E631A9 | ShellAlias | |
0065D394-9951-4144-82A3-0AFC8579C251 | EfiPeiRscHandlerPpi | |
00720665-67EB-4A99-BAF7-D3C33A1C7CC9 | EfiTcp4ServiceBindingProtocol | |
00C86DB8-013B-4FF4-B8E9-208F4FCF1C00 | LibSignal |
- Add your project logo.
- Write a short introduction to the project.
- If you are using badges, add them here.
OlderNewer