Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Oh I exactly know that feeling, man I currently have the same feeling at work... Saving some colleagues alot of time 😏 ... FeelsGoodMan. How are you btw?
-
@Jilano It’s already pretty automated. I mean I don’t monitor my bladder manually, it sends an alert when it’s about full. My power supply sends alerts when it needs more fuel, and so far I’ve always been able to wake from sleep on time thanks to the combo of wake-on-sun and circadian rhythm protocol. I’m happy with this setup thus far, but always open to suggestions.
Although, a cron job to trim my hair might be nice -
This is why I entered dev world, solve things like this using code/scripts
Write cool stuff and learn new things.
Too bad job != that thing tho it pays :3 -
-
dder22815y@TheCommoner282
sort | uniq seems unnaturally
Try sort -u next time.
Additionally for cut I usually go with -d’ ‘ -fN -
dder22815yGuys, check out thee ultimative plumber: https://github.com/akavel/up
It provides an awesome interactive UI for creating this kind of piping command stuff things.
Needed a list with all domains I run on a server but I don't always give nginx config files the names of their website so I was about to start going through them by hand..... waaait, let's try to automate this with a bash script...
Five minutes later I've got a working bash script which gets all domains from all config files.
Oh, the joys of terminal/bash stuff!
rant