Skip to content

Instantly share code, notes, and snippets.

@metinsanli
metinsanli / run_debian_in_windows.md
Last active October 27, 2025 13:15
#Windows #QEMU #Debian

WHPX (Windows Hypervisor Platform Accelerator)

Windows üzerinde çalışan Qemu'nun donanım sanallaştırma desteği kullanmasını sağlayan bir hızlandırıcıdır. WHPX, Windows 10/11'deki Windows Hypervisor Platform (WHP) API'sini kullanan QEMU hızlandırıcısıdır. Windows'un kendi hipervizör altyapısından (Hyper-V'nin de kullandığı) yararlanır.

Windows 10/11 üzerinde whpx kontrolü
Get-WindowsOptionalFeature -Online -FeatureName HypervisorPlatform
# copy to $env:HOMEPATH\Documents\WindowsPowerShell\profile.ps1
# ALIAS
Set-Alias -Name v -Value nvim
Set-Alias -Name vi -Value nvim
Set-Alias -Name vim -Value nvim
@metinsanli
metinsanli / updatepip.ps1
Created November 22, 2024 10:22
Script to update outdated python modules.
$outdated = python -m pip list --outdated | Select-Object -Skip 2
$fw = $outdated -split '\n' | ForEach-Object { $_.Split(' ')[0] }
$count = $fw.Count
foreach ( $pack in $fw) {
Write-Host "[$count] updating -- $pack --"
python -m pip --no-cache-dir install --upgrade $pack
$count--
}
@metinsanli
metinsanli / MOREtrackers.user.js
Last active July 26, 2023 17:05
Adds more trackers for torrent magnet link.
// ==UserScript==
// @name MOREtrackers
// @description:tr Torrent magnet bağlantısına fazladan izleyici ekler.
// @description:az Torrent maqnit bağlantılarına daha çox izləyici əlavə edir.
// @description:en Adds more trackers to torrent magnet links.
// @description:de Fügt mehr Tracker zu Torrent-Magnet-Links hinzu.
// @description:fr Ajoute plus de trackers aux liens magnétiques torrent.
// @description:es Agrega más rastreadores a los enlaces magnéticos de torrent.
// @description:ru Добавляет больше трекеров к магнитным торрент-ссылкам.
// @version 0.6