Skip to content

Instantly share code, notes, and snippets.


Lin, Yong Xiang r888800009

View GitHub Profile
r888800009 /
Created April 18, 2022 17:56 — forked from naholyr/
Sample /etc/init.d script

Sample service script for debianoids

Look at LSB init scripts for more information.


Copy to /etc/init.d:

# replace "$YOUR_SERVICE_NAME" with your service's name (whenever it's not enough obvious)

ELF Format Cheatsheet


Executable and Linkable Format (ELF), is the default binary format on Linux-based systems.



r888800009 / steps.asciidoc
Created December 18, 2021 01:50 — forked from robjens/steps.asciidoc
Grsec Arch Long Term Support Hacking
View steps.asciidoc

ArchLinux linux-grsec-lts


Up-to-date OS

Always ensure you have the latest set of software (Arch is a rolling release system in case you didn’t know).

# In my case, enable `rw` mount of `/boot` or, if linux updates, will fail due to `ro` mode preventing write to disk partition
r888800009 /
Created November 16, 2021 22:55 — forked from crunchprank/
Cheat Sheet For Password Crackers

Cheat Sheet For Password Crackers

This list was posted over at Unix-Ninja. I take no credit for these. Posting these here for my own convenience.

Extracting Data

Extract md5 hashes

# egrep -oE '(^|[^a-fA-F0-9])[a-fA-F0-9]{32}([^a-fA-F0-9]|$)' *.txt | egrep -o '[a-fA-F0-9]{32}' > md5-hashes.txt
# egrep -oE '(^|[^a-fA-F0-9])[a-fA-F0-9]{32}([^a-fA-F0-9]|$)' *.txt | egrep -o '[a-fA-F0-9]{32}' > md5-hashes.txt
r888800009 / iterm-colors-to-vscode.js
Last active November 4, 2021 19:50 — forked from 2xAA/iterm-colors-to-vscode.js
Convert iTerm2 "itermcolors" file to VSCode terminal color scheme
View iterm-colors-to-vscode.js
/* Generate colors using */
const col = [] // run your .itermcolors file through the above parser and replace the array with the output
function componentToHex(c) {
const hex = c.toString(16)
return hex.length === 1 ? `0${hex}` : hex
const mapping = {
'terminal.background':'Background Color',