Fix Touch Bar Volume Buttons
The touch bar on MacBooks has been a source of controversy since the beginning. Many mourned the loss of the escape key, while others refused to buy a new laptop to avoid the touch bar completely. I’ve not had many issues with the touch bar but mostly because I don’t really use it.
One necessary usage of the touch bar is adjusting volume. Recently the volume portion of the touch bar stopped working for me; it was though I wasn’t even touching the volume icons. For a while I changed volume via command line but that grew frustrating. Luckily I found this handy command for restarting volume and brightness controls:
killall ControlStrip
After executing that command, my touch bar volume buttons worked again!
Feature detection via JavaScript is a client side best practice and for all the right reasons, but unfortunately that same functionality hasn't been available within CSS. What we end up doing is repeating the same properties multiple times with each browser prefix. Yuck. Another thing we...
You've probably heard the talk around the water cooler about how promises are the future. All of the cool kids are using them, but you don't see what makes them so special. Can't you just use a callback? What's the big deal? In this article, we'll...
When I first saw MooTools graphical navigation, I was impressed. I thought it was a very simple yet creative way of using Flash. When I right-clicked and saw that it was JavaScript, I was floored. How could they achieve such...
The jQuery homepage has a pretty suave tooltip-like effect as seen below:
Here's how to accomplish this same effect using MooTools.
The XHTML
The above XHTML was taken directly from the jQuery homepage -- no changes.
The CSS
The above CSS has been slightly modified to match the CSS rules already...
Thanks a lot!
My touch bar stopped showing volume controls; once I applied that command the touch bar showed up again the volume controls.