A magic incantation to turn all git commands involving https://github.com/ into the much more reasonable firstname.lastname@example.org style. git config --global url."email@example.com:".insteadOf "https://github.com/" This saved my bacon with an internal project that uses a mixture of the two styles for submodules.
It’s no secret that when it comes to Linux distributions, I prefer Slackware. Partially that’s because Slackware feels the most Unix-like out of all of the distributions I’ve used over the years. I got my first taste of Unix with Solaris, and Slackware is the distribution that provides me with anything close to that same feeling. Over the past few months I’ve been using FreeBSD on my laptop, but I’m back to Slack now, and I feel like documenting a few of the tweaks I’ve made to my system.
Sometimes when working with git submodules, submodules may be accidentally updated and committed. If you end up in such a situation where a submodule was accidentally bumped forward on you, and you’re in a bad state, here’s how you can roll things back. Checkout a previous commit where things worked git checkout COMMIT-HASH-HERE You can find the hash for your target commit by looking through your commit log.
Due to the COVID-19 global pandemic, I am currently working from home. Luckily I have a basement office, so I’m not having to resort to working at the dining room table. Since I haven’t blogged in a while, and I like making lists, I thought I’d take this opportunity to jot down some of the software I’m using to make remote work as easy as possible. Plasma: The best desktop environment I’ve been a fan of the Plasma desktop environment for some time now.
I’m still using the hugo static site generator, and the following makefile to help me build new posts:
I haven't been blogging much lately, but I figured that I'd do a quick summarization of what's been going on this year. Home The main reason why I've been to pre-occupied to blog regularly this year is because my house now contains a one-year-old. My son, Billy, is by far my most amazing creation. He's also the busiest kid I've ever seen in my life. Busy in a good way, he's extra curious about everything.
In light of the passing of the great John Perry Barlow, vpnMentor has published a wonderful tribute piece, titled 5 Lessons that John Barlow Taught the World. Typically I don’t link to these kinds of articles, but in the wake of John’s passing I feel the need to spread the message far and wide: digital privacy is important.
The world lost a great man today. John Perry Barlow was a hero of mine. He wrote lyrics for the Grateful Dead, co-founded the Electronic Frontier Foundation, and helped shape the internet and the freedoms therein. Though I never had the honor to meet him personally, he greatly shaped my views of the world. Rest in peace, John. What follows is a reprinting of John’s famous principles for adult behavior. May his words echo forever, so that he can keep striving to make the world a better place, even in death.
As you may have noticed, I’ve changed the subtitle of this blog again. Back in the day I used to run a blog at beardedcodewarrior.net. The blog was strictly about programming, which allowed me to focus my personal site (this one) on personal issues. Since then I’ve consolidated my web presence, but I want to bring the name back. I used to actively blog about template meta-programming tricks back before we had the luxury of things like constexpr functions and std::apply and other cool things in the standard library.
I love Slackware. It’s the most stable operating system I’ve ever run. Even on days like today where I have to hunt and peck to get some setting tweaked to get my wifi working again, I can’t help but love this system. No operating system is perfect, but I’ve had far less problems over the years with Slackware than I’ve had with Windows and macOS. And the beauty of Slackware, and linux distributions in general, is that when the wheels do occasionally fall off, I have the ability to at least try and fix things myself.