If I had to chose one, that will be my backup script, without any hesitation. Data is by far the most important thing, nowadays. After that, I would say the script that updates dependencies in all our projects and make merge requests on gitlab if anything has been updated.
Ask HN: What is the most useful script for your business or startup?
41–50 of 54 posts
Didn't mention a testing/restore script? Found the guy with no backups!
Re: Ask HN: What is the most useful script for your business or startup?
#42The button that when I press it deploys the new version of my thing. It's nice, I like pressing it.
You mean "git push"?
Re: Ask HN: What is the most useful script for your business or startup?
#43I made a small script that uses pattern matching to automatically parse and organise documents I get from various source (bank, clients, google, etc). It renames the docs and copy them in the right location.
Genuinely interested in this
Do you mind sharing some details ?
What kind of documents, does the script fetch them automagically, etc ?
Re: Ask HN: What is the most useful script for your business or startup?
#44Dayjob - server with intermittent memory issues and no budget to replace. Hosts our primary code base, and corrupts the occasional packfile. I'm in the process of writing a git-surgery script that automatically diagnoses fsck issues and traverses remotes to copy back corrupted/missing objects.
side project - some stuff to import customer data dumps into the db quickly. Not quite self-service yet, but getting there.
Re: Ask HN: What is the most useful script for your business or startup?
#45I wrote a bot that tells me when to buy and sell stocks. So far I've made about 10k profit this year.
Care to share the source code ? ;)
Re: Ask HN: What is the most useful script for your business or startup?
#46I wrote a bot that tells me when to buy and sell stocks. So far I've made about 10k profit this year.
Interesting - I understand that there are a number of factors that go into stock trading; what does the bot use to determine buy/sell?
Re: Ask HN: What is the most useful script for your business or startup?
#47Re: Ask HN: What is the most useful script for your business or startup?
#48Re: Ask HN: What is the most useful script for your business or startup?
#49Our engineers used to spend hours each week manually preparing stat reports in excel to send to our enterprise clients. I wrote a library that is essentially an excel templater that queries the database for the metrics, populates a spreadsheet and emails it to the client. We've been integrating it into every project for 5 years now.
Re: Ask HN: What is the most useful script for your business or startup?
#50Part of deliverables is for clients to have a list of IP's and base configurations for the hadoop clusters we deploy for them. I have a WIP Ruby gem that takes my ansible hosts and variables file along with the Ambari blueprint, which turns it into a CSV and a neatly formatted Markdown file (the latter I convert into PDF).
The next few steps is to upload these things to Google Drive for the clients.