Skip to content

Instantly share code, notes, and snippets.

@dutixlf
dutixlf / ps1
Created November 1, 2025 07:09
ps1 script blocking yandex
#requires -RunAsAdministrator
$yandexInstallerDomains = @(
"browser.yandex.com",
"api.browser.yandex.ru"
)
$knownYandexIps = @(
"5.255.255.5",
"77.88.21.11",
@dutixlf
dutixlf / bash
Created January 29, 2025 20:56
download_and_extract_url.sh
#!/bin/bash
URL="$1"
DEST_DIR="$2"
if [[ -z "$URL" || -z "$DEST_DIR" ]]; then
echo "Usage: $0 <url> <dest_dir>"
exit 1
fi