Skip to content

Instantly share code, notes, and snippets.

View elzii's full-sized avatar

Alexander Zizzo elzii

View GitHub Profile

Awesome-Selfhosted

Awesome

Self-hosting is the practice of hosting and managing applications on your own server(s) instead of consuming from SaaSS providers.

This is a list of Free Software network services and web applications which can be hosted on your own server(s). Non-Free software is listed on the [Non-Free](https://github.com/awesome

@0xdevalias
0xdevalias / reverse-engineering-macos.md
Last active May 8, 2025 21:07
Some notes, tools, and techniques for reverse engineering macOS binaries
@AminoffZ
AminoffZ / new-button-structure.html
Created October 14, 2023 20:36
The structure of the new like and dislike buttons on YouTube
<div
id="top-level-buttons-computed"
class="top-level-buttons style-scope ytd-menu-renderer"
>
<ytd-segmented-like-dislike-button-renderer
class="style-scope ytd-menu-renderer"
button-renderer="true"
><!--css-build:shady--><!--css-build:shady--><yt-smartimation
class="style-scope ytd-segmented-like-dislike-button-renderer"
><div
@Baneeishaque
Baneeishaque / main.txt
Created July 2, 2023 02:08
Chrome Extensions
SuperSorter - Chrome Web Store https://chrome.google.com/webstore/detail/supersorter/hjebfgojnlefhdgmomncgjglmdckngij
FBS II : Fast Bookmark Scanner II - Chrome Web Store https://chrome.google.com/webstore/detail/fbs-ii-fast-bookmark-scan/gjcmklpilmpfhfjpebhnapnglcppdbic
The Great Discarder - Chrome Web Store https://chrome.google.com/webstore/detail/the-great-discarder/jlipbpadkjcklpeiajndiijbeieicbdh
Google Keep Chrome Extension - Chrome Web Store https://chrome.google.com/webstore/detail/google-keep-chrome-extens/lpcaedmchfhocbbapmcbpinfpgnhiddi
Simple URL Copy - Chrome Web Store https://chrome.google.com/webstore/detail/simple-url-copy/cefkgjbbpagcilodnhboolbppdjlplip/related
@Strus
Strus / clangd.md
Last active May 7, 2025 17:34
How to use clangd C/C++ LSP in any project

How to use clangd C/C++ LSP in any project

tl;dr: If you want to just know the method, skip to How to section

Clangd is a state-of-the-art C/C++ LSP that can be used in every popular text editors like Neovim, Emacs or VS Code. Even CLion uses clangd under the hood. Unfortunately, clangd requires compile_commands.json to work, and the easiest way to painlessly generate it is to use CMake.

For simple projects you can try to use Bear - it will capture compile commands and generate compile_commands.json. Although I could never make it work in big projects with custom or complicated build systems.

But what if I tell you you can quickly hack your way around that, and generate compile_commands.json for any project, no matter how compilcated? I have used that way at work for years, originaly because I used CLion which supported only CMake projects - but now I use that method succesfully with clangd and Neovim.

@acarril
acarril / bootable-win-on-mac.md
Created November 18, 2022 17:49
Create a bootable Windows USB using macOS

For some reason, it is surprisingly hard to create a bootable Windows USB using macOS. These are my steps for doing so, which have worked for me in macOS Monterey (12.6.1) for Windows 10 and 11. After following these steps, you should have a bootable Windows USB drive.

1. Download a Windows disc image (i.e. ISO file)

You can download Windows 10 or Windows 11 directly from Microsoft.

2. Identify your USB drive

After plugging the drive to your machine, identify the name of the USB device using diskutil list, which should return an output like the one below. In my case, the correct disk name is disk2.

@SofijaErkin
SofijaErkin / clean_mac_purgeable_space_via_remove_localsnapshots.md
Last active November 26, 2024 18:40
Free space via removing purgeable on mac.

The purgeable space on macOS

1.Question

I have gone to bed before using TimeMachine to backup my mac and accidentally

clicked the Back Up Automatically button on the setting of Time Machine

yesterday night. I have found my mac only has 60 GB free space on Disk

@metzenseifner
metzenseifner / utm-arch-linux-installation-guide.md
Created August 9, 2022 13:49 — forked from Sam0230/utm-arch-linux-installation-guide.md
Installing Arch Linux ARM in a UTM virtual machine

Installing Arch Linux ARM in a UTM virtual machine

Steps:

  1. Create a new virtual machine.
  2. Go to System tab, change architecture to `ARM64 (aarch64)' and increase memory as needed.
  3. Download Alpine Linux LiveCD:
mirror=https://dl-cdn.alpinelinux.org/alpine
curl -o alpine-virt-latest-aarch64.iso "$mirror/latest-stable/releases/aarch64/$(curl "$mirror/latest-stable/releases/aarch64/latest-releases.yaml" | /usr/bin/grep -E 'file: alpine-virt-[0-9\.]+-aarch64\.iso' | head -n 1 | sed 's/ //g' | sed 's/\t//g' | sed 's/^file://')"
  1. Go to Drives tab, New Drive, set size to 20GiB or larger, then Inport Drive, choose the file you just downloaded.
@zackmark29
zackmark29 / decryptchromecookies.py
Created May 16, 2021 14:19
Decrypt Chrome Cookies File (Python 3) - Windows
# Based on:
# https://gist.github.com/DakuTree/98c8362fb424351b803e
# https://gist.github.com/jordan-wright/5770442
# https://gist.github.com/DakuTree/428e5b737306937628f2944fbfdc4ffc
# https://stackoverflow.com/questions/60416350/chrome-80-how-to-decode-cookies
# https://stackoverflow.com/questions/43987779/python-module-crypto-cipher-aes-has-no-attribute-mode-ccm-even-though-pycry
import os
import json
import base64