Skip to content

Instantly share code, notes, and snippets.

@lukanz
lukanz / Generic Manifest
Created July 4, 2023 11:31
Generic Manifest
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<dependency optional="yes">
<dependentAssembly>
<assemblyIdentity
type="win32"
version="6.0.0.0"
name="Microsoft.Windows.Common-Controls"
publicKeyToken="6595b64144ccf1df"
processorArchitecture="*"
@echo off
chcp 65001 >NUL
setlocal EnableDelayedExpansion
title Youtube-dl Downloader
echo ---------------------------------------------------------
echo Paste URL below (right click - Paste) and press Enter
echo --------------------------------------------------------
@echo off
if exist *.apk (
for %%a in (*.apk) do zipalign -fv 4 "%%~na.apk" "%%~na_zipalign.apk"
echo.
echo.
echo !!! - DONE - !!!
echo.
pause
) else exit
/*
// ANZ Mobile (WIFI) AD-Blocker
// https://gist.github.com/lukanz
// 30 May 2023
*/
/* Match URL */
function regExpMatch(url, pattern) {
try { return new RegExp(pattern).test(url); } catch(ex) { return false; }