This project provides a Bash script to install, update, and run the Telegram Bot API on Linux systems. The script automatically detects your system's package manager and installs the required dependencies.
dnf
→ Fedora, RHEL, CentOS 8+
This project provides a Bash script to install, update, and run the Telegram Bot API on Linux systems. The script automatically detects your system's package manager and installs the required dependencies.
dnf
→ Fedora, RHEL, CentOS 8+<?php | |
// Read and decode incoming JSON from Telegram | |
$input = file_get_contents('php://input'); | |
$update = json_decode($input, true); | |
// Reject if not a valid update | |
if (!is_array($update)) { | |
http_response_code(403); | |
exit; |
[ | |
"CascadiaCode", | |
"JetBrainsMono", | |
"FiraCode", | |
"CourierPrimeCode", | |
"ChalkboardSE", | |
"WParvaz", | |
"VazirFont", | |
] |
from flask import Flask, request, jsonify | |
import requests | |
app = Flask(__name__) | |
@app.route('/', methods=['GET']) | |
def generate(): | |
data = { | |
"model": "phi3:mini", | |
"messages": [ |
function FindProxyForURL(url, host) { | |
// ==== Proxy Configuration ==== | |
var PROXY = "PROXY 127.0.0.1:10808"; // Local proxy | |
var DIRECT = "DIRECT"; // No proxy, connect directly | |
var DEFAULT = PROXY; // Fallback behavior | |
// ==== Domain Rules ==== | |
// Domains to bypass proxy (always direct) | |
var directDomains = [ |
sudo xattr -rd com.apple.quarantine /path/to/file
#!/bin/bash | |
# Variables | |
USERNAME="your_username" | |
DESTINATION_SERVER="destination_server_ip" | |
DESTINATION_PATH="/home/" | |
BACKUP_FILE="/home/cpmove-$USERNAME.tar.gz" | |
echo "[+] Creating backup for $USERNAME..." | |
/scripts/pkgacct $USERNAME |
Markdown is a simple, lightweight text formatting language that is primarily used for writing documentation, README files, blogs, and content that will be rendered as HTML. Markdown allows you to structure your text using simple markup.