Skip to content

Instantly share code, notes, and snippets.

View reanimat0r's full-sized avatar
🎯
Focusing

Bart Black reanimat0r

🎯
Focusing
View GitHub Profile
@reanimat0r
reanimat0r / lsof_netstat_on_macos.md
Created September 1, 2026 02:05 — forked from rollwagen/lsof_netstat_on_macos.md
lsof / netstat on macos

lsof / netstat on macos

lsof - list open files

  • display (list) all open TCP+UDP ports and grep for listening ones
    • sudo lsof -i -P | grep LISTEN
      COMMAND     PID           USER   FD   TYPE             DEVICE SIZE/OFF   NODE NAME
      launchd       1           root   11u  IPv6 0x26dd73cb700390df      0t0    TCP *:22 (LISTEN)
      ....
@reanimat0r
reanimat0r / AwesomeCourses.md
Created August 30, 2026 13:33 — forked from teocci/AwesomeCourses.md
List of awesome university courses for learning Computer Science!

Awesome Courses Awesome

Introduction

There is a lot of hidden treasure lying within university pages scattered across the internet. This list is an attempt to bring to light those awesome courses which make their high-quality material i.e. assignments, lectures, notes, readings & examinations available online for free.

Table of Contents

Inside the Claude Code source

Anthropic's Claude Code CLI source code leaked onto GitHub recently. All of it. About 1,900 files and a lot of TypeScript.

I read through the key modules. What follows is a breakdown of the surprising parts: how the system actually works, where Anthropic made clever engineering choices, and where their approach diverges from OpenAI's Codex in ways you wouldn't guess from using either tool.

Lifecycle of a request

Here's what happens when you type a message into Claude Code:

@reanimat0r
reanimat0r / ms_mac.md
Created August 23, 2026 22:08 — forked from changanmoon/ms_mac.md
Direct links for macOS version of Microsoft apps.

Microsoft Mac Downloads

These links were copied formerly from https://macadmins.software/.

All links on this gist point to Microsoft's official download on its Content Delivery Network (CDN).

Package Release CFBundle Identifier Download
Microsoft 365 and Office 2024 (2021) Suite Installer (Word / Excel / PowerPoint / Outlook / OneNote / OneDrive / MAU) N/A https://go.microsoft.com/fwlink/?linkid=525133
Microsoft 365 BusinessPro Suite Installer (Word / Excel / PowerPoint / Outlook / OneNote / OneDrive / Teams / Defender Shim / MAU) N/A
@reanimat0r
reanimat0r / dump.py
Created March 7, 2026 23:37 — forked from Demonslay335/dump.py
Dumps a PE from VirtualAlloc/VirtualProtect
import os
import sys
import time
import winappdbg
import traceback
class MyEventHandler(winappdbg.EventHandler):
last_alloc_memory = 0
@reanimat0r
reanimat0r / gen_id.py
Created March 7, 2026 23:27 — forked from Demonslay335/gen_id.py
DarkSide Ransomware ID Generation
import zlib, sys
def get_id(mac):
mac = int(mac, 16).to_bytes(6, 'big')
return checksum(mac, True)
def checksum(input, compression=False):
v3 = zlib.crc32(input, 0xDEADBEEF)
v4 = zlib.crc32(input, v3)
@reanimat0r
reanimat0r / abbr.fish
Created November 8, 2025 05:40 — forked from kenchou/abbr.fish
fish abbr
# 注:fish v3.6.0+ abbr 不再设置为 Universal
# 升级 fish 注意需清除 $__fish_config_dir/fish_variables (一般为 ~/.config/fish/fish_variables) 中旧的变量
# (MacOS) application
abbr android 'open -a Android\ Studio'
abbr anki 'open -a anki'
abbr boop 'open -a boop'
abbr ff 'open -a firefox'
abbr filezilla 'open -a filezilla'
abbr haroopad 'open -a haroopad'
@reanimat0r
reanimat0r / config.fish
Created November 8, 2025 05:22 — forked from karolyi/config.fish
My fish-shell settings
# Path to Oh My Fish install.
set -q XDG_DATA_HOME
and set -gx OMF_PATH "$XDG_DATA_HOME/omf"
or set -gx OMF_PATH "$HOME/.local/share/omf"
# Customize Oh My Fish configuration path.
#set -gx OMF_CONFIG /Users/laszlokarolyi/.config/omf
# Reload user_abbreviations by executing:
. ~/.config/fish/abbreviations/fish_user_abbreviations.fish
@reanimat0r
reanimat0r / config.fish
Created November 8, 2025 05:20 — forked from juliavdkris/config.fish
Fish config (aliases n some other shit)
# Text editor
abbr -a -g m micro
alias hex='hx'
abbr -a -g hx helix
abbr -a -g v nvim
export EDITOR=nvim
export MANPAGER='nvim +Man!'
export BROWSER=librewolf
export NNN_PLUG='z:autojump;f:finder;o:fzopen;d:diffs'
@reanimat0r
reanimat0r / win2ix.md
Created October 1, 2025 16:52 — forked from carlessanagustin/win2ix.md
Windows and Unix command line equivalents
Windows command Unix command Notes
set env Set on Windows prints a list of all environment variables. For individual environment variables, set is the same as echo $ on Unix.
set Path export $PATH Print the value of the environment variable using set in Windows.
set PROJ -- result: PROJ=c:\project
echo %PROJ% echo $PROJ result: c:\project

|