Monday, June 18, 2012

Have ALC887 work on Lion 10.7.4

Follow the instructions on https://tonymacx86.com/viewtopic.php?f=16&t=59061 for installing 887_v100302

Using my NAS with Final Cut Pro X

  1. Create a local disk image with Disk utility, whatever the size
  2. Unmount it
  3. Move it to a given directory on the NAS
  4. Resize it to the size you want to give it
  5. Mount it

Tuesday, June 12, 2012

Sending POST with cURL

curl -d "param1=value1&param2=value2" http://example.com/resource.cgi

Wednesday, June 6, 2012

NO DATA FOUND error

Trap the NO_DATA_FOUND exception, and handle it.
BEGIN 
    SELECT ... INTO   x_data
    FROM   ...
    WHERE  ...;
EXCEPTION
    WHEN NO_DATA_FOUND THEN
        x_data := NULL;
END;

Monday, June 4, 2012

Get time elapsed of an SQL query

In SQL plus, use:
SQL> set timing on;