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
export SHELL=$(which zsh) | |
export NVM_DIR="$HOME/.nvm" | |
source "$HOME/.profile" | |
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" |
Most of the code was stolen from Vendicated/Vencord.
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
// ==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 |
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
["Africa/Abidjan","Africa/Accra","Africa/Addis_Ababa","Africa/Algiers","Africa/Asmera","Africa/Bamako","Africa/Bangui","Africa/Banjul","Africa/Bissau","Africa/Blantyre","Africa/Brazzaville","Africa/Bujumbura","Africa/Cairo","Africa/Casablanca","Africa/Ceuta","Africa/Conakry","Africa/Dakar","Africa/Dar_es_Salaam","Africa/Djibouti","Africa/Douala","Africa/El_Aaiun","Africa/Freetown","Africa/Gaborone","Africa/Harare","Africa/Johannesburg","Africa/Juba","Africa/Kampala","Africa/Khartoum","Africa/Kigali","Africa/Kinshasa","Africa/Lagos","Africa/Libreville","Africa/Lome","Africa/Luanda","Africa/Lubumbashi","Africa/Lusaka","Africa/Malabo","Africa/Maputo","Africa/Maseru","Africa/Mbabane","Africa/Mogadishu","Africa/Monrovia","Africa/Nairobi","Africa/Ndjamena","Africa/Niamey","Africa/Nouakchott","Africa/Ouagadougou","Africa/Porto-Novo","Africa/Sao_Tome","Africa/Tripoli","Africa/Tunis","Africa/Windhoek","America/Adak","America/Anchorage","America/Anguilla","America/Antigua","America/Araguaina","America/Argentina/La_Rioj |
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
fn main() -> Result<Smth, Smth> { | |
let value = get_smth()?; | |
} |
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
import struct | |
import socket | |
from time import sleep | |
from pprint import pprint | |
PACKET_GROUPS: dict[bytes, int] = {} | |
class Packet: | |
source_port_number: int | |
destination_port_number: int |
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
const func = ` | |
private static i(int arg0, boolean arg1) { //(IZ)Z | |
iconst_3 | |
istare2 | |
ilosasd | |
asdauishd | |
asdasd | |
goto L2 | |
NewerOlder