Rudimentary Art of Programming & Development

Promoting Open Source, Always…

Archive for the ‘mac osx’ Category

Configuring Apache2 VirtualHost for Multiple Host Names

without comments

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

Written by didip

June 9, 2008 at 4:08 pm

Posted in apache2, mac os x, mac osx, macintosh, os x, osx

Tagged with , , ,

Japanese Mac vs PC Commercial 09

without comments

“Steps”

Written by didip

January 2, 2008 at 3:39 pm

Japanese Mac vs PC Commercial 06

without comments

“Restart”

Written by didip

December 19, 2007 at 8:31 pm

Posted in Video, humor, mac osx, macintosh, os x

Japanese Mac vs PC Commercial 04

with one comment

“Artist”

Written by didip

December 10, 2007 at 9:56 am

Posted in Video, humor, mac osx, macintosh, os x

Japanese Mac vs PC Commercial 02

without comments

“Home Movie”

Written by didip

December 3, 2007 at 11:40 pm

Japanese Mac vs PC Commercial 01

without comments

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

Written by didip

December 1, 2007 at 3:07 pm

PHP 5.2.4/5.2.5 on Leopard… (–with-mysql problem)

with 5 comments

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…

Written by didip

November 26, 2007 at 11:30 pm

OS X Leopard: Dock…

without comments

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

Written by didip

November 12, 2007 at 12:52 am

Review on Mac OS X Leopard

without comments

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.

Written by didip

November 9, 2007 at 10:09 pm

I got Leopard (OS X) installed!!!!!

without comments

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.

Written by didip

November 9, 2007 at 3:47 pm