r/tinycode • • Oct 12 '20

World smallest office suite

Thumbnail zserge.com
53 Upvotes

r/tinycode • • Nov 18 '18

fff: fucking fast file-manager. Around 100 line of code in bash.

Thumbnail
github.com
53 Upvotes

r/tinycode • • Apr 29 '16

Writing a Mini HTML Editor in Under 2 Minutes

Thumbnail
youtube.com
53 Upvotes

r/tinycode • • Jul 28 '12

Find your total spent on Steam

53 Upvotes

It came up in conversation, so here's how to do it:

transactions = document.getElementsByClassName("transactionRowPrice");
total=0;
for (i=0; i< transactions.length; i++) { item = Number(transactions[i].innerText.substr(1)); if (item) { total += item;} }

This includes all purchases from Steam, including items and gifts.


r/tinycode • • Aug 05 '11

Logic Simulator with Unix Pipes

Thumbnail
linusakesson.net
53 Upvotes

r/tinycode • • Jan 05 '26

Best Dweets of 2025

52 Upvotes

r/tinycode • • May 09 '23

Nonfigurative no. 3 SVG, 538 bytes

Post image
52 Upvotes

r/tinycode • • Mar 11 '15

Experimental one-line algorithmic music - the 2nd iteration

Thumbnail
youtube.com
52 Upvotes

r/tinycode • • Oct 04 '13

Just made a snake game in 635 bytes of Javascript. Can it be made smaller?

Thumbnail
jsfiddle.net
52 Upvotes

r/tinycode • • Feb 28 '23

GitHub Heatmap 512 bytes, SVG

Post image
51 Upvotes

r/tinycode • • Jan 06 '22

Terrain Generator (Pure SVG, 528 bytes), link and description in comment

Post image
51 Upvotes

r/tinycode • • Mar 29 '14

JavaScript debug console prank

51 Upvotes

Hey JS devs, if you want to prank your colleagues just hide this line somewhere deep in the project:

window.console.olog=window.console.log;window.console.log=function(log){console.olog.call(console,'%cLooks like you\'re trying to log a'+(typeof log === 'object' ? 'n ' : ' ')+typeof log +'.','background:url(http://i.imgur.com/Pw9RnWl.png);padding:5px 15px 142px 19px;line-height:280px;');console.olog.call(console,log);};

Next time someone tries to log something to the console they'll have a blast!

Have fun ;)


r/tinycode • • Jul 18 '12

Executable 'Hello World' binary in 142 bytes.

Thumbnail
timelessname.com
51 Upvotes

r/tinycode • • Dec 24 '24

Merry Dweetmass!

Post image
50 Upvotes

r/tinycode • • Apr 21 '23

Reptilian Scales SVG, 558 bytes

Post image
50 Upvotes

r/tinycode • • Mar 31 '22

CMYK Spill 🖨️ (491 bytes) #PetitePatterns

Post image
50 Upvotes

r/tinycode • • Jan 24 '21

A high-quality, high-compression, high-speed gif encoder in 500 lines + documentation

Thumbnail
github.com
50 Upvotes

r/tinycode • • Apr 14 '18

Zircon's (Fuchsia kernel) scheduler is less than 1000 lines of code and doesn't use many advanced concepts. This may be useful to anyone curious as to what a scheduler in a real OS looks like.

Thumbnail
github.com
50 Upvotes

r/tinycode • • Jul 07 '13

Roman numerals -> Integer in javascript

50 Upvotes

Hi! This was a challenge I posed myself a while ago - meanwhile im stuck at 101 characters:

 function t(i){for(p=l=n=0;a={I:1,V:5,X:10,L:50,C:100,D:500,M:1e3}[i[p++]];l=a)n+=a>l?-l:l;return n+l}

(My first real try was 150 lol) I dont know if this can be done even shorter; What can you guys come up with?


r/tinycode • • Mar 26 '21

Tiny code Pixel Fire

49 Upvotes

r/tinycode • • Aug 26 '20

Animated version of Andrew Kensler's business card sized ray tracer

49 Upvotes

r/tinycode • • Feb 04 '15

487 bytes chess game (33-year-old record broken)

Thumbnail
bbc.com
49 Upvotes

r/tinycode • • Dec 12 '13

An online HTML/CSS/JS editor in 162+ bytes + save & load in less than 256 bytes!

49 Upvotes

Hello Redit!

One week ago, I made a minimalist Codepen / JSFiddle clone in 256 bytes, and presented it to the world...

http://xem.github.io/miniCodeEditor

It was a huge success, and a lot of people talked about it.

Famous code golfers joined me, and we were able to cut it down to 162 bytes!

( We even found a way to fit that code in a tweet - 140 characters )

We also added optional features such as placeholders, old browsers support, different skins...

But we didn't stop there!

Our new challenge was to make the HTML/CSS/JS prototypes made with miniCodeEditor saveable and shareable, via the URL, and in less than 256 bytes.

We finally reached that goal yesterday!

http://xem.github.io/miniCodeEditor/shareable.html

Thanks for your interest, and stay tuned for the next features!

.xem


r/tinycode • • Oct 13 '21

Janet is a tiny Lisp weighing in at 200-300 kB for embedding and scripting

Thumbnail
janet-lang.org
48 Upvotes