Skip to content

Instantly share code, notes, and snippets.

View SenpaiSilver's full-sized avatar
💭
🥓🥓🥓

SenpaiSilver

💭
🥓🥓🥓
View GitHub Profile
senpaisilver:~$> cat canonical.fmt
"%08_ax " 8/1 "%02x " " " 8/1 "%02x "
" |"
"%_p"
"|\n"
"%08_Ax\n"
senpaisilver:~$> hexdump -f canonical.fmt output.ascii
00000000 00 a2 00 01 03 00 00 00 00 73 77 72 63 6f 6d 6d |.........swrcomm|
00000010 61 6e 64 6f 00 73 77 72 63 6f 6d 6d 61 6e 64 6f |ando.swrcommando|
00000020 00 71 53 4e 41 54 57 2a 33 00 5c 68 6f 73 74 6e |.qSNATW*3.\hostn|
senpaisilver:~$> cat canonical.fmt
"%08_ax " 16/1 "%02x "
" |"
"%_p"
"|\n"
senpaisilver:~$> hexdump -f canonical.fmt output.ascii
00000000 00 a2 00 01 03 00 00 00 00 73 77 72 63 6f 6d 6d |.........swrcomm|
00000010 61 6e 64 6f 00 73 77 72 63 6f 6d 6d 61 6e 64 6f |ando.swrcommando|
00000020 00 71 53 4e 41 54 57 2a 33 00 5c 68 6f 73 74 6e |.qSNATW*3.\hostn|
00000030 61 6d 65 5c 68 6f 73 74 70 6f 72 74 5c 6e 75 6d |ame\hostport\num|
senpaisilver:~$> cat canonical.fmt
"%_ax " 16/1 "%02x "
" |"
"%_p"
"|\n"
senpaisilver:~$> hexdump -f canonical.fmt output.ascii
0 00 a2 00 01 03 00 00 00 00 73 77 72 63 6f 6d 6d |.........swrcomm|
10 61 6e 64 6f 00 73 77 72 63 6f 6d 6d 61 6e 64 6f |ando.swrcommando|
20 00 71 53 4e 41 54 57 2a 33 00 5c 68 6f 73 74 6e |.qSNATW*3.\hostn|
30 61 6d 65 5c 68 6f 73 74 70 6f 72 74 5c 6e 75 6d |ame\hostport\num|
@SenpaiSilver
SenpaiSilver / hexdump_canonical.fmt
Last active May 2, 2016 20:00
Replicates the canonical output of hexdump.
"%08_ax " 8/1 "%3.02x" " " 8/1 "%3.02x"
" |"
"%_p"
"|\n"
"%08_Ax\n"
2: kd> !sysinfo machineid
Machine ID Information [From Smbios 2.7, DMIVersion 39, Size=1687]
BiosMajorRelease = 4
BiosMinorRelease = 6
BiosVendor = American Megatrends Inc.
BiosVersion = G750JM.207
BiosReleaseDate = 07/17/2014
SystemManufacturer = ASUSTeK COMPUTER INC.
SystemProductName = G750JM
SystemFamily = G
*******************************************************************************
* *
* Bugcheck Analysis *
* *
*******************************************************************************
Use !analyze -v to get detailed debugging information.
BugCheck 9F, {3, ffffe000842c7410, ffffd0002609c960, ffffe00084f9dca0}
2: kd> !irp ffffe000e546a010
Irp is active with 6 stacks 4 is current (= 0xffffe000e546a1b8)
No Mdl: No System Buffer: Thread 00000000: Irp stack trace.
cmd flg cl Device File Completion-Context
[ 0, 0] 0 0 00000000 00000000 00000000-00000000
Args: 00000000 00000000 00000000 00000000
[ 0, 0] 0 0 00000000 00000000 00000000-00000000
Args: 00000000 00000000 00000000 00000000
*******************************************************************************
* *
* Bugcheck Analysis *
* *
*******************************************************************************
Use !analyze -v to get detailed debugging information.
BugCheck 9F, {3, ffffe000e61bd060, ffffd0011789c960, ffffe000e546a010}
// ==UserScript==
// @name MangafoxNoWarning
// @namespace SenpaiSilver
// @include *mangafox.me/manga/*
// @version 1
// @grant none
// ==/UserScript==
function RemoveWarning() {
if ($('.warning').length === 0)
#!/usr/bin/env python3
import os
PRECEDE="./precede_files/"
PSO2="./pso2_files/"
files = {}
total_size = 0
new_files = 0