Posted on July 29, 2008 at 4:22 pm

Find Corrupted Fonts 10.5

set fontsd to do shell script “mdfind ‘com_apple_ats_font_invalid == 1′”
display dialog ¬
“Corrupted Fonts” with icon 1 ¬
buttons {”About”, “Export to .txt file”, “Show Corrupted Fonts in a window”} ¬
default button “Show Corrupted Fonts in a window”
set button_pressed to button returned of result
if button_pressed is “Show Corrupted Fonts in a window” then
display [...]

Posted on May 6, 2008 at 4:32 pm

Give me my list.

Suppose you have to get a list of your music. This is actually a huge problem the .pdf that itunes creates is huge especially if you have a large library like me.So fire up Terminal.app cd to your Music directory and paste this find . -type d -mindepth 2 | sed -e ’s#\./iTunes[\/A-Za-z0-9\ ]*##g’ [...]

Posted on April 26, 2008 at 1:49 pm

ACL’s What are they?

I think many of you have tried to repair disk permissions using Disk Utility. But you have some errors like ACL expected but not found. What are these ACL is the first question?
From the Apple Security Configuration Manual

An ACL is an ordered list of rules that control file
permissions. Each rule or access control entry (ACE) [...]

Posted on April 25, 2008 at 3:17 pm

MySQL Install on Leopard

MySQL install package on Leopard is quite a pain in the **s.It completes but never works. After hours googling for the solution I did write a script for your own convienience.

#Script by myapplehome.com
#Used to automate the starting progress of mysql
#!/usr/bin/env bash

exists1=$(ls ~/Library/PreferencePanes/MySQL.prefpane 2> /dev/null)
exists2=$(ls /Library/PreferencePanes/MySQL.prefpane 2> /dev/null)
cd ~ ;
echo -n “Welcome to MySQL Fixer.Make sure [...]

Posted on April 25, 2008 at 2:57 pm

Finder menubar disappears after a mail drag.

This is a common problem seen on Tiger.While on Mail.app you have received an attachment you drag it from the Mail.app this is problem if you don’t “catch” that file correctly.Well instead of moving/copying you accidentally moved a character between the arrow and the attachment. The most secure for the client is to boot with [...]

Posted on April 25, 2008 at 2:37 pm

Synchronize that with that

As I run one of the biggest Greek Mac Communities and hosting,administering that I have to keep backups.This is a huge problem as big communities mean a lot of data. So I dug into rsync and figured that I can do it easily from my mac.
Let’s do it
Open Terminal.app
mkdir -p rbackup

cd rbackup

rsync -Ravz “username@host.com:.” [...]

Posted on April 25, 2008 at 1:08 pm

compress each file inside a directory

I used this command to upload some fonts on a webserver. It worked without problems
 for i in `ls`; do tar czvf $i.tar.gz $i; done 
For each item inside the subdirectory compress the files.
Pretty usefull when you want to compress a lot of files inside a directory.
 

Posted on April 25, 2008 at 1:00 pm

Hello World

Hello world,this is my first post.
It’s a blog among the others.It’s my personal tech diary just to remember the problems that are difficult to solve. Hope to like it.