Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

agnos.is Forums

  1. Home
  2. Ask Lemmy
  3. What are some "toy programs" you've created?

What are some "toy programs" you've created?

Scheduled Pinned Locked Moved Ask Lemmy
asklemmy
53 Posts 39 Posters 0 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B [email protected]

    i wrote a simple program to wiggle my mouse

    you can guess why

    it was a rip off from a coworker’s program

    L This user is from outside of this forum
    L This user is from outside of this forum
    [email protected]
    wrote on last edited by
    #44

    I did that too with a basic powershell loop hitting F15 (non existent keyboard key that's not mapped to anything)

    1 Reply Last reply
    0
    • C [email protected]

      Little programs or scripts or automations you've created ad-hoc to solve a particular single use case

      I have lots of shortcuts i make on my phone and I have one i love that detects when bluetooth accidentally or purposefully disconnects from my speaker and reconnects it and fixes a playback glitch so its back to playing properly

      T This user is from outside of this forum
      T This user is from outside of this forum
      [email protected]
      wrote on last edited by
      #45

      I wrote a knights and knaves puzzle generator. I enjoyed making the program more than actually solving the puzzles though

      1 Reply Last reply
      0
      • C [email protected]

        Little programs or scripts or automations you've created ad-hoc to solve a particular single use case

        I have lots of shortcuts i make on my phone and I have one i love that detects when bluetooth accidentally or purposefully disconnects from my speaker and reconnects it and fixes a playback glitch so its back to playing properly

        T This user is from outside of this forum
        T This user is from outside of this forum
        [email protected]
        wrote on last edited by
        #46

        Once I wrote a PowerShell script to change all the public affairs officers' job titles to pubic affairs officers on our exchange server. I never ran it, but I could have.

        1 Reply Last reply
        1
        • C [email protected]

          Little programs or scripts or automations you've created ad-hoc to solve a particular single use case

          I have lots of shortcuts i make on my phone and I have one i love that detects when bluetooth accidentally or purposefully disconnects from my speaker and reconnects it and fixes a playback glitch so its back to playing properly

          captain_aggravated@sh.itjust.worksC This user is from outside of this forum
          captain_aggravated@sh.itjust.worksC This user is from outside of this forum
          [email protected]
          wrote on last edited by
          #47

          One or two versions before they included it by default, I wrote a Nemo Action to launch the monitor settings dialog in the right click menu when you right click the desktop.

          1 Reply Last reply
          0
          • N [email protected]

            Derp, yes

            V This user is from outside of this forum
            V This user is from outside of this forum
            [email protected]
            wrote on last edited by [email protected]
            #48

            I read through the readme and the config file example. Looks pretty neat! I might take a look at that to see if I can use it too.

            The last release talks about a future 1.0 release, and "experimental" stuff. But that was 4 years ago.

            Is it inactive? 🫤

            N 1 Reply Last reply
            0
            • H [email protected]

              I use Redshift to change the color temp on my monitors.

              I have cron jobs at 1930 to change to night mode, and 0600 to revert back to day mode.

              I'm very certain the temp change can be scheduled within Redshift itself, but I'd have to leave the terminal open, figure out the documentation, arguments, etc. Creating the cron jobs was easier for me. 🤷

              A This user is from outside of this forum
              A This user is from outside of this forum
              [email protected]
              wrote on last edited by
              #49

              You can run scripts without terminal emulator windows.

              1 Reply Last reply
              0
              • V [email protected]

                I read through the readme and the config file example. Looks pretty neat! I might take a look at that to see if I can use it too.

                The last release talks about a future 1.0 release, and "experimental" stuff. But that was 4 years ago.

                Is it inactive? 🫤

                N This user is from outside of this forum
                N This user is from outside of this forum
                [email protected]
                wrote on last edited by
                #50

                I think so, but it works well enough

                V 1 Reply Last reply
                0
                • C [email protected]

                  Little programs or scripts or automations you've created ad-hoc to solve a particular single use case

                  I have lots of shortcuts i make on my phone and I have one i love that detects when bluetooth accidentally or purposefully disconnects from my speaker and reconnects it and fixes a playback glitch so its back to playing properly

                  C This user is from outside of this forum
                  C This user is from outside of this forum
                  [email protected]
                  wrote on last edited by
                  #51

                  I write AHK scripts to make it possible to play certain games even though I can barely use my limbs. Often this means condensing a bunch of pointless inputs into one. Other times it means hacking controller support into a game so that I can use my preferred input devices.

                  Even though I fucking hate AHK as a general language, it is easily the best language for such tasks.

                  1 Reply Last reply
                  2
                  • C [email protected]

                    Little programs or scripts or automations you've created ad-hoc to solve a particular single use case

                    I have lots of shortcuts i make on my phone and I have one i love that detects when bluetooth accidentally or purposefully disconnects from my speaker and reconnects it and fixes a playback glitch so its back to playing properly

                    umbraroze@slrpnk.netU This user is from outside of this forum
                    umbraroze@slrpnk.netU This user is from outside of this forum
                    [email protected]
                    wrote on last edited by
                    #52

                    Dang, I really should write a programming portfolio page about all of the weird hacks I've made over the years. Other people link to their GitHub profiles in job applications and gesture non-specifically. I'd just point to my portfolio of weird hacks about weird problems I tried to solve weirdly. Anyway...

                    An ancient one I made back in the day:

                    I was listening to music while trying to sleep. I controlled the music player with infrared remote. Some mystery song starts playing and I have no idea what it's called. Obviously, the monitor was far away and turned off so I couldn't read.

                    So I was like, dammit, why can't I just push a button on the remote and have the computer say the name of the song?

                    My previous project actually helped with that - I had previously made an extension for XMMS that allows other programs to read the song information via a named pipe. So I just whipped up a script that reads the song name and feeds it to Festival TTS, and hooked that up to the infrared daemon. And that was at like 3 AM, so I quickly got back to trying to sleep

                    Some more recent ones:

                    Long ago, I was using Adobe Photoshop Elements Organizer to import my photos from SD cards (etc) to my NAS. It was horrible. It sucked. So much that when I finally snapped and switched over to better software (read: stable version of digiKam for Windows came out), I never trusted the photo organiser to get this thing right. So for a while I used random hacks and a bunch of weird scriptery. Then I decided to turn it into a PowerShell script. That started to kinda suck, so I now have a massive overengineered Python script to import my photos. And it does exactly what I want it to do. And I'm finally happy. (Available here for what it's worth)

                    Another thingy: I have to set the clocks on some devices manually. Daylight saving time, clock drift, you name it. One of my recent old-lady whinges was "Why the hell doesn't Windows even have an analog clock anymore?" I just prefer to have a clock that has both number display (to set the time) and analog clock face with a second hand so I can time the button press better visually. ...so I made one. Because I've never written an analog clock before. First, I made one in Processing. Then, a second version, because I'm in process of learning Godot.

                    1 Reply Last reply
                    2
                    • N [email protected]

                      I think so, but it works well enough

                      V This user is from outside of this forum
                      V This user is from outside of this forum
                      [email protected]
                      wrote on last edited by
                      #53

                      Might give a go. Thanks for the tip! 🙂

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • World
                      • Users
                      • Groups