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`?
Ask HN: What's are your personal automations?
51–60 of 159 posts
Re: Ask HN: What's are your personal automations?
#52Recently 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?
#53Re: Ask HN: What's are your personal automations?
#54A dishwasher is great if you can fill over 50% of it. Will save you couple minutes and effort.
Re: Ask HN: What's are your personal automations?
#55My 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?
#56Earlier 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?
#57Earlier 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.
Re: Ask HN: What's are your personal automations?
#58Re: Ask HN: What's are your personal automations?
#59I 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
Re: Ask HN: What's are your personal automations?
#60I 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?