Bluetooth has been a revelation in wireless technology: wireless mice, headphones, streaming devices, and a variety of home and office environments. It goes without saying that wireless peripherals are so much easier to manage than wired counterparts, especially mice, that I usually have my MacBook’s bluetooth turned on.
There are times, however, that I move my laptop away from the mouse (OK, I admit: the kitchen) where the bluetooth connection is still in range but with the mouse still connected, I can’t use my laptop’s touchpad, leaving me to only use my keyboard which is an annoyance. That led me to finding blueutil, a command line utility for macOS that lets me turn Bluetooth on and off with one command!
Start by installing blueutil with HomeBrew:
brew install blueutil
-p flag is a switch for turning bluetooth on and off:
# Turn bluetooth off blueutil -p 0 # Turn bluetooth on blueutil -p 1
This utility will be so helpful as I move around my house. Since I can’t use my touchpad during these situations, I can’t turn Bluetooth off from the command bar, so a simple command like this is exactly what I need!
Responsive Images: The Ultimate Guide
Chances are that any Web designers using our Ghostlab browser testing app, which allows seamless testing across all devices simultaneously, will have worked with responsive design in some shape or form. And as today’s websites and devices become ever more varied, a plethora of responsive images…
Facebook-Style Modal Box Using MooTools
In my oh-so-humble opinion, Facebook’s Modal box is the best modal box around. It’s lightweight, subtle, and very stylish. I’ve taken Facebook’s imagery and CSS and combined it with MooTools’ awesome functionality to duplicate the effect. The Imagery Facebook uses a funky sprite for their modal…
MooTools FontChecker Plugin
Credit: Source link