A couple of tips on how to write well. I think I’ve probably said before, but writing doesn’t come naturally to me, so I’ll take all the tips that come my way.
A quick tip for disabling window shadows when taking screenshots in macOS. Terminals ready:
defaults write com.apple.screencapture disable-shadow -bool true
There are many ways to protect your WordPress-based website from getting hacked. The optimization of the wp-config.php can be considered to be an important part of a proper security strategy. Of course, the site won’t turn into the Bank of England, but you’ve made it a little harder for the hackers.
Some good tips for hardening your WordPress installation.
It’s possible to do this styling now, though, thanks to CSS counters. The trick is to remove the
list-style, then apply the markers through pseudo-element counters.
Nice tip for styling HTML list markers with CSS. See demo.
It wasn’t that long ago where you couldn’t programmatically copy text to the clipboard from the web without using Flash. But it’s getting pretty well supported these days.
Interesting, I didn’t realise that native support for this had progressed this far. Nice.
ssh-copy-id is ace, but it when it doesn’t exist, the following will come handy:
cat ~/.ssh/id_rsa.pub | ssh $USER@example.com "cat >> ~/.ssh/authorized_keys"
Note: just change the “example.com” address to that of your server.
In this post you’ll learn the most important concepts of the flexbox layout in CSS, which will make your life easier if you find yourself struggling with CSS layouts from time to time.
We’ll only focus on core principles, while leaving out stuff you shouldn’t care about until you’ve understood the basics.
A super simple introduction to using flexbox.
Every day, we use forms for essential online activity. We fill them out to complete purchases; to sign up for email lists, social networks, and more; to participate in discussions; and to describe that oh-so-delicious looking photo of our lunch. It’s hardly hyperbole to say they’re the lifeblood of digital information sharing. For many years, however, with few improvements to be found, forms have been mired in working “well enough” but not exactly well. Now, modern techniques—when used correctly—allow designers to produce faster, easier, and more productive form experiences.
Some good tips on how to design better web forms. FWIW, I really dislike filling out forms, so if you’re a web designer and you’re reading this, please follow the tips in the article. Kthxbai.
I’m not the most talented coder in the world. No, it’s true. So I try to write as little code as possible. The less I write, the less there is to break, justify, or maintain.
background-attachmentproperty has never seemed all that useful to me. I have always looked at it as some sort of old school design trick from the GeoCities days to get a repeating background to stay in place during scroll. Turns out a background with a fixed position can be much more useful than that.
Some nifty examples of the
background-attachment CSS property. I really like how you can use this to achieve a fairly dramatic effect with relatively little effort.