madeindjs

joined 10 months ago
[–] [email protected] 2 points 3 months ago

I did a quick user script with Tampermonkey to search torrents links from torrents-csv.com of movies when I'm navigating to themoviedb.org . Not sure I can share it but it was really fun to develop and really useful for me.

[–] [email protected] 1 points 3 months ago

For example, all of the list abstractions (map, filter, reduce, etc.) will copy the array to a new list every time you chain them.

This methods were added to generator recently. So you can avoid copying the array in memory.

All this is also without even getting started on the million JS frameworks and libraries which make it really easy to have vendor lock-in and version lock-in at the same time

In my opinion, it's also what make JS good. There a package for almost everything.

[–] [email protected] 1 points 3 months ago (1 children)

The link is dead.

[–] [email protected] 1 points 3 months ago

You can get pretty far using a bit of JS and Tamper Monkey . You can even search in existing user scripts if someone already did it.

[–] [email protected] 2 points 8 months ago

I just discovered from So You Think You Know Git - FOSDEM 2024 that you can use Git to generate columns:

seq 1 24 | git column --mode=column --padding=5

Will render:

1      3      5      7      9      11     13     15     17     19     21     23
2      4      6      8      10     12     14     16     18     20     22     24

It can be useful to list files / permissions in a directory in multiples columns

ls -lah | git column --mode=column --padding=5

(Ok, it's useless)

[–] [email protected] 1 points 8 months ago

I installed it on a cheap VPS a few years ago, and it just works. I never had to do any maintenance. I love it

[–] [email protected] 2 points 9 months ago

It works on my machine ™

view more: ‹ prev next ›