Somewhat inspired by https://github.com/JakeChampion/fetch/blob/main/fetch.js
This file contains hidden or 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 hidden or 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 |
Most of the code was stolen from Vendicated/Vencord.
Balls
This file contains hidden or 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
| if [[ ! -d "$HOME/.antigen" ]]; then | |
| # automatically download antigen | |
| git clone https://github.com/zsh-users/antigen.git "$HOME/.antigen" | |
| fi | |
| source "$HOME/.antigen/antigen.zsh" | |
| # --- zsh plugins --- | |
| antigen use belak/zsh-utils --branch=main |
OlderNewer