Skip to content

Instantly share code, notes, and snippets.

xem

Block or report user

Report or block xem

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View README.md

Mini Mini Game of life

A game of line engine where everything that can be passed as parameter, is.

Score: 81b.

@xem
xem / README.md
Last active Aug 29, 2015 — forked from 140bytes/LICENSE.txt
Mini string encoders for the Web
View README.md

Mini string encoders/decoders for the Web

Here's a list of tiny functions whose goal is to convert any Unicode string in 28 different formats used on the Web, and do the reverse operation.

An online converter using those functions can be found here: http://xem.github.io/escape

Please contribute in the comments (or by pull request) if you have a feature idea or a code-golf improvement to make or a bug to solve.

NB: to be as short as possible, all those functions assume a valid input and convert all chars (including ASCII chars and non-ASCII chars that don't really need to be converted in some cases).

@xem
xem / README.md
Last active Dec 30, 2015 — forked from 140bytes/LICENSE.txt
A full HTML/CSS/JS editor fitting in a single tweet
View README.md
@xem
xem / README.md
Last active May 15, 2016 — forked from 140bytes/LICENSE.txt
Challenge: encode / decode 400 (or more) ASCII characters in a single tweet!
View README.md

Hi,

A tweet can contain 140 UTF-16 characters.

An UTF-16 character can be composed of 2 16-bits surrogates.

A UTF-16 surrogate can be used to store 10 bits.

An ASCII character is 7 bits long.

@xem
xem / LICENSE.txt
Last active Jan 26, 2017 — forked from 140bytes/LICENSE.txt
Challenge: Executing more than 140 JS characters in a tweet!
View LICENSE.txt
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2011 YOUR_NAME_HERE <YOUR_URL_HERE>
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
@xem
xem / LICENSE.txt
Last active Dec 25, 2015 — forked from 140bytes/LICENSE.txt
Snail matrix generator
View LICENSE.txt
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2011 YOUR_NAME_HERE <YOUR_URL_HERE>
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
@xem
xem / LICENSE.txt
Last active Feb 1, 2018 — forked from 140bytes/LICENSE.txt
Mini Game of Life
View LICENSE.txt
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2011 YOUR_NAME_HERE <YOUR_URL_HERE>
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
@xem
xem / LICENSE.txt
Last active Dec 16, 2015 — forked from 140bytes/LICENSE.txt
CSS mini minifier 0.7
@xem
xem / LICENSE.txt
Last active Dec 16, 2015 — forked from 140bytes/LICENSE.txt
CSS mini minifier 0.6
View LICENSE.txt
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2011 YOUR_NAME_HERE <YOUR_URL_HERE>
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
You can’t perform that action at this time.