• 42 Posts
  • 24 Comments
Joined 1 year ago
cake
Cake day: January 21st, 2024

help-circle



  • Free tech tip: https://cht.sh/ serves practical, usage-focused help on common command-line tasks. You can visit the website, or even better, curl for what you want.

    $ curl cht.sh/touch
    

    gets you this:

     cheat:touch 
    # To change a file's modification time:
    touch -d <time> <file>
    touch -d 12am <file>
    touch -d "yesterday 6am" <file>
    touch -d "2 days ago 10:00" <file>
    touch -d "tomorrow 04:00" <file>
    
    # To put the timestamp of a file on another:
    touch -r <refrence-file> <target-file>
    

    Append with ~ and a word to show only help containing that word:

    $ curl cht.sh/zstd~compress
    

    Result:

     tldr:zstd 
    # zstd
    # Compress or decompress files with Zstandard compression.
    # More information: <https://github.com/facebook/zstd>.
    
    # Decompress a file:
    zstd -d path/to/file.zst
    
    # Decompress to `stdout`:
    zstd -dc path/to/file.zst
    
    # Compress a file specifying the compression level, where 1=fastest, 19=slowest and 3=default:
    zstd -level path/to/file
    
    # Unlock higher compression levels (up to 22) using more memory (both for compression and decompression):
    zstd --ultra -level path/to/file
    

    For more usage tips, curl cht.sh/:help.



  • Is there for example a Gemini search engine?

    Yes. Two, actually (that I know of).

    • gemini://tlgs.one
    • gemini://kennedy.gemi.dev

    Will FF display a Gemini page as text only?

    Firefox doesn’t directly support Gemini, but you can view pages through a proxy like portal.mozz.us. Gemtext, the standard page format, has basic formatting syntax, and yes, it’s text only. There’s no mechanism for embedding images in pages - the best you can do is just link to them. In this one popular client, Lagrange, clicking on a link to an image displays it under that link, but other clients handle image links differently.

    Where do you hang out and exchange links 😁 ?

    I just lurk and read gemlogs (of course they can’t be called blogs, that’s short for web log!). There are sites with feeds of latest gemlog posts, and many sites that offer Gemini hosting have a list of recently updated pages. There are some minimal social networks, too. The front page of portal.mozz.us has a few links to these kinds of spots.