Archive for ‘Apple’ Category

Hiding Files and Folders in OSX Finder…..

datePosted on 20:52, January 29th, 2010 by Many Ayromlou

If you ever have a need to simply hide extraneous files and/or folder entries in Finder you can use the following command:
chflags hidden ~/Movies
This example will hide the “Movies” folder from showing up in Finder. There is a easy way to get to the folder if you decide to later on, just go to Finder’s “Go to Folder” menu option. If you want to reset this option you can use the following command:
chflags nohidden ~/Movies
If you want to check a file or folder for hidden files you can issue the following command:
ls -lO

Read the rest

Elgato turbo.264 HD video encoding coprocessor review…….

datePosted on 18:00, January 15th, 2010 by Many Ayromlou

I just picked one of these babies up from the apple store and after testing it a bit for the past hour, I have one word for it: WOW. This little guy is no gimmick, it’s zippy as hell and it does exactly what they say it would. The details for the device are on Elgato’s Website, but this is just a mini review of the tests I ran against a couple of software encoders.

Here is my setup:

- Mac OSX 10.5.8 with latest updates running on a 2.16Ghz Intel Core 2 Duo Black MacBook w/ 2 GB 667Mhz DDR2 SDRAM.
- Test input file was a HD movie I grabbed from vimeo through BT. It’s 12.5 minutes in lenght.… Read the rest

Let’s be clear on this, Wine, which is what WineBottler uses, lets you run Windows software on other operating systems. With Wine, you can install and run these applications just like you would in Windows without the need for a emulator or virtual machine. Not every program works yet, however there are already several million people using Wine to run their software.

WineBottler makes it really simple to create a application bundle out of Windows programs that will run on OSX. WineBottler is a tool similar to codeweavers Crossover, where separate prefixes — like runtime environments — are created per app. However, WineBottler ‘wraps’ or ‘bottles’ a separate prefix in each application bundle. WineBottler allows standalone (i.e. not requiring wine to be installed) applications to be created as well, by including the wine bundle inside the standalone application bundle.… Read the rest

Someone must have screwed up something in the freshclam plist as part of the update for Leopard (2009-05). I was getting this error constantly in my system.log which was not only annoying as hell, but also kept clam from downloading new virus definitions. Anyways, here is how you fix it.

  1. use sudo and edit the file /System/Library/LaunchDaemons/org.clamav.freshclam.plist
    sudo vi /System/Library/LaunchDaemons/org.clamav.freshclam.plist
  2. Somewhere in this file you’ll find a block of code like this:
    <array>
    <string>freshclam</string>
    <string>-d</string>
    <string>-c 4</string>
    </array> </code>

    Change it to look like:
    <array>
    <string>freshclam</string>
    <string>-d</string>
    <string>-c</string>
    <string>4</string>
    </array> </code>
  3. Then use the following two sudo commands to reload the freshclam service.
    sudo launchctl unload /System/Library/LaunchDaemons/org.clamav.freshclam.plist
    sudo launchctl load /System/Library/LaunchDaemons/org.clamav.freshclam.plist
Read the rest

Ipod Touch Tiled Display…..

datePosted on 23:38, November 11th, 2009 by Many Ayromlou

Neato!!!!

Apples and Oranges…..

datePosted on 19:32, September 21st, 2009 by Many Ayromlou
Apples and Oranges....

Safari 4.0 crashes upon exit under OSX 10.5.7

datePosted on 14:27, June 27th, 2009 by Many Ayromlou

I’ve had this problem ever since Safari 4.0 came out a little while ago. The symptoms are simple, when you close a Safari window it crashes. I reported it the first couple of times to Apple using crash reporter, then I started to look around for a solution, but to no avail. I gave up for a while and used firefox again. Today I got fed up with this and started to debug the issue from command line and finally found the problem.

A little while back I had purchased a QNAP NAS device, which I absolutely love. At the time I was impressed by the fact that it supported both XP and OSX. There is a piece of software you install on your machine called QGET which allows you to pass all sorts of downloading commands to the NAS (so it can download things in the background).… Read the rest

OSX 10.5: How to create a public share folder…..

datePosted on 12:39, June 11th, 2009 by Many Ayromlou

This problem has been around (I think) ever since the introduction of POSIX permissions. In pre-10.5 versions you could sorta do something like this by changing the default umask on the system, but that was system wide and applied to all folders/files a user created on the entire filesystem…..not nice. The real question is how do you create a directory that is totally public without mucking around with system/user wide settings. A folder that anyone on the system in question can read/write/modify/delete anything anyone else has put in there. A true shared directory with share permission inheritence. We call it “pub” directory at my place of work.

The old trick in OSX (in case someone is interested) was to write a small script that you ran via cron every 5-10 minutes that would “chmod” all the entries in a folder to be open to a specific POSIX group….something like the script below:

find /path/to/shared/directory !Read the rest

OSX 10.5: How to delete user accounts from Command Line….

datePosted on 11:34, June 11th, 2009 by Many Ayromlou

I ran into this problem a little while back and thought I should document it. It’s kinda similar to the “How to get Admin rights in OSX Leopard using single user mode…” document from earlier this year. Here is the procedure:

  1. Boot into single user mode. Hold Command-s at startup.
  2. Check the filesystem: /sbin/fsck -fy
  3. If no remaining errors, mount the filesystem: /sbin/mount -uw /
  4. Start up directory services:launchctl load /System/Library/LaunchDaemons/com.apple.DirectoryServices.plistNote that single user mode said to use com.apple.DirectoryServicesLocal.plist, but that didn’t work — this did.
  5. Find what groups the user belongs to: dscl . -list /groups GroupMembership | grep username — repeat for each group except for the user’s own group.
  6. Remove the group corresponding to the username: dscl .
Read the rest

How to mount your Journalized HFS+ disk in Linux….

datePosted on 20:41, May 23rd, 2009 by Many Ayromlou

This is something that people who deal with OSX and Linux come across everyday. Yes you can format your USB stick or removable HD using FAT32. The problem is that FAT32 does not support large sized files which can cause problems. So how do you solve this…..Easy. Attach the Journalized HFS+ disk to your MAC and startup disk utility. Inside disk utility find the disk in question and click on the partition(s) while holding down the “ALT” key. Keep holding the key down and go to the File menu and choose “Disable Journaling” (command-J). Eject the disk, move it over to your linux machine and hook it up. Linux can now read and write to the disk. Once you’re done, move the disk back to the apple machine and after selecting it in disk utility click on “Enable Journaling” button.… Read the rest

123... 567... 111213PreviousNext