Change Mac Brightness from Command Line
Earlier this week I posted about how you can modify your Mac's volume from command line. Little command line scripts make me smile because I spend so much of my day in command line, and automation can be the key to productivity. I next thought about modifying brightness from command line and I found out that changing Mac brightness is super easy!s
The first step to changing Mac brightness is installing the brightness
utility with Homebrew:
brew install brightness
With brightness
installed, you can change the brightness of a Mac from command line:
brightness 0.3
This utility could be used somewhat like ding; you could execute a long-running script and then modify brightness to signify the task has completed:
brightness 0.1 && ./do-long-task && brightness 1
The brightness of a screen is a simple setting but you can make it work for you via automation with brightness
!
CSS and JavaScript: the lines seemingly get blurred by each browser release. They have always done a very different job but in the end they are both front-end technologies so they need do need to work closely. We have our .js files and our .css, but...
When you say or read "HTML5", you half expect exotic dancers and unicorns to walk into the room to the tune of "I'm Sexy and I Know It." Can you blame us though? We watched the fundamental APIs stagnate for so long that a basic feature...
A few weeks back, jQuery expert Janko Jovanovic dropped a sweet tutorial showing you how to create a Skype-like button using jQuery. I was impressed by Janko's article so I decided to port the effect to MooTools.
The XHTML
This is the exact code provided by...
Remember the Web 1.0 days where you had to customize your site in every way possible? You abused the scrollbars in Internet Explorer, of course, but the most popular external service I can remember was CometCursor. CometCursor let you create and use loads of custom cursors for...