Skip to content

Instantly share code, notes, and snippets.

View ArjixWasTaken's full-sized avatar

Angelos Bouklis ArjixWasTaken

  • Greece
  • 19:29 (UTC +03:00)
View GitHub Profile
@ArjixWasTaken
ArjixWasTaken / profile.ps1
Last active April 14, 2023 11:55
CopilotX CLI alias for powershell
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";
}
@ArjixWasTaken
ArjixWasTaken / sane-youtube-ui.user.js
Last active May 22, 2024 13:41
Forcibly disables some youtube experiments, to make youtube normal again.
// ==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