Control Monitor Brightness through the Terminal

This feature is particularly useful in combination with a portable SSH capable device, such as an iPod.
Copy this code and paste it into TextEdit and save it as brightness.c. If you paste this into vim and use a standward terminal width of 80, be prepared for a wrapping issue on line 56.
#include <stdio.h>
#include <unistd.h>
#include <IOKit/graphics/IOGraphicsLib.h>
#include [...]

Posted at 22:24 on January 4, 2010 | leave a comment | Filed Under: Apple, Code Bits | read on

Time a Compilation in Linux

Time is a part of the bash shell and is a very useful program. With it you can easily determine the time it takes your machine to complete any shell task. The syntax depends on the bash command.
for a simple command like cd, the syntax is:
time cd
for a series of commands separated by &&, the [...]

Posted at 16:49 on December 19, 2009 | leave a comment | Filed Under: Apple, Linux, Short Work | read on

About

This site serves to document the solutions that I’ve come across through countless hours of googling, operating system installations and re-installations, workarounds and everything up to and sometimes including frustrated, forced power cycles. They are added as they come to mind, in no particular order. More often than not, the same solution can probably be found elsewhere. The point is to collect them into one database, which can be easily searched by myself.

A Note on this site’s formatting:

Applications or Programs are underlined and capitalized.

keys on the keyboard are bold and lowercase. Key combinations are concatenated with the + symbol. For instance, launching Spotlight can be accomplished by typing command + spacebar.

Text is italicized and formatted exactly as it should be entered.

If menus are utilized, The name of the tab will be italicized and each subsequent selection will be preceded by a closing bracket >.

“Messages” from any program or application are surrounded by quotes exactly as they appear.

Terminal commands will be formatted as code and should be followed by hitting the enter key.

Categories