I am:
@clb92@feddit.dk (MAIN LEMMY PROFILE)
@clb92@mastodon.social (Main Mastodon profile)
@clb92@kbin.social
@clb92@lemmy.world
@clb92@lemmy.ml
And /u/clb92 on Reddit (and many other places)

  • 0 Posts
  • 18 Comments
Joined 1 year ago
cake
Cake day: June 2nd, 2023

help-circle
  • clb92@feddit.dktoProgrammer Humor@lemmy.mlYou don't need the mouse
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    27 days ago

    Doesn’t that just cut one line at a time?

    Move the cursor to the start of what you want to cut, press ALT+A, then move the cursor with arrow keys (you’ll see text be highlighted from where the cursor was to where you move your cursor), then once you’ve moved the cursor to where you want, press CTRL+K to cut.





  • clb92@feddit.dktoProgrammer Humor@lemmy.mlAI's take on XML
    link
    fedilink
    English
    arrow-up
    0
    ·
    3 months ago

    Lots or file formats are just zipped XML.

    I was reverse engineering fucking around with the LBX file format for our Brother label printer’s software at work, because I wanted to generate labels programmatically, and they’re zipped XML too. Terrible format, LBX, really annoying to work with. The parser in Brother P-Touch Editor is really picky too. A string is 1 character longer or shorter than the length you defined in an attribute earlier in the XML? “I’ve never seen this file format in my life,” says P-Touch Editor.



  • Really cool project, even though it has its flaws. Be prepared to search the documentation and update the configuration via the command line, as there’s no settings page in the web interface.

    I had some trouble with it throwing a fatal error on URLs longer than the max filename length on my filesystem, but the author has been very responsive on GitHub. I replied to a 3-4 year old closed issue and the author opened it again and tried implementing a new fix in the dev version. I’m encountering another issue with using the dev version in my setup right now, but I think that’s being worked on.