- Download the latest zsh package: https://packages.msys2.org/package/zsh?repo=msys&variant=x86_64
Example:
zsh-5.7.1-1-x86_64.pkg.tar.xz
| // Run powershell as admin | |
| Go inside "wsl2" cmd | |
| install ncdu : sudo apt-get install ncdu | |
| run : sudo ncdu --exclude mnt //--exclude mnt Ignore windows drive like - c: d: etc... | |
| wsl --shudown | |
| Optimize-VHD -Path %userprofile%\AppData\Local\Packages\CanonicalGroupLimited.Ubuntu20.04onWindows_79rhkp1fndgsc\LocalState\ext4.vhdx -Mode Full | |
| Optimize-VHD -Path %userprofile%\AppData\Local\Docker\wsl\data\ext4.vhdx -Mode Full | |
| // Use Windirstat like program to find .vhdx file , generally those are large in size |
Example:
zsh-5.7.1-1-x86_64.pkg.tar.xz
| { | |
| "version": "0.2.0", | |
| "configurations": [ | |
| { | |
| "name": "Launch Program", | |
| "type": "node", | |
| "request": "launch", | |
| "skipFiles": [ | |
| "<node_internals>/**" | |
| ], |
| $(function() { | |
| $('.flexslider').flexslider({ | |
| animation: "slide", | |
| slideshow: false, // Stop Auto Slide Changes | |
| directionNav: false, | |
| start: function() { | |
| updateTimeVideoTimeAction(); | |
| }, // Fires when the slider loads the first slide | |
| before: function() { | |
| // Stop all Video if any Playback left |
| //1. Create a Dirctory in /media/cdrom | |
| sudo mkdir /media/cdrom | |
| //2. Mount the CD-ROM | |
| sudo mount /dev/cdrom /media/cdrom | |
| //3. Change into the mounted directory | |
| cd /media/cdrom | |
| //4. Install the necessary dependencies |
| //login to your droplet. | |
| //1. output the hostname | |
| hostname | |
| //2. modify the hosts | |
| nano /etc/host | |
| //3. the first line in this file, should use the hostname on the end. For example: "Harman" | |
| 127.0.0.1 localhost localhost.domainname Lee |