Skip to content

Instantly share code, notes, and snippets.

View not-msb's full-sized avatar
🤓
Programming

MSB not-msb

🤓
Programming
View GitHub Profile
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\Background\shell\YoutubeDL]
@="Download with Youtube-DL"
[HKEY_CLASSES_ROOT\Directory\Background\shell\YoutubeDL\command]
@="powershell.exe -Command youtube-dl $(Get-Clipboard)"
@armicron
armicron / hello_world_into_file.asm
Created October 10, 2016 12:35
NASM x86_64 open file and write 'Hello world'
section .text
global _start ;must be declared for linker (ld)
_start: ;tell linker entry point
mov rdi, filename
mov rsi, 0102o ;O_CREAT, man open
mov rdx, 0666o ;umode_t
mov rax, 2
syscall