Skip to content

Instantly share code, notes, and snippets.

View sallymanda's full-sized avatar
🐛
bugging developers

sallymanda

🐛
bugging developers
View GitHub Profile
@hasezoey
hasezoey / ade_qemu_mint.md
Created May 30, 2023 13:55
A Guide on how to setup a Qemu VM for Adobe Digital Editions and Calibre with DeDRM

Adobe Digital Edition and Calibre DeDRM in a VM

This guide shows how to have a ADE Setup with Calibre DeDRM via wine in qemu VM with Linux Mint.

This guide may not fully apply to your use-case, but i wanted to make it so i remember all the steps & download links in case i need to re-do the VM.

Pre-Download / Requirements

This section will list all the host requirements and files that will be downloaded throughout the guide, if wanting to download them beforehand.

@primaryobjects
primaryobjects / hotspot-keep-alive.ps1
Last active March 8, 2026 15:48
Script to Enable Windows 10 Mobile Hotspot Automatically After Reboot
# https://superuser.com/a/1434648
Add-Type -AssemblyName System.Runtime.WindowsRuntime
$asTaskGeneric = ([System.WindowsRuntimeSystemExtensions].GetMethods() | ? { $_.Name -eq 'AsTask' -and $_.GetParameters().Count -eq 1 -and $_.GetParameters()[0].ParameterType.Name -eq 'IAsyncOperation`1' })[0]
Function Await($WinRtTask, $ResultType) {
$asTask = $asTaskGeneric.MakeGenericMethod($ResultType)
$netTask = $asTask.Invoke($null, @($WinRtTask))
$netTask.Wait(-1) | Out-Null
$netTask.Result