Skip to content

Instantly share code, notes, and snippets.

strictlymike

Block or report user

Report or block strictlymike

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View getpdb.py
import sys
import pefile
import struct
import httplib
import os.path
import argparse
# from urllib.parse import urlparse # Python 3
import urlparse
# PDB downloading adapted from:
@strictlymike
strictlymike / inspect.cpp
Created Apr 22, 2017
Automated performance monitoring application diagnostics
View inspect.cpp
/**
* @file
* A rough sketch of providing diagnostic information about to the state of an
* application relevant to diagnosing prolonged high CPU. When prolonged high
* CPU occurs, the high-level question that must be answered is:
*
* 1. What is the application doing?
* and,
* 2. Why aren't CPU throttling controls working? (if applicable)
*
@strictlymike
strictlymike / trigger.c
Created Apr 22, 2017
Automated performance monitoring diagnostics trigger
View trigger.c
/**
* @file
* High CPU utilization in a particular process. Herein, Single-CPU
* %utilization for both threads and processes is calculated as:
*
* 100 * kernel + user
* %u1 = -------------------
* elapsed
*
* For multi-threaded applications, this figure can exceed 100% with regard to
@strictlymike
strictlymike / ptray2.cs
Created Aug 29, 2016
Enhanced quick and dirty copy-pasta process tracing systray app for the curious and paranoid
View ptray2.cs
using System;
using System.Diagnostics;
using System.Drawing;
using System.Management;
using System.Text.RegularExpressions;
using System.Windows.Forms;
namespace MyTrayApp
{
public class SysTrayApp : Form
@strictlymike
strictlymike / pt.cs
Created Aug 24, 2016
Quick and dirty copy-pasta process tracing systray app for the curious and paranoid
View pt.cs
using System;
using System.Diagnostics;
using System.Drawing;
using System.Management;
using System.Windows.Forms;
namespace MyTrayApp
{
public class SysTrayApp : Form
{
You can’t perform that action at this time.