Weblogic JSP precompile on deploy

Add this to weblogic.xml:

    <wls:jsp-descriptor>
      <wls:precompile>true</wls:precompile>
        <wls:precompile-continue>true</wls:precompile-continue>
    </wls:jsp-descriptor>

Creating Atari ST disks from disk image files on Linux

Steps taken from article here.

Check disk geometry of disk image file – copy this to a .sh file and run it against a .st disk image:

#!/bin/sh od -v -Ad -t u1 -w1 $1 | awk 'NR==20 {sl=$2} NR==21 {sh=$2}
 NR==25 {spt=$2} NR==27 {s=$2; 
print "Sides: " s " Sectors: " spt " Tracks: " (sh * 256 + sl) / spt / s; exit}'

Format a 720k floppy using the sector and cylinder numbers from the prior step:

superformat /dev/fd0 dd ds sect=10 cyl=80

Copy the image to the disk:

cp image.st /dev/fd0

MySQL install on Mac OS X

I haven’t used my MySQL install on Mac OS X for a while and I’d forgotten where it was located  🙂

By default, it gets installed to /usr/local/mysql-versionnumber, with a symlink /usr/local/mysql pointing to this dir.