Live data from Hacker News

Ask HN: What's are your personal automations?

news.ycombinator.com

51–60 of 159 posts

Re: Ask HN: What's are your personal automations?

#51
post #16

I created a script to tarball my git server's git directory, encrypt it, and backup to Google Drive if new commits were made that day. inb4 "just use GitHub"

Thoughts on `git bundle`?

Never tried it, didn't know it existed...don't know how it works with untracked files, so it seems safer to just continue tarballing the whole directory like I'm doing now.

Re: Ask HN: What's are your personal automations?

#52
I really love email since I can come to it when I please and I don't have a notification I have to leave unread on my phone. I setup a Lambda job that runs twice a day (morning and lunchtime) that takes the top pages from HN and sends them in a nice email format (just headlines, comment count and author) so I can look at the ones I want.

Recently I've made another script that looks at all the new posts from my RSS reader (Miniflux) over the last 24 hours and sends them to me in an email. Just the title and site name so its easy to parse/glance over.

Re: Ask HN: What's are your personal automations?

#54
post #4

A dishwasher is great if you can fill over 50% of it. Will save you couple minutes and effort.

If washing the dishes by hand would take more than 3 min the dishwasher wins on net water usage, regardless of how full it is. It’s marginally more to factor in energy usage.

Re: Ask HN: What's are your personal automations?

#55
Hah I just tweeted a pic of one earlier today [1]

My main one (using Integromat) loops through my unfinished Todoist tasks at each day at 00:01 and then:

- If the task doesn't have a due date it adds one. For each task without a due date it adds (i + 1) days. It's a crude method but I don't often have a huge amount of tasks without due dates.

- If the task is overdue it sets the due date to today and adds a "+" to the end of the task name so I can easily see how long I've put it off

[1]: Screenshot of this @ https://twitter.com/CohanRobinson/status/1337125370399690753

Re: Ask HN: What's are your personal automations?

#56

Earlier quoted context omitted.

I feel like I should point out that tmux is quite happy to take commands directly on the command line: `tmux new-window -n srv` will make a new window named "srv", `tmux next-window` will move you forward one window, etc. Hit prefix-? to list the commands bound to each key when you're running.

Thanks! I had this strange feeling someone was going to tell me something exactly like this after I posted. I'm glad I did though, it's good to learn new things.

:)

Remember, just because someone tells you a better doesn't mean there was anything wrong with your way (if nothing else, sending actual keystrokes is a universal-ish API rather than having to learn each program's specific interface, if they even have one). But yeah, knowledge-sharing is a perk of these threads, too:)

Re: Ask HN: What's are your personal automations?

#57
post #23

Earlier quoted context omitted.

What editor do you use for writing in the markdown files? I've tried org-journal in Emacs but I could never get over the learning curve of Emacs + org-journal.

I've been using Obsidian recently and I love it. There are all kinds of interesting ways you can graph your posts too.

Wow, can't believe I haven't heard of Obsidian. Thanks for sharing. I'm going to check it out.

Re: Ask HN: What's are your personal automations?

#59

I use the following in Bash. function notifyme() { MSG=${1:-'Terminal is done'} TITLE=${2:-"Done!"} osascript -e "display notification \"${MSG}\" with title \"${TITLE}\"" } I use it like: bin/start-unit-tests; notifyme

This is so simple and so cool!

Re: Ask HN: What's are your personal automations?

#60

I 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 don’t mean to sound snarky, but why? Is this for your personal desktop or something else?

My personal desktop. For repeatability.
Post reply on HN