Skip to content

Instantly share code, notes, and snippets.

View iamvee's full-sized avatar
🐝
let it 🐝

Vahid Naeini iamvee

🐝
let it 🐝
View GitHub Profile
@ph4r5h4d
ph4r5h4d / MySQL-Logging.md
Created December 1, 2020 10:24
Enable MySQL General Query Logging

For enabling the general query logging:

SET global general_log = 1;
SET global log_output = 'table'

For disabling:

SET global general_log = 0;
@mahmoud-eskandari
mahmoud-eskandari / README.md
Last active April 16, 2025 09:38
Install v2ray on Bridge:(Ubuntu +18 via systemd) - Upstream (Ubuntu +18/CentOS +7 via docker)

پنل x-ui

پنل تحت وب مدیریت V2ray و ساخت کاربر و مدیریت سرور

mkdir x-ui && cd x-ui
docker run -itd --network=host \
    -v $PWD/db/:/etc/x-ui/ \
 -v $PWD/cert/:/root/cert/ \
@Hamid-K
Hamid-K / whisper.py
Created August 20, 2024 22:26
Whisper: Transcribe Audio to Text
# Sample script to use OpenAI Whisper API
# This script demonstrates how to convert input audio files to text, fur further processing.
# The code can be still improved and optimized in many ways. Feel free to modify and use it
# for your own needs.
#
import openai
from openai import OpenAI
client = OpenAI(api_key="sk-proj-....")