Skip to content

Instantly share code, notes, and snippets.

View zx0r's full-sized avatar
πŸ’­
stay hungry; stay foolish

zx0r

πŸ’­
stay hungry; stay foolish
View GitHub Profile
@zx0r
zx0r / rag_system_for_legal_analysis.ipynb
Last active April 22, 2025 15:30
RAG_System_for_Legal_Analysis
@zx0r
zx0r / README.md
Created February 3, 2025 15:31 — forked from lopspower/README.md
Hexadecimal color code for transparency

Hexadecimal color code for transparency

Twitter

How to set transparency with hex value ?

For example, you want to set 40% alpha transparence to #000000 (black color), you need to add 66 like this #66000000.

Download This sample on Google Play Store

@zx0r
zx0r / workbench.colorCustomizations.json
Created February 3, 2025 15:18 — forked from dcts/workbench.colorCustomizations.json
A list of all Visual Studio Code customizable colors, grouped by UI region. Copy and paste into User Settings (comments are allowed) to tweak an existing theme or work on your own.
"workbench.colorCustomizations": {
// Contrast Colors - The contrast colors are typically only set for high contrast themes. If set, they add an additional border around items across the UI to increase the contrast.
"contrastActiveBorder": "",
"contrastBorder": "",
// Base Colors
"focusBorder": "",
"foreground": "",
"widget.shadow": "",
"selection.background": "",
"descriptionForeground": "",
@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 / Git-Bare-Repo-Management.md
Last active March 9, 2025 23:11
πŸ› οΈ Π£ΠΏΡ€Π°Π²Π»Π΅Π½ΠΈΠ΅ dotfiles ΠΈ с ΠΏΠΎΠΌΠΎΡ‰ΡŒΡŽ Bare Git Repository
# https://github.com/zx0r/Git-Bare-Repo-Management

πŸ› οΈ Managing dotfiles with a Bare Git Repository

Managing dotfiles using a bare Git repository is a clean, efficient, and version-controlled approach to maintaining system configurations across multiple environments. This guide follows DevOps, DevSecOps, and automation best practices to ensure seamless setup, maintainability, and security.

#!/usr/bin/env bash
# Script Name: download_gist_files.sh
# Description: Automates the process of downloading all files from a GitHub Gist.
# Uses the GitHub Gist API to fetch file metadata and downloads each file.
# Author: zx0r
# Date: 2025.01.30
# Version: 1.0
# Usage: ./download_gist_files.sh <GIST_ID>
# Example: ./download_gist_files.sh 843298b67cd91a0835dcf36aada529d5
@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 / 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 / install_nerd_fonts.sh
Last active January 26, 2025 10:44
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