powershell-scripts
wsl2_scripts
powershell-scripts | wsl2_scripts | |
---|---|---|
4 | 9 | |
2 | 16 | |
- | - | |
7.9 | 8.0 | |
5 months ago | 4 months ago | |
PowerShell | PowerShell | |
GNU Affero General Public License v3.0 | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
powershell-scripts
- Should I be using venv in native Windows 11 or venv in WSL for projects?
-
Power shell is awful even on Windows
https://github.com/szymonos/powershell-scripts/blob/main/.config/linux/setup_powershell.sh https://github.com/szymonos/powershell-scripts/blob/main/.config/windows/setup_powershell.ps1 https://github.com/szymonos/powershell-scripts/blob/main/.config/macos/setup_powershell.sh
-
Powershell Usage For Linux Admin Questions
If you want, you can try my PowerShell on Linux setup. Simply clone the repo https://github.com/szymonos/powershell-scripts, and run the command .config/linux/setup_powershell.sh from the root path of the repository.
-
which
OK, here is the repo with PowerShell installation/configuration scripts: szymonos/powershell-scripts, you can read the instructions there: PS_LINUX.md. Tested on Ubuntu, Arch, OpenSUSE, Fedora, CentOS ;).
wsl2_scripts
-
Accidentally unregistered wsl2 distro
Once you resolve this, check out these scripts for backing up and restoring your WSL2 instance.
-
Current state of using IntelliJ IDEs (mainly Webstorm and DataGrip) with WSL2
Also, if you use Docker Desktop (windows), and want to backup your wsl2 ubuntu with the wsl --export command, make sure you shutdown docker first. Here's a repo I have with docker, backup, restore scripts and right-click windows options for restoring. . It's nothing fancy but I like it way better than trying to use an app or manually doing everything.
-
Should I be using venv in native Windows 11 or venv in WSL for projects?
Huh thought I did.. however.. here it is! Repository
-
Please help. Have spent 5 hours customizing my WSL and broke everything.
You should learn how to backup wsl ubuntu and restore it. Then you can start a process like this and if it doesn't work, you can restore it back without loss of work. Here are some ideasyou can use to implement this..
-
Should I be creating a WSL "install" for each project?
This is all available from my Github Repository
-
Just witnessed about every fire engine and police car in the entire city of Asheville convening on Sam's Club or anybody know what's up?
Take a look at this github repository.. this is the scripts I have for backup / restore of wsl, stopping / restarting docker for windows. Wrote most of it, but some I just found on the web and copied. NO idea who the original author is. So, I use Executor (it's a windows app) to make some shortcut keys to stop/restart docker. Another to backup the current wsl2 ubuntu. I also have a reg file that installs a windows context menu (right-click) to restore a backup. You right-click on the backup file and select the restore option. It's all simple to use. You will have to read each one and make sure it fits your configuration. The .reg file works on windows 11 but I haven't tested it on windows 10.
-
WSL2 Linux GUI installation
I saved this tidbit in my files for future use. I just use one instance right now so I wrote scripts to backup to a directory with a hotkey. I can also restore by right-clicking on a vhdx file and selecting restore. I wrote a registry hack to make that happen. Since I use Docker for Windows (from within ubuntu) I wrote a restart script for that as well and assigned a hotkey. I keep this stuff in my github repository if you should want to look at it. It's nothing amazing but sure makes my life easier.
-
W11 WSL2 /etc/hosts missing localdomain entry
Also if you are interested in some Windows Utilities (just batch and ps1 files) for backup/restore, here' a git repository .
What are some alternatives?
oh-my-posh2 - A prompt theming engine for Powershell
distribution-spec - OCI Distribution Specification
nushell - A new type of shell
linux-setup-scripts - Repository with Linux setup scripts for WSL, Vagrant, etc.
WSL - Issues found on WSL
distrobox - Use any linux distribution inside your terminal. Enable both backward and forward compatibility with software and freedom to use whatever distribution you’re more comfortable with. Mirror available at: https://gitlab.com/89luca89/distrobox
podman-desktop-companion - Podman desktop companion
wsl-distrod - Distrod is a meta-distro for WSL 2 which installs Ubuntu, Arch, Debian, Gentoo, etc. with systemd in a minute for you. Distrod also has built-in auto-start feature on Windows startup and port forwarding ability.