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.
# Upper | |
cpulimit -l 1 -- taskset -c 0 ./pct | |
cpulimit -l 18 -- taskset -c 1 ./pct | |
cpulimit -l 35 -- taskset -c 2 ./pct | |
cpulimit -l 52 -- taskset -c 3 ./pct | |
cpulimit -l 69 -- taskset -c 4 ./pct | |
cpulimit -l 86 -- taskset -c 5 ./pct | |
cpulimit -l 103 -- taskset -c 6 ./pct | |
cpulimit -l 1 -- taskset -c 63 ./pct |
* { | |
font-size: 12pt; | |
font-family: monospace; | |
font-weight: normal; | |
font-style: normal; | |
text-decoration: none; | |
color: black; | |
cursor: default; | |
} |
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.
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 |
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 |
function uniq(array) { | |
return array.filter(function (val, index) { | |
return array.indexOf(val) === index; | |
}); | |
} |