I built this image differentiation tool to automate comparison of images generated by two different (one legacy, one replacement) image processing services: https://github.com/nicolashahn/diffimg Seems to have become useful for a lot of other people, which I didn't really expect.
Ask HN: Tools you have made for yourself?
291–300 of 458 posts
Re: Ask HN: Tools you have made for yourself?
#292A few months ago I wrote (and expanded over time) two simple scripts for note-taking and time tracking at work (because our official time tracking tool is kinda lackluster). They're really nothing special, just editing some Markdown files stuck in a Git repo, but they're a vital part of my daily toolbox. I've pulled them out into a separate repo and published them here: https://github.com/T0astBread/sticky
Since I focus on todos, I wrote a editor which creates a new section (as your daily script) and copies over all unfinished entries.
Re: Ask HN: Tools you have made for yourself?
#293For most Debian-based servers, it’s approximately:
sudo apt update
sudo apt upgrade
uname -a
prompt me to hit y if I want to reboot that server now. (This is what uname is for: to orient me to where that window is connected to prevent downing a server I don’t want to.)
This pattern means I can customize it for any given server without having to remember what/why for each. (This context is for my home network; I don’t claim that this is a great practice for production workloads, but it’s nice and handy for my home network.)Re: Ask HN: Tools you have made for yourself?
#294A few years back, my car was one of the millions with an airbag recall. For months, they sent letters saying it was my turn, but if I called to book an appointment, they'd say they didn't have the part in for me yet, and I had to check a web site to see if it was really my turn. So I wrote a script that would poll the web site using curl and notify me via Slack if the status had changed. I put that in cron, and every…
Though, somewhat humorously, very soon afterward eligibility was expanded to everyone in my state and vaccination appointments were much easier to find.
Re: Ask HN: Tools you have made for yourself?
#295Sounds dumb but I go camping a lot and still want to access various informational APIs when I’m in limited cell reception areas so I built a bridge that allows me to hook my APIs up to text messaging. I just send a text like “news” and get the latest headlines over sms. It works pretty well even when I don’t have data access I can still usually get the text messages back.
3G/4g data was expensive and reception limited. But sms was free and unlimited, and more widely available.
Re: Ask HN: Tools you have made for yourself?
#296As well as reporting to SafeBrowsing, etc. for each site you also need to look up the domain registrar and hosting provider (via WHOIS) and email them.
Rather than do this manually every time, I wrote a small CLI to automate the lookups and even open pre-templated emails: https://github.com/bradleyjkemp/abwhose
I'm now redoing this as a web app so that I can do the entire reporting process without leaving the browser: https://phish.report
Kinda fun trying to "speedrun" the process down to as few clicks as possible.
Re: Ask HN: Tools you have made for yourself?
#297I once wrote a script to record the Tinder profiles I swiped left and right on, then fine tuned a CNN using the data and integrated it into an automatic swiper. It swiped right on my now partner!
Re: Ask HN: Tools you have made for yourself?
#298Sounds dumb but I go camping a lot and still want to access various informational APIs when I’m in limited cell reception areas so I built a bridge that allows me to hook my APIs up to text messaging. I just send a text like “news” and get the latest headlines over sms. It works pretty well even when I don’t have data access I can still usually get the text messages back.
Very cool. When I was travelling around Canada I also wanted a sms 2 api gateway. 3G/4g data was expensive and reception limited. But sms was free and unlimited, and more widely available.
Re: Ask HN: Tools you have made for yourself?
#299Brandon Sanderson, my favorite writer, keeps some progress bars in his website to let the fan know what he's working on. Unfortunately, those progress bars aren't visible in mobile devices. So I made a website for myself to keep tabs on them. And also for the other fans. Link: https://bransan.vercel.app
Re: Ask HN: Tools you have made for yourself?
#300I have a small YT channel [1] and I used to spend 30-40 mins recording and then 2-4 hrs editing to get a final 10-15 min video. Then I fully scripted my video editing using Python+MoviePy [2]. The time savings are sweet. I just feed it my raw video and get the finished video a few minutes later. It cuts out all the dead air as well as the parts I don't want (which I indicate in-video). In general scripting video edit…
As an oldies station DJ from back home would say, this is good stuff! The use of screen color as an in-band indicator for what segments to keep or toss is especially elegant. One question: If you find yourself silent for some period that you want to keep (maybe while something happens on the screen), how do/would you inhibit the dead air filtering?