A collection of utilities & helpers.
- Undraw - MIT Licensed SVG Illustrations
- Dribbble - Design Inspiration
- Material Design Color Tool - UI Color Palette Generator
- Tailwind Colors - UI Color Palette
- Tailwind Shadows - UI Shadows
- Server-side
- Client-side
-
MySQL
- Dump a password-protected database to a raw .sql file -
mysqldump -u [username] -p [databasename] > [filename].sql
- Hydrate a password-protected database with a raw .sql file -
mysql -u [username] -p -h localhost [databasename] < [filename].sql
- Dump a password-protected database to a raw .sql file -
-
Linux Shell
- Copy a local file to a remote destination -
scp [path_to_local_file] [user]@[hostname]:[path_to_remote_destination]
- Copy a remote file to a local destination -
scp [user]@[hostname]:[path_to_remote_file] [path_to_local_destination]
- Copy a local file to a remote destination -
- MySQL 8 Access denied for user 'root'@'localhost'
sudo systemctl stop mysql
sudo mkdir -p /var/run/mysqld
sudo chown mysql:mysql /var/run/mysqld
sudo mysqld_safe --skip-grant-tables --skip-networking &
sudo mysql
UPDATE mysql.user SET plugin='mysql_native_password' WHERE User='root';
FLUSH PRIVILEGES;
EXIT;
/etc/init.d/mysql stop
service mysql stop
sudo killall -KILL mysql mysqld_safe mysqld
/etc/init.d/mysql start
service mysql start