Skip to content

Instantly share code, notes, and snippets.

View Mnshawaty's full-sized avatar

mohammad alnshawaty Mnshawaty

View GitHub Profile
@ph33nx
ph33nx / WinMasterBlocker.bat
Last active March 11, 2026 20:40
Block All Adobe .exe files via Firewall on Windows Using Batch Script | Stop adobe apps to access internet
:: ################################################################
:: ## 🔥 WinMasterBlocker 🔥 #
:: ################################################################
:: # Author: https://github.com/ph33nx #
:: # Repo: https://github.com/ph33nx/WinMasterBlocker #
:: # #
:: # This script blocks inbound/outbound network access #
:: # for major apps like Adobe, Autodesk, Corel, Maxon, #
:: # and more using Windows Firewall. #
:: # #
@davit312
davit312 / ya_disk.php
Last active May 24, 2022 05:12
Yandex Disk file download direct link maker
<?php
function ya_link( $url){
$url = "https://cloud-api.yandex.net:443/v1/disk/public/resources/download?public_key=" . urlencode( $url );
$options = array(
CURLOPT_RETURNTRANSFER => true, // return web page
CURLOPT_FOLLOWLOCATION => true, // follow redirects
CURLOPT_ENCODING => "", // handle all encodings
CURLOPT_AUTOREFERER => true, // set referer on redirect
CURLOPT_CONNECTTIMEOUT => 12, // timeout on connect
CURLOPT_TIMEOUT => 12, // timeout on response