Skip to content

Instantly share code, notes, and snippets.

View A2R14N's full-sized avatar
😉

A2R14N A2R14N

😉
View GitHub Profile
@A2R14N
A2R14N / Fixed_CODE.js
Last active July 5, 2024 04:49 — forked from uptownhr/gist:888f27fcf4d636d0197dd5736514094a
One Million Checkboxes - Checker; One Million Checkboxes - console script; One Million Checkboxes - Chrome console; One Million Checkboxes - Firefox console; Million Checkboxes - Console; One Million Checkboxes - working script
// to copy and paste in your browser console after successfully loading https://onemillioncheckboxes.com/
let currentPosition;
function getRandomInt(min, max) {
return Math.floor(Math.random() * (max - min + 1)) + min;
}
function getUncheckedCheckbox() {
const uncheckedCheckboxes = document.querySelectorAll('input[type=checkbox]:not(:checked)');
@A2R14N
A2R14N / 1_en_windows11_old_menu.cmd
Last active January 16, 2024 10:23
Bring back Windows 10 context menu to Windows 11, Enable old context menu on Windows 11, Enable old Windows 10 right click menu in Windows 11, Language: Ar, De, En, Es, Fr, Hi, It, Ja, Pt, Ro, Ru, Zh
@echo off
::Set console encoding to UTF-8
chcp 65001 > nul
::Enables Windows 11 old menu like how it was on Windows 10(This menu is hidden under Show more options)
reg add "HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32" /f /ve
::Kills Windows Explorer task, requiered to update the menu
taskkill /f /im explorer.exe
::Opens Windows Explorer task
start explorer.exe
echo: