Skip to content

Instantly share code, notes, and snippets.

View MINORITYmaN's full-sized avatar

Stefano MINORITYmaN

  • Europe
View GitHub Profile
@jamiephan
jamiephan / README.md
Last active July 5, 2025 06:26
A script to automatically add ALL items to your account in quixel

Script to add all items from quixel

As quixel is being removed, all items are free to aquire. This script is to automate the process to add items to your account (As of writing, a total of 18874 items)

Note: This script only tested in the latest version of Chrome.

How to use

  1. Copy the script from below (run.js)
  2. Login into https://quixel.com
@tangentstorm
tangentstorm / sh.mts
Last active May 14, 2025 20:29
sh.mts: javascript shorthand (mostly for web/dom stuff)
// sh.mts: javascript shorthand
// #region array tools
/** id function (returns first argument) */
export const id=<T,>(x: T): T=>x
/** create an array filled with n copies of x */
export const af=<T,>(n: number, x: T): T[]=>Array(n).fill(x) // TODO: make this 'afl' or 'fil' (aa?)
/** loop i from 0..n, calling f(i) */
export const ii=(n: number, f: (i: number)=>void)=>{for(let i=0;i<n;i++)f(i)}
/** map f over [0..n] */
@YankeeTube
YankeeTube / index.html
Last active May 17, 2024 02:54
So Very Fast NSFWJS on TFJS WASM + Web Worker
<html>
<head></head>
<body>
<div>
<input type="file" id="file-input" />
</div>
</body>
<script>
const worker = new Worker('worker.js');
@rminderhoud
rminderhoud / powershell-web-server.ps1
Last active May 3, 2025 17:24 — forked from 19WAS85/powershell-web-server.ps1
A simple web server built with powershell.
# This is a super **SIMPLE** example of how to create a very basic powershell webserver
# 2019-05-18 UPDATE — Created by me and and evalued by @jakobii and the comunity.
# Http Server
$http = [System.Net.HttpListener]::new()
# Hostname and port to listen on
$http.Prefixes.Add("http://localhost:8080/")
# Start the Http Server
@msvamp
msvamp / restore-notepad-system-fod-capabilities.reg
Created July 15, 2021 17:45
This will allow you to restore the text-editing capabilities of the classic system Notepad, which is available as an optional Feature-on-Demand package in newer versions of Windows 10 and 11. This is typically useful, if you do not want to use the new notepad UWP package, and stick to the old notepad.
Windows Registry Editor Version 5.00
; You must ensure that the "Microsoft-Windows-Notepad-System-FoD-Package"
; optional package is installed and the notepad executable is present at
; its usual location, i.e. at "C:\Windows\System32\notepad.exe"
;
; This will interfere with the text-editing capabilities of the UWP Notepad
; app: https://www.microsoft.com/en-us/p/windows-notepad/9msmlrh6lzf3
; So, it is recommended to remove the UWP app, and have ONLY the optional
; FoD package installed, before you import this file into the registry.
@bellbind
bellbind / index.html
Last active June 17, 2025 23:35
[chrome][android] BarcodeDetector example
<!doctype html>
<html>
<head>
<script type="module">
// WICG Shape Detection API
// - https://wicg.github.io/shape-detection-api/
try {
const start = document.getElementById("start");
const video = document.getElementById("video");
const result = document.getElementById("result");
@rob89m
rob89m / Remove-ItemOnReboot.ps1
Last active November 29, 2021 09:30
Remove-ItemOnReboot #Powershell #Registry #Delete
<#
.DESCRIPTION
Adds defined item to the PendingFileRenameOperations value in Registry to be deleted on next reboot.
.EXAMPLE
If item to be removed is a file
Remove-ItemOnReboot -Item "C:\Temp\image.wim"
If item to be removed is a directory
Remove-ItemOnReboot -Item "C:\Temp\"
@jakobii
jakobii / HTTPServer.ps1
Last active May 4, 2024 14:02
A Basic Powershell Webserver
# You Should be able to Copy and Paste this into a powershell terminal and it should just work.
# To end the loop you have to kill the powershell terminal. ctrl-c wont work :/
# Http Server
$http = [System.Net.HttpListener]::new()
# Hostname and port to listen on
$http.Prefixes.Add("http://localhost:8080/")
@esquinas
esquinas / google-sheet-visibility.gs
Last active January 3, 2023 18:54
Check visibility of hidden rows and columns in Google Spreadsheet App Script
/*
USAGE EXAMPLES:
Is the tenth row hidden?
> isRowHidden(sheet.getRange('B10'))
Is column B hidden?
> isColumnHidden(sheet.getRange('B10'))
Is cell B10 visible? (not in a hidden row and/or column)
@astamicu
astamicu / Remove videos from Youtube Watch Later playlist.md
Last active June 19, 2025 14:44
Script to remove all videos from Youtube Watch Later playlist

UPDATED 22.11.2022

It's been two years since the last update, so here's the updated working script as per the comments below.

Thanks to BryanHaley for this.

setInterval(function () {
    video = document.getElementsByTagName('ytd-playlist-video-renderer')[0];

 video.querySelector('#primary button[aria-label="Action menu"]').click();