• tea@lemmy.today
    link
    fedilink
    arrow-up
    5
    ·
    5 个月前

    This is great!

    @tripflag@lemmy.world If you don’t mind, what tools did you use to create this html? Have a cheatsheet.txt that I often share with devs on my team and I’d love to format it into something like this with a TOC, display name for a command, and links down to each oneliner.

    • tripflag@lemmy.world
      link
      fedilink
      arrow-up
      5
      ·
      5 个月前

      I’m sorry to say it’s a bit of very old-fashioned php that’s in charge of all that xD

      I’ve modified it to print its own source code if you append ?dat=sauce to the URL, and I’ll try to answer questions if I can remember how it worked :-)

      • tea@lemmy.today
        link
        fedilink
        arrow-up
        4
        ·
        edit-2
        5 个月前

        Thanks man. This is likely going to be too much for me, but I really appreciate you providing it. Taking a look :)

        edit: Actually, I think I get it after looking at the nix.sh that’s the actual list of commands. Thanks! Seeing if I can tweak things so I can make my own version. Cheers!