🏳️⚧️
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
#!/usr/bin/env sh | |
# -*- | |
# name(ben.sh) | |
# description(benchmark for shells -- performance and features) | |
# running(to run it id suggest to keep it fair, i personally did : `env -i bash --norc -i <ben.sh` ( 26 s ) and `env -i busybox ash -i <ben.sh` ( 19 s )) | |
# author(Ari Archer <[email protected]> [ari-web.xyz]) | |
# license(wtfpl) | |
# -*- |
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
#ifndef _COLOURS_H | |
#define _COLOURS_H | |
#define CLR(code) "\33[" code "m" | |
#define CLR_RESET CLR("0") | |
#define CLR_BOLD CLR("1") | |
#define CLR_DIM CLR("2") | |
#define CLR_UNDERLINE CLR("4") | |
#define CLR_BLINK CLR("5") | |
#define CLR_REVERSE CLR("7") |
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
format ELF64 executable 3 | |
segment readable executable | |
define SYS_exit 60 | |
define SYS_write 1 | |
; fasm | |
_start: | |
mov eax, SYS_write |
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
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
"""best sorting algorithm""" | |
from secrets import SystemRandom | |
from warnings import filterwarnings as filter_warnings | |
RAND: SystemRandom = SystemRandom() | |
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
/* DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
Version 2, December 2004 | |
Copyright (C) 2023 Ari Archer <[email protected]> | |
Everyone is permitted to copy and distribute verbatim or modified | |
copies of this license document, and changing it is allowed as long | |
as the name is changed. | |
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE |
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
#ifndef _UWU_H | |
#define _UWU_H | |
#define awignas alignas | |
#define awignof alignof | |
#define awa auto | |
#define bowo bool | |
#define NOOOOOWOOOOO break | |
#define cawase case | |
#define charizardowo char |
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
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
"""a""" | |
def a() -> None: | |
print("this is a.py") |
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
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
"""concept for GNU BASH syntax highlighing in python | |
author : Ari Archer <[email protected]> / <https://ari-web.xyz/> | |
license : GPLv3 | |
this concept works ... almost, theres a problem, we need to somehow | |
take ownership of the stdin fd, but we cannot, the reason we need to take | |
ownership or priority over that fd is to make sure were the only ones reading |
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
#include <stdio.h> | |
#define hey int | |
#define computer main(void) { | |
#define can | |
#define you | |
#define please | |
#define say puts | |
#define thanks ; | |
#define kys return | |
#define bye } |
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
#!/usr/bin/env python3 | |
import sys | |
from time import sleep | |
# python3 -m pip install --user beepy | |
from beepy import beep # type: ignore | |
if len(sys.argv) < 2: | |
print(f"Usage: {sys.argv[0]} <time in minutes>") |