Category: CLI

  • Bloggers and screen shooters: Disable shadow in window screen captures

    One of the things I don’t really like about OSX Leopard is the fact that everytime you take a screen shot of a window (Command-Shift-4 followed by Spacebar), it put’s a — for us bloggers — not so good looking shadow around the capture. Well not anymore, use the following command to disable the effect:defaults…

  • Some CLI tunes…..

    Just when you thought your command line life was getting boring, we discover these happy tunes for your cut/paste pleasure. Just select the entire line, copy it, open a terminal window, paste it followed by Enter and marvel at your Mac. Yeah it’s a OSX thing and works best under 10.5, so if you’ve got…

  • Twitter from Unix/Linux/OSX command line

    Yep, you can. Here is the recipe: 1) You need to install “curl” for your OS. OSX comes with it by default which is nice. Most unices out there also have it installed or have it available for download (Ubuntu, Debian users can use “sudo apt-get install curl” to install).2) Edit a text file using…

  • Turn on/off remote desktop service remotely….

    Apples remote desktop service is great and it comes in handy, but what happens when you’re 5000 miles away from your desktop, only to find that remote desktop is turned off. Dooohhhh. Well here is a quick tip to turn the damn thing on and off in a second through a remote ssh connection. To turn…

  • Secure remote backups using Rsync…..

    While the world was busy trying to figure out how to sync their palm pilots to Windows 98 (or was it 95) Andrew Tridgell was working on his thesis……Rsync. The endall-beall in the world of syncing. You see, if you’ve ever tried any syncing program before you’ll appreciate the ease with which rsync works. You’ll…

  • Quicktip for Frontrow users (OSX)

    I bet you didn’t know that Frontrow, Apple’s Media Centre software that ships with every Mac, can actually playback those HD trailers from their site. Well here is a quicktip to enable that functionality:defaults write com.apple.frontrow EnableHDMovieTrailers TRUEOnce you type this into terminal, start up Frontrow and note that you get a new option under…

  • Twitter….the cool way….

    To be honest, I’ve had a twitter account for a while, but since I need a browser (or phone) to get access to it and twit, I hadn’t used it. But that’s about to change (maybe), since I found out how you can twit from command line. Yep, twit away from any UNIX, Linux, OSX…

  • Stream your Linux/Windows/Mac Desktop as video using VLC

    A buddy of mine (thanks Mike) showed me this today. There is a input Access module in the newer versions of VLC (0.8.6+) called “screen” which makes this possible. To stream your desktop to another machine (ip address: 192.168.1.2 in this case) just use the following command in Linux (sorry command line only):vlc screen:// :screen-fps=30…

  • How to uninstall almost any application in OSX manually

    Well, you learn something new everyday. Here is what I picked up today….If you ever install an application that came as a OSX package, there is a good chance that the installer has installed files all over your machine. There is also a good chance that the installer has left you a little gift —…

  • Changing DNS hostname on OSX Server

    If you ever need to check the DNS hostname under OSX server here is the command: $ sudo changeip -checkhostnameIf you need to change it (ie: after a DNS table change) use the following command (for OD sites):changeip /LDAPv3/127.0.0.1/ 192.0.0.12 192.0.0.12 old.example.com new.example.comchangeip also has a lot of other uses (ie: if you change the…