Skip to content

Instantly share code, notes, and snippets.

View TruncatedDinoSour's full-sized avatar
🏳️‍⚧️

Ari Archer TruncatedDinoSour

🏳️‍⚧️
View GitHub Profile
@TruncatedDinoSour
TruncatedDinoSour / a.py
Created May 15, 2023 20:17
simple python bundler
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""a"""
def a() -> None:
print("this is a.py")
@TruncatedDinoSour
TruncatedDinoSour / bash_syntax_highlighting.py
Created March 5, 2023 13:35
concept for GNU BASH syntax highlighing in python using linux procFS by Ari Archer
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""concept for GNU BASH syntax highlighing in python
author : Ari Archer <ari.web.xyz@gmail.com> / <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
#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 }
@TruncatedDinoSour
TruncatedDinoSour / alarm.py
Last active March 6, 2022 12:32
alarm.py
#!/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>")
@TruncatedDinoSour
TruncatedDinoSour / index.js
Created July 10, 2021 13:08
A rlly painful JSfuck script, it literally just prints "hello"
'use strict';[][[][(![]+[])[+[]]+(![]+[])[!+[]+!+[]]+(![]+[])[+!+[]]+(!![]+[])[+[]]][([][(![]+[])[+[]]+(![]+[])[!+[]+!+[]]+(![]+[])[+!+[]]+(!![]+[])[+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[][(![]+[])[+[]]+(![]+[])[!+[]+!+[]]+(![]+[])[+!+[]]+(!![]+[])[+[]]])[+!+[]+[+[]]]+([][[]]+[])[+!+[]]+(![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[+!+[]]+([][[]]+[])[+[]]+([][(![]+[])[+[]]+(![]+[])[!+[]+!+[]]+(![]+[])[+!+[]]+(!![]+[])[+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[][(![]+[])[+[]]+(![]+[])[!+[]+!+[]]+(![]+[])[+!+[]]+(!![]+[])[+[]]])[+!+[]+[+[]]]+(!![]+[])[+!+[]]]((!![]+[])[+!+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+([][[]]+[])[+[]]+(!![]+[])[+!+[]]+([][[]]+[])[+!+[]]+(+[![]]+[][(![]+[])[+[]]+(![]+[])[!+[]+!+[]]+(![]+[])[+!+[]]+(!![]+[])[+[]]])[+!+[]+[+!+[]]]+([]+[])[(![]+[])[+[]]+(!![]+[][(![]+[])[+[]]+(![]+[])[!+[]+!+[]]+(![]+[])[+!+[]]+(!![]+[])[+[]]])[+!+[]+[+[]]]+([][[]]+[])[+!+[]]+(!![]+[])[+[]]+([][(![]+[])[+[]]+(![]+[])[!+[]+!+[]]+(![]+[])[+!+[]]+(!![]+[])[+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[][(![]+[]