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
# Mostly written by https://gist.github.com/pronichkin/b1fcd7b797ed7194dce0a96d98765aa7 | |
Get-Process | Sort-Object -Unique -Property 'Name' | Select-Object -Property @( | |
@{ | |
'Label' = 'Name' | |
'Expression' = { | |
$psItem.Name + ".exe" | |
} | |
} |
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
// https://stackoverflow.com/a/51860115/126229 | |
// https://games.greggman.com/game/zip-rant/ -- Great article explaining why this format is kinda bad. | |
using System; | |
using System.IO; | |
using System.Text; | |
namespace ZipAnalysis | |
{ | |
class Utilities { | |
public static string ByteArrayToHexView(byte[] inArr, int iStartAt, int iBytesPerLine, int iMaxByteCount, bool bShowASCII) |
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
set WshShell = WScript.CreateObject("WScript.Shell") | |
WScript.Sleep 3000 | |
'Hackery to get the clipboard's contents | |
Set objHTML = CreateObject("htmlfile") | |
text = objHTML.ParentWindow.ClipboardData.GetData("text") | |
WshShell.SendKeys text |
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
public BindUIColumn("OrigID", 50 /*width*/, 1 /*order*/, true/*sortNumerically*/) | |
static function ShowOriginalID(oS: Session): String { | |
return oS["x-OriginalSessionID"]; | |
} | |
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
// https://groups.google.com/d/msg/httpfiddler/BNnW_Y9jxCQ/eIaQsKhInPoJ | |
// https://microsite.omniture.com/t2/help/en_US/sc/implement/index.html#Sample_Product_Strings | |
public BindUITab("ReadTiming", true) | |
static function readsReport(arrSess: Session[]):String { | |
var oSB: System.Text.StringBuilder = new System.Text.StringBuilder(); | |
oSB.Append("<html><head></head><body>"); | |
for (var i:int = 0; i<arrSess.Length; i++) | |
{ | |
var sClt:String = arrSess[i].Timers.ClientReads.ToString(); | |
var sSrv:String = arrSess[i].Timers.ServerReads.ToString(); |
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
/* | |
Only IE and Edge 18 and below support META cache-control and META pragma | |
https://crbug.com/2763 | |
https://html.spec.whatwg.org/multipage/semantics.html#pragma-directives | |
*/ | |
import Meddler; | |
import System; | |
import System.Net.Sockets; | |
import System.Windows.Forms; |
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
/* | |
Only IE and Edge 18 and below support META cache-control and META pragma | |
https://crbug.com/2763 | |
https://html.spec.whatwg.org/multipage/semantics.html#pragma-directives | |
*/ | |
import Meddler; | |
import System; | |
import System.Net.Sockets; | |
import System.Windows.Forms; |
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
/* | |
Only IE and Edge 18 and below support META cache-control and META pragma | |
https://crbug.com/2763 | |
https://html.spec.whatwg.org/multipage/semantics.html#pragma-directives | |
*/ | |
import Meddler; | |
import System; | |
import System.Net.Sockets; | |
import System.Windows.Forms; |
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 Meddler; | |
import System; | |
import System.Net.Sockets; | |
import System.Windows.Forms; | |
class Handlers | |
{ | |
static function OnConnection(oSession: Session) | |
{ | |
try { |
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
Windows Registry Editor Version 5.00 | |
[HKEY_CLASSES_ROOT\.fuzzle] | |
"Content Type"="application/x-fuzzle" | |
@="FuzzleProgID" | |
[HKEY_CLASSES_ROOT\MIME\Database\Content Type\application/x-fuzzle] | |
"Extension"=".fuzzle" | |
[HKEY_CLASSES_ROOT\FuzzleProgID] |