4 ms·
There are some good descriptions and hints, but what the site really needs is examples. Just looking at the code doesn't help me much. The descriptions are also
by moontear 1mo ago
There are some good descriptions and hints, but what the site really needs is examples. Just looking at the code doesn't help me much. The descriptions are also mostly so short, that they could just as well be tooltips on the homepage.
The whole premise of the page is a collection of "web tricks worth remembering" and I can't fathom what bash (e.g. `du -hd 1 . | sort -hr`) is doing there.
- marcomezzavilla 1mo agoYou’re absolutely right, thanks for the feedback. I initially included live examples (mostly through CodePen), but they were taking too much time to maintain, so I stopped. The Bash entry was really just a half-finished personal note that I never properly edited. It’s probably out of scope too.
- sam_lowry_ 1mo agoPlease keep it, personal notes are worth it. Maybe less navigation or +/- voting, then ranking would help us navigate your site? Like in the good old commandlinefu.
- ramon156 1mo agoSilly question, why not just render the html on the pages? e.g. the popover is something I wanted to see
- marcomezzavilla 1mo agoYeah, it makes perfect sense. It’s definitely on my "I really should do this, but…" list.
- alpinisme 1mo agoCodepen is an awful experience on mobile (and is slow, as you said). But your page is an html page about html tips. Surely you can just embed them in the page itself?
- Aachen 1mo agofwiw I find `*` a lot easier in regular use than all of `-d 1 .`. It doesn't automatically expand to dotfiles but for regular typing, this advice looks like something you'd do if you're a robot or making an alias
- onraglanroad 1mo agoIt tells you which directory is the largest, including dot directories. You can then cd to the largest and run the exact same command again. You can find out what's filled your disk just by following it. It's something I regularly do.
- aequitas 1mo agoTry ncdu, which kind of does this but better. You can quickly traverse a directory tree recursively sorted by size in a simple ncurses interface and even delete files with instant recalculation.
- Aachen 1mo agoI know, as demonstrated by the comment you're responding to giving a tip about how to type that more quickly but with a caveat