Skip to content

Instantly share code, notes, and snippets.

View 0017031's full-sized avatar
🎯
Focusing

fcccp 0017031

🎯
Focusing
View GitHub Profile
@0017031
0017031 / x86_asm_study
Last active August 2, 2017 04:13
x86 assembly
Bluff your way in x64 assembler - Roger Orr [ACCU 2017] [https://www.youtube.com/watch?v=RI7VL-g6J7g]
8086, 16bit Registers
- General: AX, BX, CX, DX, (8bit, e.g. AH, AL)
- Index: SI, DI, BP, SP (source index, Destination Index, base pointer, stack pointer)
- Segment: CS, DS, ES, SS (code seg, data seg, extra seg, stack seg)
- Special Purpose: IP
- Flags: status register
8087, stack ST0 ~ ST7, st0 is the top
@0017031
0017031 / case-sensitive-seach.js
Created January 6, 2017 05:25 — forked from borisdiakur/case-sensitive-seach.js
Bookmarklet for case-sensitive search in Google Chrome (and other browsers which do not ship this feature). You can find install instruction below the code.
(function () {
'use strict';
var body = document.body,
html = document.documentElement;
var docHeight = Math.max(body.scrollHeight, body.offsetHeight, html.clientHeight, html.scrollHeight, html.offsetHeight);
var findingColor = 'limegreen';
@0017031
0017031 / DirectoryException.cpp
Created August 24, 2016 11:22 — forked from colltoaction/DirectoryException.cpp
A simple C++ class that reads files in a directory, and also works as an example of RAII.
#include "DirectoryException.h"
DirectoryException::DirectoryException(const std::string& what_arg)
: std::logic_error(what_arg) {
}