Archive for ‘Macintosh’ Category
Posted on 14:17, August 25th, 2010 by Many Ayromlou
This mainly applies to how you deal with a backup DHCP server and it’s configuration, but might also be useful for backing up other service settings. One of the things that kinda bugs me about how some services are configured in OSX Server is the fact that the configurations are stored in the directory. For example, if you have a DHCP server servicing a subnet with a ton of reservations hardcoded in it, there is no way of editing and/or moving the information from the command line (ie: there is no single config file that contains the current configuration) to another server. That’s where the “serveradmin” commandline program comes to rescue. If you have two identical servers (ie: both running the same OSX server version), you can use serveradmin to export the settings from a specific service and then move the file to the new server and import it there.… Read the rest
Posted on 16:58, August 23rd, 2010 by Many Ayromlou
We recently upgraded our servers from old XServe G5’s running Tiger to the latest greatest running Snow Leopard. In this small howto I will deal with the procedure I followed to setup mysql master-slave replication between two new servers. I start out with two (master, slave) empty DB’s, setup the replication and then import my data from a third server (my old G5 X-Serve). Of course like anything else I will try to show you how to get out of — what I like to call — Steve Jobs Hell Holes :-). There are other ways of doing this procedure, for more info check out this page.
– First things first….the magic command that stops mysql server from command line, just in case you screw something up and need to restart (This should be used on your master and slave servers prior to them going live…..DO NOT USE THIS ON A LIVE SERVER):
This will stop the launch Daemon from continously launching mysql when trouble is brewing.… Read the rest
Posted on 11:54, August 5th, 2010 by Many Ayromlou
Okay so this only works in Boot Camp 3.0+ which comes with Snow Leopard (10.6). If you ever find yourself in Windows and need to quickly — using command line — change your boot option to reboot into OSX (process known under OSX as blessing) you can use the following command:
Posted on 11:36, August 5th, 2010 by Many Ayromlou
You all probably know about the trick with holding down 6 and 4 keys on your keyboard to force OSX 10.6 to boot using the 64-bit kernel. What you might not know is that it’s temporary and the next time you reboot, you’re back to using the 32 bit kernel. Now I can’t guarantee that your machine will not catch fire and blow up (just kidding)…..but if you know what you’re doing and want to have 64-bit kernel goodness all the time you can do the following:
This is a neat new feature in safari 5. If you close one of your tabs by mistake you can “undo” it by pressing Cmd+z (in OSX) or Ctrl-z (in Windows). Neato :-)
Well, you learn something new everyday. I was always under the impression that you needed Apple Remote Desktop application to connect to a mac that was sharing it’s screen (or vncviewer app). Today I stumbled across another way of doing this without any of these apps……just using the build in “Screen Sharing” application. The easy way (and how I stumbled across this) was to open up Finder/Go/Connect to Server menu option (Apple-K) and type vnc://remote.server.dns.name.or.ip in the “server address” field. This is something that works nicely under Linux (gnome desktop) and I always wanted it in mac……well it was there all along…..
And for the command-line junkies there is a even easier way. Open up terminal and type the following command to connect to the remote server:
Really cool video of Jim Reekes talking about his thought process in designing sounds for the mac, including the big fat C major chord which your mac plays every time you start it. Jim Reekes was a programmer at Apple Computer for 12 years. His work has significantly affected operating systems, most notably System 7 and QuickTime. He also is responsible for creating many of the system sounds for the Macintosh operating system. Some of the most famous creations during that time were the Mac startup sound and the system sound sosumi. Full 1 hour video can be seen on Youtube.
Posted on 13:36, March 5th, 2010 by Many Ayromlou
In this guide I’ll show you how to stream live HDV/DV video to your iphone using a linux box (Ubuntu 9.10) with firewire input running vlc/ffmpeg and a Imac with OSX 10.6.2 running mediastreamsegmenter and apache2.
Start out with the iPhone streaming media overview. Without understanding this document you’ll have a hard time getting things working.
First things first, you need to have a working Ubuntu 9.10 machine. I’m using a small footprint 2.4Ghz Core2Duo machine with PCI firewire 400 card in it. For video input I’m using a Canon HV30 set to HDV mode (1080i/60) connected via firewire.
Posted on 19:53, February 11th, 2010 by Many Ayromlou
One of the original reasons I bought my first ipod (first gen 5 Gig) was that I could hook it up to my mac and use it as a firewire drive. I could literally run around with this in my pocket and boot OSX off the ipod. Well that came to an end with the intro of iPhone/iTouch. Apple took the “disk mode” out. Well that was then, go grab a FREE copy of iPhone explorer and all that USB stick functionality can be your again. Oh, and did I say there is no need for Jail Break either :-)
Posted on 13:51, February 5th, 2010 by Many Ayromlou
The answer to that is maybe, we’ll see. But all that aside if you’re interested in a minimalistic video player that can handle more codecs than VLC and is generally faster then give Movist a try.
The unique thing about the player is that it allows you to switch codec engines between ffmpeg and quicktime based on file extensions. Oh and did I say it’s FREE aswell :-).
… Read the rest