Skip to content

Instantly share code, notes, and snippets.

View gladx's full-sized avatar
🕺
Coding ...

Ali Yousefi gladx

🕺
Coding ...
View GitHub Profile
@gladx
gladx / phpmyadmin-config.md
Created July 20, 2022 23:00
Install phpmyadmin and set random hash config.inc.php

openssl rand -base64 32 // config.inc.php $cfg['blowfish_secret'] = 'BX0pgCsYvLhoohqKaUgdTzr5T+Na0n/tKvat4i9bGfc=';

// .bashrc alias phpmyadmin="php8.0 -S localhost:8081 -t /home/user/tools/phpmyadmin"

# php install
## apt
sudo add-apt-repository ppa:ondrej/php
## set other version
sudo update-alternatives --config php
// sudo update-alternatives --set php /usr/bin/php7.1
apt-get install -y \
php8.2-cli php8.2-dev \
@gladx
gladx / rclone.md
Last active September 20, 2023 00:31
Rclone example commands

Rclone Simple Example Commands

Copy

-P show proggress

rclone copy -P -v --multi-thread-streams=10 remote-230:/root/a ~/Videos/

Config