Polishing your typography with line height units | WebKit
I should be using the lh
and rlh
units more enough—they’re supported across the board!
I should be using the lh
and rlh
units more enough—they’re supported across the board!
This is a handy little tool for spinning up a local web server when you don’t all the features of something like MAMP.
A case study with equal emphasis on animation and performance.
I keep coming back to this remarkable piece of writing by Cassie. Honest, resonant, and open, centred around a perfect analogy.
If you ignore the slightly insulting and condescending clickbaity title, this is a handy run-down of eight browser features with good support:
addEventListener()
,scrollTo()
,setTimeout()
and setInterval()
,defaultChecked
property for checkboxes,normalize()
and wholeText
for strings of text,insertAdjacentElement()
and insertAdjacentText()
,event.detail
, andscrollHeight
and scrollWidth
.Okay, I knew about the Python shortcut—I mentioned it in Going Offline—but I had no idea it was so easy to do the same thing for PHP. This is a bit of a revelation for me!
Once in the desired directory, run:
php -S localhost:2222
Now you can go to “localhost:2222” in your browser, and if you have an index.html or .php file in your root directory, you’re in business.
Well, I guess it’s time to change all my locally-hosted sites from .dev
domains to .test
. Thanks, Google.
This looks like a useful tool, not just for testing locally-hosted sites (say, at a device lab), but also for making locally-hosted sites run on HTTPS so you can test service workers.
It’s Geek Mental Help Week from Monday. You can get involved.
I believe that talking about mental health issues and sharing our experiences—not just those of people who suffer, but also those who live with and support us—can help everyone. Whether you struggle with your own mental health or care for someone who does, you can help others to understand how you cope. Geek Mental Help Week is all about sharing those experiences.
Petra has always been the strong one. She was the best friend that Chloe could have possibly had. Little wonder then that Chloe’s death continues to hit her so hard.
I still can’t fully comprehend it all nor do I have any idea how to learn to move on. All I know is that ever since the day I found out, I’ve been on an emotional rollercoaster. I go from being in shock, to being sad and angry, or completely numb.
Petra is getting help now. That’s good. She’s also writing about what she has been going through. That’s brave. Very brave.
She is one of the best human beings I know.
A lovely hack from Science Hack Day San Francisco: get an idea of the size of CERN’s Large Hadron Collider by seeing it superimposed over your town.
Craig recounts the time we visited the LHCb at CERN. It’s a lovely bit of writing. I wish it were on his own website.
An alternative to showoff.io for sharing your locally-hosted sites.
A handy little applescript that takes care of the automation of creating localhost sites on the mac.
This could be a handy little service for sharing locally-hosted sites.
Of plush toys and tentacle porn.
William Shatner and David Hasselhoff (circa 1984) are righting wrongs and taking Obama and McCain to the mat for the biggest brass ring in the country. From yesterday's tomorrow, for a better today!
The inimitable Dr. Brian Cox gives us a peek into the state of play with the Large Hadron Collider. "Because of its size and ambition, the LHC could inspire an entire generation to rediscover the value of exploration in the way Apollo inspired me …
Here's something to bring on the geek goosebumps: a countdown to the activation of the Large Hadron Collider at CERN. Many sectors have already completed cooldown.