Shark Fin <hr>
Nice article by Mike Sass explaining how he added shark fins to the <hr> on his site: Shark Fin <hr>
(via)
Nice article by Mike Sass explaining how he added shark fins to the <hr> on his site: Shark Fin <hr>
(via)
MapCanvas creates beautiful map portraits.
You can enter any city and have it generate minimal custom maps.
And if inclined also order them as printouts and framed posters.
(via)
Name your own gulf by MapQuest.
(via)
Finding Flow: Escaping Digital Distractions Through Deep Work and Slow Living – a personal guide to reclaiming focus in the age of endless temptation.
— Simon Späti
The Stolen Focus: Why You Can’t Pay Attention book by Johann Hari which inspired this article goes on the /reading list 📖
“I urge you to please notice when you are happy, and exclaim or murmur or think at some point, ‘If this isn’t nice, I don’t know what is.’”
— Kurt Vonnegut
(via)
It’s a simple two-step process:
- First, notice. Notice that things are good. Notice the feeling of pleasure. Notice today’s perfect temperature. Notice the art project your child is sharing with you.
- Then, say thank you. To the person you’re with, for the life you live, to the reality you’ve been blessed with, to the God you feel must be there.
And if none of those feel like the right objects of gratitude, that’s okay too. Simply murmur to yourself, ‘If this isn’t nice, I don’t know what is.’
(via)
Ruben Schade published a post with answers to the terminal survey that Julia Evans recently conducted.
Inspired by this, below are my answers to these questions.
Since 2002.
zsh (on my laptop/workstation), bash (on servers).
No and yes (was using zsh before macOS made it the default).
macOS, Linux.
Terminal.app, GNOME Terminal.
Yes, vim.
Yes, my current scheme evolved from the 2003 Gentoo default scheme.
Run reset
.
PATH
, environment variables, alias, the prompt, custom functions, history, syntax-highlighting.
No. Tried it sporadically, but not really my thing, rather using a terminal multiplexer.
Basic local operations mostly in the GUI. Anything advanced, automated, remote or mass-operations in the terminal.
PATH
, EDITOR
, and some others:
% grep export zshrc/zshrc|sed -e 's/=.*//' export GIT_AUTHOR_NAME export GIT_COMMITTER_NAME export TZ export PERL5LIB export GOPATH export LOCKPRG export SAM_CLI_TELEMETRY export JAVA_HOME export RSYNC_RSH export CVS_RSH export EDITOR export USE_EDITOR export CVSEDITOR export BROWSER export LESS export HOMEBREW_NO_ANALYTICS export WWW_BROWSER
Yes.
/
to search, then mostly spacebar to scroll and the occasional j
/k
.
sort
, uniq
, tr
, sed
, find
with xargs
to parallelise, and awk
.
screen
(still trying to migrate to tmux
, eventually).
Scripts assuming GNU specific parameters/tools on macOS.
Whenever somebody sends you a pull request, give them commit access to your project.
In the Conventional Commits article, Mike Perham explains how git commit templating can be used to support commit message consistency.
The key part is the template
statement in the ~/.gitconfig
:
[commit] template = ~/.gitmessage
This references the ~/.gitmessage
file which is used as template for every new commit message.
For Conventional Commits, the following can be useful:
# type(subsystem): short description ### Types # feat: A new feature # fix: A bug fix # docs: Documentation only changes # build: Changes that affect the build system or external dependencies # ci: Changes to our CI configuration files and scripts # perf: A code change that improves performance # refactor: A code change that neither fixes a bug nor adds a feature # style: Changes that do not affect the meaning of the code # test: Adding missing tests or correcting existing tests
In Re-ordering Git commits, Cassidy Williams explains nicely how interactive Git rebasing can be used to re-order Git commits.
TL;DR:
git rebase -i HEAD~4
In The beauty of goofy diagrams Einenlum explains how a diagram drawn in a more casual style, can support conveying information easier to the audience.
The thing is, I’m more and more convinced that the style of a presentation matters. Even before looking at the content itself, the style puts you in a particular mood.
[...] To me, although they convey the same content, the first one creates a sense of seriousness and gravity. It feels like only clever people can understand it. I’m already a bit tense and I feel like I need to focus. I almost take a deep breath and say to myself “okay, you can do it”. I feel dumb but I feel that with enough curiosity and hard work I can understand the content.
The second one, on the other hand, makes me feel more relaxed and probably more curious. The topic seems easier to grasp and I’m quite confident I can understand it. It doesn’t mean it brings more clarity: the first diagram is actually probably clearer but the content has more chance of reaching my brain with the second one because I’m more open to it.
(via)