Skip to content

Instantly share code, notes, and snippets.

View TheFel0x's full-sized avatar
🏴
creating things that nobody asked for

TheFel0x TheFel0x

🏴
creating things that nobody asked for
View GitHub Profile
@TheFel0x
TheFel0x / one-or-zero.bf
Last active April 16, 2021 19:10
Brainfuck Script that tells you wether the input is an ASCII "1" or "0"
,
------------------------------------------------
>++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
<<<<
[
@TheFel0x
TheFel0x / img2HTML-table.py
Last active March 23, 2021 02:12
Turns image into HTML table.
import os
from PIL import Image
f = open("output.html","w")
f.write("<head></head><body>")
if os.path.isfile("pic.png"):
pic = "pic.png"
elif os.path.isfile("pic.jpg"):
pic = "pic.jpg"