Skip to content

Instantly share code, notes, and snippets.

View luihum's full-sized avatar

luihum

  • Brazil
  • 21:24 (UTC -03:00)
View GitHub Profile
@luihum
luihum / README.md
Last active October 9, 2022 00:22
CirnoBot

CirnoBot

what is this?

a random nonsense generator

why is it named after a touhou character

because of an inside joke

what's the license?

do whatever the fuck you want with this

@luihum
luihum / openloader+-mini.lua
Created September 27, 2022 18:06
minified openloader+
_G._OSVERSION="OpenLoader 0.2EE+"local component=component or require('component')local computer=computer or require('computer')local unicode=unicode or require('unicode')local a=component.list("eeprom")()computer.getBootAddress=function()return component.invoke(a,"getData")end;computer.setBootAddress=function(b)return component.invoke(a,"setData",b)end;local c=component.list("gpu")()local d,e;local f=component.list('screen')()for b in component.list('screen')do if#component.invoke(b,'getKeyboards')>0 then f=b end end;local g=function()end;if c and f then component.invoke(c,"bind",f)d,e=component.invoke(c,"getResolution")component.invoke(c,"setResolution",d,e)component.invoke(c,"setBackground",0x000000)component.invoke(c,"setForeground",0xFFFFFF)component.invoke(c,"fill",1,1,d,e," ")g=function()component.invoke(c,"fill",1,1,d,e," ")end end;local h=1;local function i(j)if c and f then component.invoke(c,"set",1,h,j)if h==e then component.invoke(c,"copy",1,2,d,e-1,0,-1)component.invoke(c,"fill",1,e,d,1," ")else
#!/bin/bash
######################
# ProgressArchiver95 #
# by Luihum#1287 #
# Version 1.01 #
# Oct 3, 2021 #
######################
# Root is required on Android 11
# Use in Termux
# please don't complain about bad code
@luihum
luihum / tmidl.txt
Last active October 28, 2021 21:56
TMIDL version 1.0 - First Revision
@@@@@@@
@@ ##### @@ TMIDL DEVELOPER DOCUMENTATION
@@@@@ # @@@@@ VERSION 1.0
@@@@@ (@) @@@@@ FIRST REVISION
@@@@@ # @@@@@
@@@@ # @@@@
@@@@@@@
TMIDL (Turing Machine Instruction Description Language), pronounced "T-middle",
@luihum
luihum / asciidots-refcard.md
Created April 23, 2021 14:35
AsciiDots reference card
.        dot
| -      path
\ /      turn
&        end
``       comment
< > v ^  rotate
+        cross
( )      bouncer
*        cloner