• 8 Posts
  • 101 Comments
Joined 1 year ago
cake
Cake day: June 10th, 2023

help-circle


  • My mother uses some software that runs in the browser for her shop. It can print out receipts and scan items. To do these things it has a small “sattelite” application that runs on the system and interacts with the printer and scanner. This software only runs on Windows and Linux doesn’t have drivers for the scanner.

    When I switched her over to Linux and found this out in the process I wanted to stop, give up and install windows.

    But then I had a stupid idea. I could run the sattelite program in a Windows VM and pass through the USB devices for receipt printer and scanner. The webapp uses requests to localhost:9998 to communicate with the sattelite so I set up a apache server that proxies these requests into the VM. I also prevented the VM from acessing the Interner so Windows doesn’t update and screw everything up.

    And it works. It has been in use for a week now and I’ve heard no complaints. I’m just praying to god it doesn’t break








  • I_like_cats@lemmy.oneto196@lemmy.blahaj.zonerule
    link
    fedilink
    arrow-up
    29
    ·
    8 months ago

    It’s easy. Just open up a terminal and type

    kill $PID
    

    (Replace the $PID with the process id of the process) if you don’t know the process id you can do

    killall process_name
    

    If these don’t work you can add a -9 to banish them and give them no chance to resist



  • What? This meme is about a transaction between two trans people but that doesn’t mean all Paypal users are trans. But I agree that PayPal is proprietary software and should be banished. I will delete my account now. I planned to do it for a while but haven’t got around to it yet