Tag Archive for 'bookmarks'

Building PHP with MySQL–bug!

What kind of bug is this? When trying to build PHP on Linux using the option --with-mysql=/usr, I kept getting an error during make. Specifically, this was:

ext/mysql/php_mysql.c:1158: undefined reference to 'mysql_create_db' ext/mysql/php_mysql.c:1200: undefined reference to 'mysql_drop_db'

It appears that if you touch ext/mysql/php_mysql.c, updating the file’s modification time, the problems magically disappear. Crazy, huh? It must be forcing make to recompile this file. Silly? Very. But it works.

Read.

Cool CSS demos

Here are some awesome CSS sites.

  • The CSS Zen Garden showcases many different designs accomplished purely with CSS.
  • Stu Nicholls’ CSS playground uses creative techniques to accomplish amazing things.
  • css/edge demonstrates some bleeding-edge CSS effects.

Playing Super Mario Bros. on piano

I’m going to try and learn to play Super Mario Bros. on the piano! Look at this guy, for example, playing it blindfolded! I found the sheet music, so I better start practicing! :-)

Real Life Mario Question Blocks

What would you if you saw a pair of Mario question blocks hanging from a tree? Take it down of course, and open it up to find huge pixellated cardboard cutouts of 1-up mushrooms, coins, and fire flowers!

This site shows you how to make these awesome blocks. Funny, huh?