📝 New blog post: “Switching Configs in Neovim”
Trying out multiple @Neovim configurations at the same time is a great way to figure out what options you like best.
Learn how to install as many configs as you like and hop between them:
https://t.co/V0RHIX4tHD
📝 New blog post: “Undoing a Merge to Your Main Git Branch”
It can be scary to realize you’ve just broken production with a bad commit! 😱
Here are the steps to restore things to how they used to be. 😮💨
https://t.co/NzIeCfRNrN
📝 New blog post: “How to add a PR template to your @github repo”
Coders who work with other coders need to explain their work in writing. A lot.
That’s easier to do if you can just fill in the blanks.
https://t.co/hpYn5tLTbw
📝 New blog post: “How to dramatically reduce video file size using @FFmpeg"
I tried to upload a video to @SlackHQ yesterday, but it turns out my 10-min screencast was 1.4 GB. 😬
If that ever happens to you, here's a way to shrink the file size by 10x:
https://t.co/onRyHa4phN
@stolinski I had to solve this issue at work a couple years ago, so when I heard you mention on @syntaxfm that you were encountering the same Safari bug, I wrote a blog post for you with the one-line solution. :)
https://t.co/Y9MGDgbcue
📝 New blog post: “The translateZ trick”
I recently overheard another developer lamenting that Safari doesn’t animate CSS filters smoothly and since I’d managed to solve that issue a couple years ago, I figured it was about time I shared the solution!
https://t.co/Y9MGDgbcue
I found a good use case for this technique this weekend while enhancing blocks pulled from the @NotionHQ API with extra data and helper methods, so I wanted to give @kyleshevlin a shout-out for the timely assist.
I didn’t know this factory function technique before reading @kyleshevlin’s blog post about it and must say I find it a really nice alternative to writing classes.
What is a Factory Function? | Kyle Shevlin https://t.co/2eILGfM8wP
I agree with @jaffathecake here that an image’s alt text should try to evoke the same emotions as its visuals so screen reader users don’t miss out.
Let the creative writing begin!
Writing great alt text: Emotion matters - https://t.co/glSVgChDrR https://t.co/ZATje5UrkM
This is a nice video showing how to make a unit test (or any code block) easier to read by rewriting it from a single point of view: in this case, how a user would interact with the page.
Levels of abstraction in testing by @samselikoff https://t.co/eb19M8DNsm