Skip to content

Instantly share code, notes, and snippets.

View rezazoom's full-sized avatar
🎯
Focusing

Reza Esmaeili rezazoom

🎯
Focusing
View GitHub Profile
@rezazoom
rezazoom / gossh
Created August 16, 2026 07:55
Go SSH CLI Helper
#!/bin/bash
# Define colors for styling
GREEN='\033[0;32m'
CYAN='\033[0;36m'
RED='\033[0;31m'
YELLOW='\033[0;33m'
RESET='\033[0m'
# Check if the SSH config file exists
@rezazoom
rezazoom / rocketchat.css
Created July 19, 2026 11:12
Rocket.Chat Theme Improvements
@media (prefers-color-scheme: dark) {
main,
.messages-box,
[data-qa='messages-box'],
.rcx-message-list {
background: #2f343d !important;
}
.rcx-message,
.message {
#!/usr/bin/env bash
#
# Advanced ADB Logcat Monitor for Android apps
#
# Author: Reza Esmaeili
# Description:
# Tail logcat for a specific Android app process (by package) with:
# - Device selection (auto or explicit)
# - Configurable filters / logcat args
# - Optional app restart
@rezazoom
rezazoom / jira-rtl.css
Last active June 23, 2026 08:45
RTL for Jira board
/*
* Custom CSS for proper Persian (RTL) rendering in Jira.
*
* How to apply:
* Jira Administration > System > User Interface > Announcement Banner
* Paste this CSS inside the banner to inject it globally.
*
* Notes:
* - Main content fields (comments, descriptions, agile board issues) are forced to RTL.
* - Code/preformatted blocks are explicitly excluded and kept LTR for readability.
@rezazoom
rezazoom / hostcheck.php
Created June 23, 2025 15:11
Iran Shared Hosting Connectivity & Tunneling Tester (PHP)
<?php
// Check if form is submitted
if ($_SERVER['REQUEST_METHOD'] === 'POST') {
// Handle file deletion if requested
if (isset($_POST['delete'])) {
@unlink(__FILE__);
die('<h2 style="color: #51cf66;">File successfully deleted!</h2>');
}
if (isset($_POST['url'])) {
@rezazoom
rezazoom / remove-expired.py
Created November 10, 2024 14:02
Remove expired inbounds in 3x-ui panel
"""
File: remove-expired.py
Author: Reza Esmaeili
Date: Nov 09, 2024
Description:
This script helps administrators manage inbounds on a 3x-ui panel by identifying and
removing expired inbounds or those that exceed specified data usage limits. Additionally,
it can notify administrators of actions taken through Telegram Bot API notifications.
Features:
<?php
/**
* Plugin Name: اقدام گروهی به تغییر شیوه‌ی ارسال
* Plugin URI: https://baransys.com/
* Description: با استفاده از این افزونه می‌توان با یک کلیک شیوه‌ی ارسال را به نوع دیگری تغییر داد.
* Version: 1.0
* Requires at least: 5.2
* Requires PHP: 7.2
* Author: Reza Esmaeili