This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- MySQL with PHPMyAdmin --- | |
## MYSQL server | |
docker run --name MySQL -e MYSQL_ROOT_PASSWORD=root -p 3306:3306 -d -v ~/docker-volumes/mysql:/var/lib/mysql mysql:latest | |
## Create new user (DBA) | |
CREATE USER 'sajithneyo'@'%' IDENTIFIED BY 'sajithneyo'; | |
GRANT ALL PRIVILEGES ON *.* TO 'sajithneyo'@'%' WITH GRANT OPTION; | |
FLUSH PRIVILEGES; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Step 1 -> Import WSL image | |
wsl --import Ubuntu-Personal c:\WSL\data\Ubuntu-Personal C:\WSL\Ubuntu_2004.2020.424.0_x64\install.tar.gz --version 2 (https://winaero.com/export-import-wsl-linux-distro-windows-10/) | |
Step 2 -> Add a new user | |
https://www.digitalocean.com/community/tutorials/how-to-create-a-new-sudo-enabled-user-on-ubuntu-20-04-quickstart | |
Step 3 -> Start windows terminal with default user (last section of below article) | |
https://hfakhraei.github.io/Install-multiple-instance-of-same-Linux-Distribution-on-WSL | |
Step 4 -> Set default bash location |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: dev release | |
on: | |
push: | |
branches: | |
- dev | |
pull_request: | |
branches: | |
- dev | |
jobs: | |
configure-env: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"bracket-pair-colorizer-2.colors": [ | |
"Gold", | |
"Orchid", | |
"LightSkyBlue", | |
"Salmon", | |
"LawnGreen", | |
"DarkOrange", | |
"Cornsilk" | |
], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Aria2c download manager | |
Requires=network.target | |
After=dhcpcd.service | |
[Service] | |
Type=forking | |
User=*USER* | |
RemainAfterExit=yes | |
ExecStart=/usr/bin/aria2c --conf-path=/user/aria2/conf/aria.conf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
##files | |
dir=/user/downloads | |
file-allocation=falloc | |
continue=true | |
daemon=true | |
disk-cache=32M | |
##logging | |
log=/user/aria2/aria2.log | |
console-log-level=warn |