https://reposhub.com/rust/development-tools/rust-lang-rustup.html
This file contains hidden or 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
| # needed when installing rust on Ubuntu/WSL | |
| sudo apt install build-essential |
This file contains hidden or 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
| source ~/.bashrc | |
| # keystroke saver, alternate | |
| . ~/.bashrc |
matklad.rust-analyzer
rust-lang.rust
This file contains hidden or 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
| # remove cortana from Windows 10 (doesn't support my native language) | |
| # hat-tip: | |
| # https://www.windowscentral.com/how-uninstall-cortana-windows-10-may-2020-update | |
| # remove-appxpackage doesn't seem to work with ps 7.x at the present 2021-04-05 | |
| Get-AppxPackage -allusers Microsoft.549981C3F5F10 | Remove-AppxPackage |
This file contains hidden or 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
| # this command check the powershell engine not only the host e.g. get-host.version | |
| $PSVersionTable.PSVersion | |
| # for more exapmles and alternative https://adamtheautomator.com/check-powershell-version/ |
This file contains hidden or 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
| # https://ubuntu.com/blog/new-installation-options-coming-for-ubuntu-wsl | |
| # https://devblogs.microsoft.com/commandline/distro-installation-added-to-wsl-install-in-windows-10-insiders-preview-build-20246/ | |
| # https://docs.microsoft.com/en-us/windows/wsl/install-win10 | |
| wsl --install -d <distros> | |
| # alternative wsl.exe --install -d <distros> | |
| wsl --list --online | |
| #neh you disto version to wsl1 or wsl2 | |
| wsl --list --verbose |
This file contains hidden or 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
| https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_command_syntax?view=powershell-7 | |
| https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_parameters?view=powershell-7 |