bash <(curl -sL https://gist.githubusercontent.com/1v/b21da42500389725af260c0e51c9f2dd/raw/wsl.sh)
Add:
BROWSER: 'wslopen'
to application.yml
// ==UserScript== | |
// @name BestChange | |
// @namespace http://tampermonkey.net/ | |
// @version 0.2 | |
// @description Highlights favorite exchanges | |
// @homepage https://gist.github.com/1v/fa3d41bf43c63d960e2b48dd8312e340 | |
// @match https://www.bestchange.ru/* | |
// @match https://www.bestchange.com/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=bestchange.ru | |
// @require https://code.jquery.com/jquery-3.7.1.min.js |
bash <(curl -sL https://gist.githubusercontent.com/1v/b21da42500389725af260c0e51c9f2dd/raw/wsl.sh)
Add:
BROWSER: 'wslopen'
to application.yml
Add this to Windows Terminal settings (Settings -> Open JSON file) after launchMode
for example:
"startupActions": "new-tab -p Ubuntu wsl -- source ~/.bash_profile \\; cd ~/www/rails-project \\; bin/rails s \\; $SHELL; new-tab -p Ubuntu wsl -- source ~/.bash_profile \\; cd ~/www/rails-project \\; bin/webpack-dev-server \\; $SHELL; new-tab -p Ubuntu wsl -- source ~/.bash_profile \\; cd ~/www/rails-project \\; $SHELL"
Explanation:
Start rails server. Tab will not be closed if server stopped by user, because of $SHELL. Using source ~/.bash_profile
because rvm not loaded without it
cd ~/.local/bin
wget https://gist.github.com/1v/363393ebed0da5ed6f14678b6e031f21/raw/9c367b97565cc059f41ff95d9dc56db9085e13ca/shut-ter-auto-launch
chmod +x shut-ter-auto-launch
Add shut-ter-auto-launch
to Startup Applications
.
curl -L https://get.rvm.io | bash
source /home/user/.rvm/scripts/rvm
rvm autolibs fail
Install aqt https://github.com/miurahr/aqtinstall/
pip install aqtinstall
List Qt versions
aqt list-qt linux desktop
Install Qt