Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
xem
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
61.
▲
by
xem
11y ago
Here's a tiny (less than 512b) app I've made with the same goal: http://xem.github.io/miniShadowArt/
62.
▲
by
xem
11y ago
other approach: https://twitter.com/subzey/status/621672779344166912
63.
▲
by
xem
11y ago
How about this extra-dirty version in 69b? with(document.documentElement)innerHTML=innerHTML.replace(/yl|nk/g,0)
64.
▲
by
xem
11y ago
yay, I wrote an article about that! http://xem.github.io/articles/#implicitgetelementbyid_en Cheers :)
65.
▲
by
xem
11y ago
Cool! some suggestions: - show it on http://www.reddit.com/r/tinycode/ - if you aim for low character count instead of low byte count, you can pass your code through my unicide packer here: http://xem.g
66.
▲
by
xem
12y ago
codegolf.stackexchange.com
67.
▲
by
xem
12y ago
oh, awesome. It's always a pleasure to find that the golfing we do inspires other people to do other projects ;)
68.
▲
by
xem
12y ago
you're right, the 210b version can be run from the JS console. The 227b is a... standalone app.
69.
▲
by
xem
12y ago
99 LINES? That's huge. How about this one in 227 characters? http://xem.github.io/sheet/ :)
70.
▲
by
xem
12y ago
the real question is, why Github doesn't do this directly?
71.
▲
A 118b web app converting any file to dataURI
(xem.github.io)
2 points
by
xem
12y ago
|
0 comments
72.
▲
by
xem
13y ago
In fact, it converts ascii characters into "extended ascii" characters. So the bytes count is correct. If you're interested in pack-to-unicode, I did it too: https://gist.github.com/xem/7086007
73.
▲
A JavaScript minifier that reduces your (minified/packed) JS files by ~10%
(xem.github.io)
2 points
by
xem
13y ago
|
2 comments
74.
▲
HTML/CSS/JS minifiers in 128+ bytes
(xem.github.com)
1 points
by
xem
13y ago
|
0 comments
75.
▲
A full paste & share app in 140 bytes
(xem.github.io)
1 points
by
xem
13y ago
|
0 comments
76.
▲
by
xem
13y ago
Now it's 161+
77.
▲
An online HTML/CSS/JS editor in 162+ bytes + save & load in less than 256 bytes
3 points
by
xem
13y ago
|
0 comments
78.
▲
by
xem
13y ago
This is the final iteration of the code golfing game started last thursday, aiming to create a Codepen/JSfiddle/JSbin clone in less than 256 bytes: https://news.ycombinator.com/item?id=6860642 This one fits in a s
79.
▲
A HTML/CSS/JS editor that fits in a tweet (140 chars)
(xem.github.io)
2 points
by
xem
13y ago
|
1 comments
80.
▲
by
xem
13y ago
now, it IS tweetable!
81.
▲
by
xem
13y ago
Guys, the editor is almost tweetable! (143 characters) http://xem.github.io/miniCodeEditor/tweet.html
82.
▲
by
xem
13y ago
Now it's 176+
83.
▲
by
xem
13y ago
Hi, the counter dropped to 185+ bytes. The project's homepage was reworked too: http://xem.github.io/miniCodeEditor/ Thank you all!
84.
▲
by
xem
13y ago
Thanks for your help! You shoud join us on Github, and discuss this subject here: https://github.com/xem/miniCodeEditor/issues/6
85.
▲
by
xem
13y ago
That's very nice too!
86.
▲
by
xem
13y ago
You know, thare's already a save function: you can write stuff in the cross-browser editor and save it on your desktop as a standalone HTML page (Ctrl-S / File > "Save as...") http://xem.github.io/mini
87.
▲
by
xem
13y ago
Added in the homepage ;)
88.
▲
by
xem
13y ago
Thanks for this hommage :D This user interface is very nice, bravo! In your JS, you can replace html["value"], css["value"] and js["value"] with html.value, css.value and js.value
89.
▲
by
xem
13y ago
I like this idea! Feel free to fork miniCodeEditor and add this kind of features :)
90.
▲
by
xem
13y ago
Thanks for mentioning this! I also thought of this approach this morning, but didn't mention it because I thought people would just add the editor in their bookmarks.
More ›