https://twitter.com/mastojiratak/status/1346937089053614083
chef’s kiss
https://twitter.com/mastojiratak/status/1346937089053614083
chef’s kiss
Github Gists: 7 easy steps to push a local repository.
git remote add origin <url>
git push origin master -f
Thanks for the input, all! I’m writing down the approach I’ve been using for email, and the new Slack strategy I’ve recently adopted in what I’ll call my “Communication Policy”. 🕴
https://jeffkreeftmeijer.com/communication-policy/
That’s right! However, updating the root commit using that approach removes the common ancestor from already-created branches, which makes them more difficult to merge.
The empty root is there to always be the common ancestor.
Ah, shmux looks cool indeed! Yeah, using make breaks down very fast if the task becomes more complex, like long running tasks or even just accepting arguments. 😅
I create an empty root commit whenever I start a new git repository to allow me to rebase up to the first actual change. I almost never have to do that, but it’s great to have if I do.
$ git commit --allow-empty -m "$ git init"
My comment was mostly about putting single-line commands in Makefiles instead of running them through Rake or having a directory of executable bash files.
It’s all in one place, and without any extra dependencies to manage.
Stand back, I think I’m building another static site generator.
generate:
erb inner="$(shell cat index.html)" layout.html.erb > _output/index.html
Make is terribly undervalued as a tool outside of compiling and linking programs.
Looking to get off Google Analytics? Good. You don’t need realtime stats for your blog.
A web log analyzer like https://goaccess.io is still a good option. I checked. I’m moving over to running a script that downloads my logs and generates a report whenever I’m curious.
Slack is down. We are free.
I rode a horse around to find gasoline for a generator to open a door on Survivor+ for fifteen minutes, until I remembered how long this section is.
No heating in my office again, so I played The Last of Us 2 for a bit to take the chill off. 🧟♀️🎮🔥
I have email notifications turned on for everything, so this includes Github and Basecamp notifications too. It doesn’t include Slack, that’s all marked as read.
I’m at inbox 284, which seems like a pretty good score.
Something nice in Gleam; its $ gleam new
command creates a project with a GitHub CI workflow to check formatting and run the tests automatically.
Instead of putting “figure out how to run on CI” on your task list, they’re run from the first push on. Very convenient. 🙌
False alarm. I’m on 10.15.7.
About 44 minutes remaining…
Had to reboot because my laptop didn’t recognize USB-A peripherals connected to my USB-C screen anymore.
Now it’s updating. I guess I’m on Big Sur now. 🤷♀️
Mansions of Madness kind of does this. It uses an iPad as a makeshift GM, which is pretty clever.
Closed all 500 of my open tabs in Safari on iOS, so I’m ready for a new year of tab-opening.
I feel like a new person not having to choose which tab to reuse every time now. 🙏
Great! Happy new year! 🥳
🎶 On a dark desert highway… 🎶🕺
Ah, cool. That sounds like something to look into. Maybe there’s some way to improve on that in Elixir too.
I’m happy getting auto completion, compiler checks and dialyzer without too much fuss. What magic am I missing out on in other languages? 😯