How to destroy a theme song

At the end of the Ponyo, the latest masterpiece by Hayao Miyazaki, the theme song being used in the original Japanese version of the movie was cute and memorable, and it fits the theme of the movie perfectly. The US version, on the other hand, don’t even sound like it belongs in the movie.

Ponyo Theme Song – Japanese

Here’s the original japanese version of the song:

Ponyo Theme Song – English

And here’s the US release of the song:

Ponyo – How to destroy a theme song

Here’s a comparison and a mini review of both songs by manoelpdb.

Setting Paste and Match Style as default

One of the most annoying things about Mail.app application in Leopard is its paste with formatting feature. Some might find this useful, but I ended up with emails that looked like this!

Sample Mail

That’s surely unprofessional by any standard.

There’s already a simple fix for this however. You can just press Command + Option + Shift + V. Try that. Seriously. Try and press all that 4 buttons together. I don’t think anyone would want to repeat that command stroke every single time.

In order to set “Paste and Match Sytle” as the default paste command, just complete the following instructions:

  1. Launch System Preferences.
  2. Select Keyboard & Mouse.
    System Preferences - Keyboard & Mouse
  3. Select the Keyboard Shortcuts tab. Scroll down and select All Applications.
    Keyboard Shortcuts Tab
  4. Click on the small + box at the bottom left of the window.
  5. Fill up the dialog with the following details:
    Application: All Applications (Or the name of the application)
    Menu Title: Paste and Match Style
    Keyboard Shortcut: ⌘V (Command + V)
    Paste and Match Style Dialog

There you have it. Perfectly formatted pasted information in your mail (or any other applications that comes with the feature) all the time.

Install CakePHP on ServerFreak

CakePHP

To get CakePHP to work with ServerFreak or any other hosting (e.g. IPSERVERONE, 1&1, Godaddy) that serves from a user directory that already uses mod_rewrite, all you have to do is add RewriteBase statements to the .htaccess files that CakePHP uses:

  • /.htaccess
  • /app/.htaccess
  • /app/webroot/.htaccess

Here’s how they should look like after modification.

/.htaccess

<ifmodule mod_rewrite.c>
  RewriteEngine on
  RewriteBase /
  RewriteRule ^$ app/webroot/ [L]
  RewriteRule (.*) app/webroot/$1 [L]
</ifmodule>

/app/.htaccess

<IfModule mod_rewrite.c>
  RewriteEngine on
  RewriteBase /
  RewriteRule ^$ /webroot/ [L]
  RewriteRule (.*) /webroot/$1 [L]
</IfModule>

/app/webroot/.htaccess


<IfModule mod_rewrite.c>
  RewriteEngine On
  RewriteBase /
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteRule ^(.*)$ /index.php?url=$1 [QSA,L]
</IfModule>

Once you have completed all the steps above, you should have a working CakePHP installation!

Source: 3.3.4 Apache and mod_rewrite (and .htaccess)