Skip to content

Instantly share code, notes, and snippets.

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

Ari Archer TruncatedDinoSour

🏳️‍⚧️
View GitHub Profile
@TruncatedDinoSour
TruncatedDinoSour / index.js
Created July 10, 2021 13:08
A rlly painful JSfuck script, it literally just prints "hello"
'use strict';[][[][(![]+[])[+[]]+(![]+[])[!+[]+!+[]]+(![]+[])[+!+[]]+(!![]+[])[+[]]][([][(![]+[])[+[]]+(![]+[])[!+[]+!+[]]+(![]+[])[+!+[]]+(!![]+[])[+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[][(![]+[])[+[]]+(![]+[])[!+[]+!+[]]+(![]+[])[+!+[]]+(!![]+[])[+[]]])[+!+[]+[+[]]]+([][[]]+[])[+!+[]]+(![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[])[+!+[]]+([][[]]+[])[+[]]+([][(![]+[])[+[]]+(![]+[])[!+[]+!+[]]+(![]+[])[+!+[]]+(!![]+[])[+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+(!![]+[][(![]+[])[+[]]+(![]+[])[!+[]+!+[]]+(![]+[])[+!+[]]+(!![]+[])[+[]]])[+!+[]+[+[]]]+(!![]+[])[+!+[]]]((!![]+[])[+!+[]]+(!![]+[])[!+[]+!+[]+!+[]]+(!![]+[])[+[]]+([][[]]+[])[+[]]+(!![]+[])[+!+[]]+([][[]]+[])[+!+[]]+(+[![]]+[][(![]+[])[+[]]+(![]+[])[!+[]+!+[]]+(![]+[])[+!+[]]+(!![]+[])[+[]]])[+!+[]+[+!+[]]]+([]+[])[(![]+[])[+[]]+(!![]+[][(![]+[])[+[]]+(![]+[])[!+[]+!+[]]+(![]+[])[+!+[]]+(!![]+[])[+[]]])[+!+[]+[+[]]]+([][[]]+[])[+!+[]]+(!![]+[])[+[]]+([][(![]+[])[+[]]+(![]+[])[!+[]+!+[]]+(![]+[])[+!+[]]+(!![]+[])[+[]]]+[])[!+[]+!+[]+!+[]]+(!![]+[][(![]+[]
@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>")
#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 / 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
@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")
#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
@TruncatedDinoSour
TruncatedDinoSour / lietuva.h
Last active June 10, 2023 19:48
C but in lithuanian
/* DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2023 Ari Archer <ari.web.xyz@gmail.com>
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
@TruncatedDinoSour
TruncatedDinoSour / vfagsa.py
Created June 21, 2023 21:35
very fast and good sorting algo
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""best sorting algorithm"""
from secrets import SystemRandom
from warnings import filterwarnings as filter_warnings
RAND: SystemRandom = SystemRandom()
@TruncatedDinoSour
TruncatedDinoSour / set_points.js
Created August 7, 2023 02:35
slope game ( https://www.y8.com/games/slope ) on y8.com set_points leaderboard hack in js kinda :3
/* how to use :
*
* 0. open firefox
* 1. open slope https://www.y8.com/games/slope
* 2. open 'Console'
* 3. in the prompt, at the end see 'top' and press on it
* 4. select 'Unity WebGL Player | Slope'
* 5. paste in the code below
* 6. type `set_points(<points u want>)` e.g. `set_points(300)`, range [0;1000)
* 7. run the game ( make sure to log in ! )
@TruncatedDinoSour
TruncatedDinoSour / hw.asm
Created August 27, 2023 20:31
hello worlds i can write from memory
format ELF64 executable 3
segment readable executable
define SYS_exit 60
define SYS_write 1
; fasm
_start:
mov eax, SYS_write