Archive for the ‘mac osx’ Category
Configuring Apache2 VirtualHost for Multiple Host Names
I kept forgetting on how to do it.
This is a reminder for myself, and hopefully can be useful for readers.
See this Drupal article!
Resources:
- http://drupal.org/node/238805
- Mac OS X hosts file is located at: /etc/hosts
- Default Apache2 vhosts file on Mac OS X is located at: /private/etc/apache2/extra/httpd-vhosts.conf
Japanese Mac vs PC Commercial 09
“Steps”
Japanese Mac vs PC Commercial 06
“Restart”
Japanese Mac vs PC Commercial 04
“Artist”
Japanese Mac vs PC Commercial 02
“Home Movie”
Japanese Mac vs PC Commercial 01
This one is talking about PC is preparing against virus and spyware.
This one is talking about PC keep being sick because of viruses and advice that Mac should also be careful.
This one is talking about how PC can also do fun stuff such as preparing pie chart.
I didn’t really get this one
PHP 5.2.4/5.2.5 on Leopard… (–with-mysql problem)
is pretty much neutered. It doesn’t have a lot of extensions that I need such as: curl, mysql (this is the big one), pdo, etc, etc…
Update: It seems like I did not went through a clean-wiped-out install when installing Leopard. Many of my old development tool directories stayed the same, but some are different. PHP happens to be one of the few that’s different.
That sucks… O well, all I have to do is rebuild PHP 5.2.4/5.2.5 from source (+ all the extensions that I want) right?
WRONG!!! Big Fat Wrong!
I cannot even do:
./configure -–with-mysql=/usr/local/mysql
After that I got this console message:
configure: error: -–with-mysql=/usr/local/mysql: invalid option; use –help to show usage
Huh? Why? WTF?
There are plenty of people complaining about the exact same problem, but no one seemed to have the answers.
Can anyone help me? Can anyone points me to the working PHP 5.2.4/5.2.5 source?
Please…
OS X Leopard: Dock…
is driving me crazy.
It was perfect on Tiger, why change it into some faux 3D translucent table?
I thought minimalist style is the dogma on OS X styling.
But anyway, these are reasons why I hate the “new” Dock:
- When magnification is “on”, the Dock becomes ridiculously crowded and noisy. Even when being busy programming, I cannot help but to notice how horrendous the Dock is.
- What’s the point on having reflection on the icon? It’s not like the shadow is accurate.
Anyway, this is how you can make the Dock “2D”:
prompt> defaults write com.apple.dock no-glass -boolean YES
prompt> killall Dock
Review on Mac OS X Leopard
After using it for couple of days, I think it’s time to give the new OS its review. The list will grow as I use it more and more.
Changes that not necessarily useful but nice anyway:
- Finally! Unified GUI… iTunes, Finder, & Safari no longer look alien to each other.
Features I find useful:
- Stacks cut down amount of clicks I have to do while navigating Finder. It is very well executed.
- Quick look is very useful, especially for reading comic book online.
- Leopard’s Spotlight is definitely faster.
- Most Leopard early adopters don’t like the new menubar, especially because of the transparency. But I LOVE transparency, all of Leopard’s transparency feature is done well IMO.
Features I find lacking:
- The iTunes-esque cover flow felt somewhat unnatural and useless. It is not big enough to replace document preview and definitely not as useful as quick look.
I got Leopard (OS X) installed!!!!!
and then MySQL is broken… Damn…
There are quite a number of people giving suggestions on how to deal with this problem.
It turns out to be just permission problem. Below is what I did:
Fri Nov 09–at[~]–do–>sudo chown -R {my_username} /usr/local/mysql/data
Done.
Now I can start and stop MySQL via Preference Pane as usual.
Hopefully this help some readers who want to upgrade to OS X Leopard.