Some tiny personal programs I've written
I own the house I currently live in because of a script I wrote.We had been looking for a new build for some time and had settled on a development and specific house we wanted to buy, but it was still months away from being released. We were told they released houses in person first, then listed them online later that day, but I was bored and wanted to see when new houses were listed, so I wrote a scraper to alert me whenever a new house became available.One day, we got a call from the property developer telling us the house we were interested in would be available in person from 10am the next day. Because we wanted to be certain to get it, we appeared at 8am, only to find that 3 other people were already waiting. Houses are released in batches of 2 or 3, so whilst we weren't hopeful, we joined the queue and waited.At 9am, while waiting in line, I got an alert telling me that the house had been released online, so I open their website on my phone and paid the deposit.At 10am, when the sales office opened, all hell broke loose as the person first in line (waiting since 5am...) discovered the house they wanted had already been reserved online. I'd effectively stolen his house. It was awkward to say the least as all of us were crammed into a tiny portacabin while this unfolded.In truth, I felt awful for depriving him of the house he and his family wanted, but relieved that we had reserved the house we wanted after a 5 month wait. A few weeks later the developer got in touch to say that they had changed their policy nationwide and would only be releasing houses online in the future because of "the incident"...Whilst I wasn't willing to give up our reservation, I worked with the person who had wanted our house so that they were alerted whenever a similar house in the same development became available. He got one, there's no hard feelings, and him and his family are now my next door neighbours.