If you have a LUKS-encrypted partition on another disk, it's easy to mount it inside WSL.
List your disks:
> wmic diskdrive list briefMount the whole disk inside WSL (using --bare so WSL doesn't attempt to mount it automatically):
If you have a LUKS-encrypted partition on another disk, it's easy to mount it inside WSL.
List your disks:
> wmic diskdrive list briefMount the whole disk inside WSL (using --bare so WSL doesn't attempt to mount it automatically):
I can't take credit for much of the work here -- I adapted it from this blog post: https://tech.willhaben.at/mongodb-incremental-backups-dff4c8f54d58
My main contribution was to make it a little easier to use with docker as well as numerous little cleanup tasks. I also made it gzip the oplog backups and added support for SSL connections
Note that I havne't yet tested the point in time restore script; it likely needs work, particularly to make things work with the gzipped oplog files
See how a minor change to your commit message style can make a difference. Examples
Have a look at CLI util git-conventional-commits to ensure this conventions and generate changelogs
| #!/bin/bash | |
| # Download, extract and make executable | |
| sudo bash -c 'cd /usr/local/bin; curl -sSL https://aka.ms/downloadazcopy-v10-linux | tar --strip-components=1 --exclude=*.txt -xzvf -; chmod +x azcopy' |
These are manual instructions on enabling SSH access on your Steam Deck, adding public key authentication, and removing the need for a sudo password for the main user (deck).
This gist assumes the following:
ssh, ssh-keygen, and ssh-copy-idNOTE: @crackelf on reddit mentions that steamOS updates blow away everything other than /home, which may have the following effects:
systemd config for sshd.service, which would prevent the service from automatically starting on bootsudoers.d config, which would reenable passwords for sudovirtio-win.iso for KVM driversqemu manually, don't relay on libvirtqemu-system-x86_64 --enable-kvm \
-smp 4 -m 4096 -cpu host -vga qxl \
| # USE THIS SCRIPT TO UPLOAD LARGE .PBIX FILES TO POWER BI REPORT SERVER | |
| # | |
| # I needed to manually construct the form-data as PowerShell doesn't appear to have full support for | |
| # this yet, though it appears to be coming soon. | |
| #CREDENTIALS | |
| [string]$userName = 'BIWIN\MS' | |
| [string]$userPassword = 'xxxxxxxxxxxxx' | |
| [securestring]$secStringPassword = ConvertTo-SecureString $userPassword -AsPlainText -Force | |
| $Credential = New-Object System.Management.Automation.PSCredential ($userName, $secStringPassword) |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Net.Http; | |
| using System.Threading; | |
| using System.Threading.Tasks; | |
| using Microsoft.Rest; | |
| using Microsoft.Rest.Serialization; | |
| using Newtonsoft.Json; | |
| namespace PowerBI |
| <div class="blog-slider"> | |
| <div class="blog-slider__wrp swiper-wrapper"> | |
| <div class="blog-slider__item swiper-slide"> | |
| <div class="blog-slider__img"> | |
| <img src="https://res.cloudinary.com/muhammederdem/image/upload/v1535759872/kuldar-kalvik-799168-unsplash.jpg" alt=""> | |
| </div> | |
| <div class="blog-slider__content"> | |
| <span class="blog-slider__code">26 December 2019</span> | |
| <div class="blog-slider__title">Lorem Ipsum Dolor</div> |