Skip to content

Instantly share code, notes, and snippets.

OMEGAYALFA / .. MediaCreationTool.bat
Created October 10, 2021 12:42 — forked from AveYo/.. MediaCreationTool.bat
Universal MediaCreationTool wrapper for all MCT Windows 10 versions from 1507 to 21H1 with business (Enterprise) edition support
View .. MediaCreationTool.bat

We did it! We broke ;) So head over to the new home! Thank you all!

Not just an Universal MediaCreationTool wrapper script with ingenious support for business editions,
A powerful yet simple windows 10 / 11 deployment automation tool as well!

configure via set vars, commandline parameters or rename script like iso 21H2 Pro MediaCreationTool.bat
recommended windows setup options with the least amount of issues on upgrades set via auto.cmd
awesome dialogs with keyboard focus to pick target version and preset action

OMEGAYALFA / gist:fb5d9c8b29e2998450d65908d8bbe809
Created August 31, 2019 10:00 — forked from hieblmedia/gist:29c93d3b45e4da97147c
Detect Adblock using user and log in Analytics
View gist:fb5d9c8b29e2998450d65908d8bbe809
// Found here:
window.onload = function() {
// Delay to allow the async Google Ads to load
setTimeout(function() {
// Get the first AdSense ad unit on the page
var ad = document.querySelector("ins.adsbygoogle");
OMEGAYALFA / gist:b1995e73e8203ef79caccdfef4f7be95
Created November 17, 2018 18:27 — forked from idan/gist:1385165
rel=logo enhancements
View gist:b1995e73e8203ef79caccdfef4f7be95
rel=logo is lovely.
I have a few ideas on making it better. The core idea is great, but if we're
pushing a new thing, we have an opportunity to encourage web developers to
provide more than just a single color logo. All of the ideas below are optional
enhancements for anybody wanting to use rel=logo on their site.
OMEGAYALFA / RemoveWin10DefaultApps.ps1
Created July 26, 2016 18:23 — forked from tkrotoff/RemoveWin10DefaultApps.ps1
Remove Windows 10 default apps
View RemoveWin10DefaultApps.ps1
# See Remove default Apps from Windows 10
Get-AppxPackage Microsoft.Windows.ParentalControls | Remove-AppxPackage
Get-AppxPackage Windows.ContactSupport | Remove-AppxPackage
Get-AppxPackage Microsoft.Xbox* | Remove-AppxPackage
Get-AppxPackage microsoft.windowscommunicationsapps | Remove-AppxPackage # Mail and Calendar
#Get-AppxPackage Microsoft.Windows.Photos | Remove-AppxPackage
Get-AppxPackage Microsoft.WindowsCamera | Remove-AppxPackage
Get-AppxPackage Microsoft.SkypeApp | Remove-AppxPackage
Get-AppxPackage Microsoft.Zune* | Remove-AppxPackage
OMEGAYALFA / Decrypt using C# (H2 script).cs
Created May 28, 2016 21:01 — forked from DinisCruz/Decrypt using C# (H2 script).cs
Html and C# scripts to decrypt an AES string (used to communicate between a html server and a flash movie)
View Decrypt using C# (H2 script).cs
//based on code sample from this MSDN article:
Func<byte[], byte[],byte[], string> decryptStringFromBytes_AES =
(cipherText, Key, IV) =>
// Check arguments.
if (cipherText == null || cipherText.Length <= 0)
throw new ArgumentNullException("cipherText");
if (Key == null || Key.Length <= 0)
throw new ArgumentNullException("Key");
if (IV == null || IV.Length <= 0)
Last active April 5, 2016 22:01 — forked from paulirish/rAF.js
requestAnimationFrame polyfill
View rAF.js
// requestAnimationFrame polyfill by Erik Möller. fixes from Paul Irish and Tino Zijdel
// MIT license
(function() {
var lastTime = 0;
var vendors = ['ms', 'moz', 'webkit', 'o'];
OMEGAYALFA / MemeMaker-Solution.html
Created April 5, 2016 20:14 — forked from jwill/MemeMaker-Solution.html
Simple MemeMaker Solution Code
View MemeMaker-Solution.html
<!DOCTYPE html>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-capable" content="yes">
OMEGAYALFA / MemeMaker.html
Created April 5, 2016 20:13 — forked from jwill/MemeMaker.html
Starter code for Meme Maker
View MemeMaker.html
<!DOCTYPE html>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-capable" content="yes">