• Mac OS X,  Network Infrastructure

    Magic Packets

    A Magic Packet is a broadcast frame with 6 bytes of ones (FF FF FF FF FF FF) followed by sixteen repetitions of the target systems Mac address.  Magic Packets can be sent as a broadcast packet of any network- and transport-layer protocol. The Mac supports Wake on LAN and therefore a sleeping Mac can be brought to life using a magic packet.  There are GUI wrappers that allow you to use Magic Packets, such as WOL, Nudge, etc.  Just search for Magic Packet or Wake On LAN on Version Tracker and I’m sure you’ll find plenty… These sometimes work for Windowz too, provided Wake on LAN support has been enabled.  …

  • Mac OS X

    Twidget

    Twidget – it’s quick and easy to update your Twitter feed using twidget. Don’t get me wrong, just because I found a good app to use doesn’t mean I’m actually going to be updating Twitter…

  • Mac OS X

    Changing the Screenshot Location in OS X

    Each user in Mac OS X can customize the location that their screenshots (aka screencaptures) will go. To do so you would edit the com.apple.screencapture property list, customizing the location key. You can easily edit this file using the defaults command. For example, if we wanted to set the location to go to a folder called screenshots in the home directory of a user we could use the following command: defaults write com.apple.screencapture location ~/screenshots You can also change the default type of screenshot which I cover here https://krypted.com//mac-os-x/mac-os-x-changing-the-default-screen-shot-format.

  • Mac OS X,  Mac OS X Server,  Ubuntu,  Unix

    Creating a crontab

    Creating your first crontab job is a three-part process: Prepare the absolute path to the program or script that you want to run Create a text file containing a line to schedule the job as described above for crontab fields Upload the text file to your system cron When preparing program to run or creating scripts to run remember that crontab jobs are background tasks. There is no terminal attached to a crontab job so there should be no print statements that normally write to the screen. (It is possible to redirect such print statements.) The same consideration hold true for requesting user input. Let’s assume that we want to…

  • Mac OS X,  Mass Deployment

    What Version of Mac OS X Am I Running?

    Ever need to have a program check a file to tell you what version of Mac OS X you’re running to do a quick sanity check?  In /System/Library/CoreServices/SystemVersion.plist you’ll find a key for ProductVersion.  The value in this key is the version of Mac OS X you’re using.  Keep in mind that the path should be relative to the volume that houses the operating system.  Therefore, if you’re using a volume during imaging and you’re running a postflight or preflight script make sure you check the path relative to the operating system you’re augmenting.

  • Mac OS X,  Windows XP

    WhatTheFont?!?!

    Ever forget the name of a font or see a font on something and wanted to know what it was?  Well, WhatTheFont is a great way to figure it out.  Check it out: http://new.myfonts.com/WhatTheFont

  • Mac OS X

    TinkerTool for Mac OS X

    I cover a lot of defaults commands on this site. And I’m likely only going to be increasing that coverage. But there are a lot of developers out there that wrap these commands into little GUI applications. One such, and likely the most popular, is TinkerTool. TinkerTool is an application that gives you access to additional preference settings Apple has built into Mac OS X. This allows to activate hidden features in the operating system and in some of the applications delivered with the system.

  • Mac OS X

    Advanced Features of the Mac OS X Calculator

    The Calculator application in Mac OS X is pretty handy beyond the basic 10-key functions that most people use.  As with many things from Apple you can make things much more complicated than the easy to use, basic screens that Apple provides.  For example, did you know that Calculator can perform binary, hexadecimal, ASCII and Unicode conversions?  To do so, click on the View menu and select Programmer (or use Command-3 to open the view.  You can also stop carrying around that old TI-85 you’ve been using for years (to some degree) to calculate those random tangents from time to time. One of the best parts of Calculator is that…