mirror of
https://github.com/wezm/wezm.net.git
synced 2024-11-18 04:42:47 +00:00
Add initial 100 binaries page
This commit is contained in:
parent
a17d8bc9fa
commit
d3e6114ed1
5 changed files with 1423 additions and 0 deletions
26
v2/content/posts/2020/100-rust-binaries/howto.txt
Normal file
26
v2/content/posts/2020/100-rust-binaries/howto.txt
Normal file
|
@ -0,0 +1,26 @@
|
|||
https://nitter.net/search?f=tweets&q=%23100binaries+from%3A%40wezm
|
||||
|
||||
For each page of results on Nitter:
|
||||
|
||||
tweets = []
|
||||
document.querySelectorAll('.tweet-date a').forEach(a => tweets.push(a.href))
|
||||
copy(tweets.join("\n"))
|
||||
|
||||
// Load next page of results and repeat
|
||||
|
||||
Paste into `tweets.txt`
|
||||
|
||||
With all URLs collected, `:s/nitter\.net/twitter.com/`
|
||||
|
||||
Fetch tweets JSON:
|
||||
|
||||
xargs -I '{url}' -a tweets.txt -n 1 curl https://api.twitter.com/1/statuses/oembed.json\?omit_script\=true\&dnt\=true\&lang\=en\&url\=\{url\} > tweets.json
|
||||
|
||||
Add commas between results: `%s/}{/},\r{/g`
|
||||
|
||||
Manually add `[` and `]` to top and bottom of file
|
||||
|
||||
Reverse and format with `jq`: `%!jq '.|reverse' -`. Would have been better to
|
||||
have reversed `tweets.txt` but this avoids making another 100 HTTP requests.
|
||||
|
||||
Add a couple of missing tweets manually. Remove the half way through tweet.
|
14
v2/content/posts/2020/100-rust-binaries/index.md
Normal file
14
v2/content/posts/2020/100-rust-binaries/index.md
Normal file
|
@ -0,0 +1,14 @@
|
|||
+++
|
||||
title = "100 Binaries"
|
||||
date = 2020-09-03T08:37:26+10:00
|
||||
|
||||
[extra]
|
||||
#updated = 2020-06-19T09:30:00+10:00
|
||||
+++
|
||||
|
||||
I recently started a #100binaries series on Twitter wherein I share one open-source Rust tool or
|
||||
application each day, for one hundred days. This post collects each days binary.
|
||||
|
||||
{{ tweet_list() }}
|
||||
|
||||
<!--<script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>-->
|
1276
v2/content/posts/2020/100-rust-binaries/tweets.json
Normal file
1276
v2/content/posts/2020/100-rust-binaries/tweets.json
Normal file
File diff suppressed because it is too large
Load diff
99
v2/content/posts/2020/100-rust-binaries/tweets.txt
Normal file
99
v2/content/posts/2020/100-rust-binaries/tweets.txt
Normal file
|
@ -0,0 +1,99 @@
|
|||
https://twitter.com/wezm/status/1322131138668802048
|
||||
https://twitter.com/wezm/status/1321768747015786496
|
||||
https://twitter.com/wezm/status/1321406361989689345
|
||||
https://twitter.com/wezm/status/1321043967891312640
|
||||
https://twitter.com/wezm/status/1320681581716099074
|
||||
https://twitter.com/wezm/status/1320319194940882945
|
||||
https://twitter.com/wezm/status/1319956805615865857
|
||||
https://twitter.com/wezm/status/1319594423592779777
|
||||
https://twitter.com/wezm/status/1319232031524487169
|
||||
https://twitter.com/wezm/status/1318869641859600384
|
||||
https://twitter.com/wezm/status/1318507257072635908
|
||||
https://twitter.com/wezm/status/1318153750918221825
|
||||
https://twitter.com/wezm/status/1317782477860229120
|
||||
https://twitter.com/wezm/status/1317420089914871813
|
||||
https://twitter.com/wezm/status/1316695319493644289
|
||||
https://twitter.com/wezm/status/1316332930998956032
|
||||
https://twitter.com/wezm/status/1315970537907085312
|
||||
https://twitter.com/wezm/status/1315608150398050305
|
||||
https://twitter.com/wezm/status/1315245763358715906
|
||||
https://twitter.com/wezm/status/1315037855584972800
|
||||
https://twitter.com/wezm/status/1314520987556175872
|
||||
https://twitter.com/wezm/status/1314158604128149505
|
||||
https://twitter.com/wezm/status/1313796212223475712
|
||||
https://twitter.com/wezm/status/1313433821946273792
|
||||
https://twitter.com/wezm/status/1313071434009391107
|
||||
https://twitter.com/wezm/status/1312709046621798402
|
||||
https://twitter.com/wezm/status/1312361757780987904
|
||||
https://twitter.com/wezm/status/1311999372113186819
|
||||
https://twitter.com/wezm/status/1311636986730512387
|
||||
https://twitter.com/wezm/status/1311274602337722373
|
||||
https://twitter.com/wezm/status/1310912211557085184
|
||||
https://twitter.com/wezm/status/1310549822408200193
|
||||
https://twitter.com/wezm/status/1310187431681949696
|
||||
https://twitter.com/wezm/status/1309825048551669762
|
||||
https://twitter.com/wezm/status/1309462656005275648
|
||||
https://twitter.com/wezm/status/1309100270475972608
|
||||
https://twitter.com/wezm/status/1308737887463235586
|
||||
https://twitter.com/wezm/status/1308355154433814536
|
||||
https://twitter.com/wezm/status/1307997508874854401
|
||||
https://twitter.com/wezm/status/1307646659556384768
|
||||
https://twitter.com/wezm/status/1307273233759043584
|
||||
https://twitter.com/wezm/status/1307044784545165316
|
||||
https://twitter.com/wezm/status/1306552499210338304
|
||||
https://twitter.com/wezm/status/1306223815228350466
|
||||
https://twitter.com/wezm/status/1305861427014627332
|
||||
https://twitter.com/wezm/status/1305499038490537984
|
||||
https://twitter.com/wezm/status/1305136649706205185
|
||||
https://twitter.com/wezm/status/1304774262616514560
|
||||
https://twitter.com/wezm/status/1304412125914230785
|
||||
https://twitter.com/wezm/status/1304411875426406400
|
||||
https://twitter.com/wezm/status/1304049488693047298
|
||||
https://twitter.com/wezm/status/1303687100437590020
|
||||
https://twitter.com/wezm/status/1303324711720488961
|
||||
https://twitter.com/wezm/status/1302962322516840448
|
||||
https://twitter.com/wezm/status/1302599936366833664
|
||||
https://twitter.com/wezm/status/1302237547221807104
|
||||
https://twitter.com/wezm/status/1301875160211955712
|
||||
https://twitter.com/wezm/status/1301512772879110146
|
||||
https://twitter.com/wezm/status/1301150386217074690
|
||||
https://twitter.com/wezm/status/1300787997592432642
|
||||
https://twitter.com/wezm/status/1300425609156333568
|
||||
https://twitter.com/wezm/status/1300063221005447169
|
||||
https://twitter.com/wezm/status/1299700831755931649
|
||||
https://twitter.com/wezm/status/1299338443990982656
|
||||
https://twitter.com/wezm/status/1298976057538871297
|
||||
https://twitter.com/wezm/status/1298613669538996226
|
||||
https://twitter.com/wezm/status/1298251282352873478
|
||||
https://twitter.com/wezm/status/1297888893715361795
|
||||
https://twitter.com/wezm/status/1297526505304666115
|
||||
https://twitter.com/wezm/status/1297164116788994048
|
||||
https://twitter.com/wezm/status/1296801728927539202
|
||||
https://twitter.com/wezm/status/1296439340898426881
|
||||
https://twitter.com/wezm/status/1296076954622406663
|
||||
https://twitter.com/wezm/status/1295714567197270022
|
||||
https://twitter.com/wezm/status/1295352178400526336
|
||||
https://twitter.com/wezm/status/1294989789918375937
|
||||
https://twitter.com/wezm/status/1294627402069315585
|
||||
https://twitter.com/wezm/status/1294265015541760006
|
||||
https://twitter.com/wezm/status/1293902626904354822
|
||||
https://twitter.com/wezm/status/1293540239802281985
|
||||
https://twitter.com/wezm/status/1293177850233667595
|
||||
https://twitter.com/wezm/status/1292815462242357249
|
||||
https://twitter.com/wezm/status/1292453074410192897
|
||||
https://twitter.com/wezm/status/1292090686917967873
|
||||
https://twitter.com/wezm/status/1291728300960669696
|
||||
https://twitter.com/wezm/status/1291365913548079109
|
||||
https://twitter.com/wezm/status/1291003525712019459
|
||||
https://twitter.com/wezm/status/1290641136638480384
|
||||
https://twitter.com/wezm/status/1290278748223201280
|
||||
https://twitter.com/wezm/status/1289916361339092994
|
||||
https://twitter.com/wezm/status/1289553972655620096
|
||||
https://twitter.com/wezm/status/1289191583573737475
|
||||
https://twitter.com/wezm/status/1288829195754172422
|
||||
https://twitter.com/wezm/status/1288466808991817730
|
||||
https://twitter.com/wezm/status/1288104420052553728
|
||||
https://twitter.com/wezm/status/1287742032975257600
|
||||
https://twitter.com/wezm/status/1287379644661010433
|
||||
https://twitter.com/wezm/status/1287024806769168384
|
||||
https://twitter.com/wezm/status/1286870604402978816
|
8
v2/templates/shortcodes/tweet_list.html
Normal file
8
v2/templates/shortcodes/tweet_list.html
Normal file
|
@ -0,0 +1,8 @@
|
|||
{% set tweets = load_data(path="content/posts/2020/100-rust-binaries/tweets.json", format="json") %}
|
||||
<ol>
|
||||
{% for tweet in tweets %}
|
||||
<li>
|
||||
{{ tweet.html | safe }}
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ol>
|
Loading…
Reference in a new issue