April 2009 Archives

Denora stats is a IRC statistical program that basically acts like a bridge between the IRC server and MySQL. If you have installed mysql using Mac Ports you probably need to add:

 --with-mysqlclient-include=/opt/local/include/mysql5/mysql/


To your ./configure statement..
Sometimes you feel the need to have custom fonts in HTML and you feel like SIFR is the way to go. However, your happy feelins are battered because of your SIFR plugin line breaks at the wrong place. Often it's the last word that doesn't fit.

This problem occurs because SIFR measures the HTML width of the text. Depending on your custom font it's most likely less then your flash needs to be. You can solve this by adding:

letter-spacing: 100%;

or depending on your font:

letter-spacing: 30px;

To your CSS. It doesn't effect your none-sifr layout (if js is turned off) but it solves the sifr issue.

Source

For a multimedia project one of our clients at Happyplace wanted to burn a CD with:

  1. Audiotrack for stereos/car players
  2. PC Data with a flash projector which autostarts
  3. Mac data with a finder window that auto opens
This post is a reminder to myself how I did it. I am using Toast.

  1. Collect all PC data, add the autostart.inf and all that.
  2. Collect all Mac data and store it in a .dmg (more on this later)
  3. Burn the audio CD, make sure you use "write session" and not "write disc"
  4. In Toast -> Preferences -> Show legacy formats and settings
  5. Burn a custom Hybrid with the PC data and the mac .dmg
Collecting Mac data:
  1. Using the disc utility, create a new disc with a size that fit your needs (I used 100MB)
  2. Add all the data you need
  3. Set the finder background and size as you want, originize the icon you wish to show (I only show the .app file)
  4. Close and re-open the finder window to save you settings
  5. (You need to have Xtools installed for this) run the terminal command "/Developer/Tools/SetFile -a V /Volumes/Mounted Disc/file" to hide the file "file" on "Mounted Disc". This will make the file invisible
  6. To make the finder window autoopen, use: udo bless -folder /Volumes/Mounted \Disc/ -openfolder /Volumes/Mounted \Disc/
  7. That's it. Cool!
That should do the trick. You now have a CD that plays audio files in steroes and autostarts on PC and Mac with the appropriate files.

About this Archive

This page is an archive of entries from April 2009 listed from newest to oldest.

March 2009 is the previous archive.

May 2009 is the next archive.

Find recent content on the main index or look in the archives to find all content.

Powered by Movable Type 4.21-en