Skip to content

Instantly share code, notes, and snippets.

View zx0r's full-sized avatar

zx0r

View GitHub Profile
@zx0r
zx0r / restore-broken-bootloader.sh
Last active January 26, 2025 06:48
[SOLVED] Unable to boot after kernel update
#!/usr/bin/env bash
# Script: restore_bootloader.sh
# Description: Restore of a broken bootloader for Gentoo Linux.
# Author: zx0r
# Version: 1.0
# Usage: Run as root or with sudo.
# Overview:
# This script is designed to restore a broken bootloader on a Gentoo Linux system.
# Fish Shell Functions and Abbreviations for Neovim Configuration Management
# Author: zx0r
# Description: A set of Fish shell functions and abbreviations to manage and switch between multiple Neovim configurations.
# Version: 1.0
# Overview:
# These functions and abbreviations simplify the process of managing multiple Neovim configurations.
# They allow you to:
@zx0r
zx0r / memory_optimizer.fish
Last active January 26, 2025 08:13
Shell Script: macOS Memory Optimizer
#!/usr/bin/env fish
# Script: macOS Memory Optimizer (Fish Shell)
# Description: Automates memory optimization tasks, including clearing inactive memory, caches, and setting up a cron job.
# Author: zx0r
# Version: 1.0
# Function to clear inactive memory
function clear_inactive_memory
echo "Clearing inactive memory..."
@zx0r
zx0r / gh_repo_managing.fish
Last active January 28, 2025 06:15
GitHub Repository Management Functions for Fish Shell
# ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
# a88888b. dP 888888ba dP
# d8' `88 88 88 `8b 88
# 88 .d8888b..d888b88.d8888b.a88aaaa8P'.d8888b..d8888b..d8888b.d8888P
# 88 88' `8888' `8888ooood8 88 `8b.88' `8888' `88Y8ooooo. 88
# Y8. .8888. .8888. .8888. ... 88 .8888. .8888. .88 88 88
# Y88888P'`88888P'`88888P8`88888P' 88888888P`88888P'`88888P'`88888P' dP
# Copyright (c) 2025 zx0r. All rights reserved.
@zx0r
zx0r / a_setup-gpg-git-macos.sh
Last active January 30, 2025 20:51
GnuPG (GPG) for macOS
#!/usr/bin/env bash
# ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
# :::::::: :::: ::: ::: ::: ::::::::: ::::::::
# :+: :+: :+:+: :+: :+: :+: :+: :+: :+: :+:
# +:+ :+:+:+ +:+ +:+ +:+ +:+ +:+ +:+
# :#: +#+ +:+ +#+ +#+ +:+ +#++:++#+ :#:
# +#+ #+#+# +#+ +#+#+# +#+ +#+ +#+ +#+ #+#+#
# #+# #+# #+# #+#+# #+# #+# #+# #+# #+#
@zx0r
zx0r / Awesome-Pentest.md
Created February 3, 2025 15:09 — forked from lakmalrupasinghe/Awesome-Pentest.md
Awesome-Pentesting

Awesome Penetration Testing Awesome

A collection of awesome penetration testing resources.

Penetration testing is the practice of launching authorized, simulated attacks against computer systems and their physical infrastructure to expose potential security weaknesses and vulnerabilities.

Your contributions and suggestions are heartily♥ welcome. (✿◕‿◕). Please check the Contributing Guidelines for more details. This work is licensed under a Creative Commons Attribution 4.0 International License.

This project is supported by Netsparker Web Application Security Scanner

@zx0r
zx0r / dsdt_analyser.py
Last active June 2, 2025 17:31
DSDT Analyser dor Hackintosh
license_text = """
License for Free Use with No Commercial Use
Copyright (c) 2025 spakk
Permission is hereby granted to any person obtaining a copy of this software and associated documentation files
to use the software free of charge and without restriction, including the rights to use, copy, modify, and
distribute the software, but strictly for non-commercial purposes only.
Restrictions:
@zx0r
zx0r / install_nerd_fonts.sh
Last active February 9, 2026 18:11
Script to interactively select and install Nerd Fonts for macOS
#!/usr/bin/env bash
# Script: install_nerd_fonts.sh
# Description: A script to interactively select and install Nerd Fonts for macOS using Homebrew and fzf.
# Author: zx0r
# Version: 1.0
# Enable strict error handling
set -euo pipefail
@zx0r
zx0r / vscode_extension_fetcher.py
Created August 5, 2025 22:05
VSCode Marketplace API, download and install extensions latest stable version
# ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
# License : MIT License
# Author : zx0r
# Description :
# A Python script that interacts with the Visual Studio Code Marketplace API
# to automatically fetch and download the latest stable and optionally pre-release .vsix versions of given extensions.
# It also detects if an extension is an Extension Pack and recursively downloads all included extensions.