コピペ一覧
:

bash map two decks of 52 cards to numbers and select (Plain text) 2022-01-04 04:15
for number in {101..113} {201..213} {301..313} {401..413} {101..113} {201..213} {301..313} {401..413} ; do echo $number ; done | shuf -n 30 # bash map two decks of 52 cards to numbers and select a certain number of them randomly # Th...
Use the firefox console to scroll the page randomly (based on a screenshot) (Plain text) 2021-11-23 02:45
useful if one wants to explore randomly a large visualized list
firefox console, youtube playlist title extractor (Plain text) 2021-11-21 23:53
working as 2021-11-21 extract the titles form a long list, then copy those in random.org list randomizer and pick one without scrolling the list every time to find something interesting. (random pick from list is best to identify pick...
use the firefox console to scroll the page randomly (Plain text) 2021-11-21 23:13
useful if one wants to explore randomly a large visualized list that is not easy to copy and paste otherwise one can copy the list and use random.org or other solutions to get a similar or even better pick. of course one could also do ...
Mac create a new file/folder with finder (Plain text) 2021-04-28 23:47
I don't like mac and I use it since long (work settings). One thing that is really a nuisace is that with finder one cannot simply right click and create a new folder/file, or better one can but has to enter in the folder, one cannot sim...
Let kubernetes or docker-compose redeploy containers although the tag didn't change (Plain text) 2021-04-24 04:56
More often that not, especially in setups that aren't necessarily near the state of the art (or are constrained), one has containers with the same tag and wants to redeploy them. What is the easier way? Remove the container/pod and le...
bash. awk. Differences between dates (Plain text) 2020-10-30 04:37
14:57 root@ # cat seservice13783 | sort -k 2 "2020-10-18T11:35:57.970451478Z 158.177.177.93" "2020-10-19T05:03:23.29479408Z 158.177.177.93" "2020-10-19T22:30:49.359389161Z 158.177.177.93" "2020-10-20T15:58:14.699997636Z ...
Rapid rapits chess after some covid19 online tournaments. (Plain text) 2020-06-18 21:57
initial ratings Zatonskih;2327 Krush;2392 Saduakassova;2412 Dzagnidze;2447 Harika;2450 Girya;2471 Koneru;2483 Goryachkina;2502 MuzychukM;2506 MuzychukA;2533 VanForeest;2543 Cori;2599 Amin;2608 Wenjun;2610 Yifan;2621 A...
shell. quick pgn to sqlite3 with pgn from chess-results 2019-10-16 21:23 (Plain text) 2020-06-03 17:46
#2019-10-16 # http://chess-results.com/tnr478041.aspx?lan=1&art=5&flag=30 set -e #CONSTANT uppercase WORKDIR_PATH='/Users/pierfrancesco.aiello/pier.root/pier_work_settings/local/scripting/shell/chess_results/scraping_swiss_stats/...
shell.fixing java alternatives after a wrong installation (Plain text) 2020-06-03 17:45
set -e #so what happened, one installs with puppet openjdk 11, it doesn't work #and one simply uncomment the puppet code, without reverting #the installation, so the alternatives, that provide the link to the proper #java executabl...