This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function ??() { | |
$TMPFILE = Get-ChildItem (New-TemporaryFile) | Rename-Item -NewName { [IO.Path]::ChangeExtension($_, ".ps1") } -PassThru | |
github-copilot-cli what-the-shell "$args (for powershell, don't use powershell aliases, eg ls => Get-ChildItem)" --shellout $TMPFILE.FullName | |
if (Test-Path $TMPFILE.FullName) { | |
Invoke-Expression $TMPFILE | Write-Output; | |
} else { | |
Write-Output "Apologies! Extracting command failed"; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Pre 2024 Youtube UI | |
// @version 1.1.2 | |
// @description Modified version of https://greasyfork.org/en/scripts/488254 | |
// @author Hared, Arjix | |
// @namespace https://github.com/ArjixWasTaken | |
// @match *.youtube.com/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=youtube.com | |
// @run-at document-start | |
// @grant none |
OlderNewer