I got sick of opening the same tmux/terminal format every time I had to restart, so I wrote this: #!/bin/bash function command() { CMD="$1" xdotool type "$1" xdotool key Return } function key() { KEY="$1" xdotool key $KEY } function clear() { for n in {1..10}; do key BackSpace done } function name_panel() { NAME="$1" key ctrl+a key comma clear command $NAME } name_panel 'cmd' key ctrl+a key c name_panel 'srv' key ctr…
Ask HN: What's are your personal automations?
81–90 of 159 posts
Re: Ask HN: What's are your personal automations?
#82I've set up similar automations to dim the nightlight after 10pm and automatically switch off during the day time.
[1] https://www.amazon.com/Gro-Company-Gro-Clock-Sleep-Trainer/d...
Re: Ask HN: What's are your personal automations?
#83Re: Ask HN: What's are your personal automations?
#84I have a few: - A site which has an RSS feed of my Twitter feed. On entry per day. - Automated backups of Notion and Dropbox to Backblaze - Notification for likely missing data in my Spotify logging app. (I download all my play data from the recent plays api) - GitHub actions to download each new Instagram post. - Scripts to process my personal finance data into a database which backs a grafana dashboard
Downloading recent plays data from Spotify seems interesting.. what do you do with it? Personal custom "wrapped 2020"?
It's public, judge my music as you like! https://music.charlieegan3.com/
Repo here: https://github.com/charlieegan3/music/ all runs on GitHub actions.
Re: Ask HN: What's are your personal automations?
#85I've found that paying people to provide you with good food saves tonnes of time: shopping, prepping, cooking, cleaning, garbage. Hotel buffet breakfasts or similar are a good solution. This is by far the most time efficient daily hack. Also good are floor cleaning robots. Not owning a car is great too, if you add up all the time doing parking/registration/license/insurance/whatever. Software... well, mostly just avo…
Do you just never cook for yourself? What service/method do you use? I would love to reduce my cooking to weekends/whenever I feel like it, but I've had a really hard time finding a cheap, healthy, and sustainable way to do this. I always feel like I'm paying a more money to eat something that's not that great for me and tearing through gas/one-time-use plastics doing so.
Its a community meal sharing app. They are almost in production. I was a contributor there sometime back.
Re: Ask HN: What's are your personal automations?
#86I never found the perfect note taking and/or scheduling software. So I wrote a Python script which combines several tools which together give me what I need. My entire life revolves around it, can’t imagine living without it anymore. Getting that sort of system sorted out is maybe the most productive thing you can do because it is meta-productive.
Re: Ask HN: What's are your personal automations?
#87Re: Ask HN: What's are your personal automations?
#88I automated my desktop environment configuration using Docker containers. I'm able to go from a headless tty to perfectly tailored desktop environment in ~2.5 seconds. First time start requires a ~40 min build, byut thereafter ~2.5s to start afresh. https://github.com/sabrehagen/desktop-environment I did the same think for my production application environment. One command to go from no infrastructure to production g…
I find that having a fully automated setup makes tech problems much less stressful. If something breaks, I can just re-install the system from scratch and be up and running again in an hour or two. It also makes changing hard drives or setting up a new machines very straightforward.
Re: Ask HN: What's are your personal automations?
#89I used Alexa routines & Philips hue to setup a "grow clock [1]" type thing for my Childs room. When the light is red, you're supposed to go back to sleep, yellow you can get up and play quietly in your room, green come and wake up mummy and daddy. I've set up similar automations to dim the nightlight after 10pm and automatically switch off during the day time. [1] https://www.amazon.com/Gro-Company-Gro-Clock-Sleep-Tr…
[1] https://www.amazon.co.uk/gp/customer-reviews/R126KGC1KEZQHY?...