Quick one. We've all done it, written something (fantastic or not) clicked submit, and get a timeout page and we've lost all of the text we've just written.
Then you start poking around with "Form Values" find it's encrypted and cry.
Well, you can get it back - if you've got developer tools installed and you've not shutdown Safari.
You need gcore from http://osxbook.com/book/bonus/chapter8/core/download/gcore-1.3.tar.gz
Compile it (extract and type make):
Find Safaris PID:
% ps auwwx | grep Safari
dom 72861 5.3 5.6 1152436 234072 ?? S Mon08PM 52:39.08 /Applications/Safari.app/Contents/MacOS/Safari -psn_0_5104862
Run it:
% sudo ./gcore -c core 72861
Realise you're running Safari in 32 bit mode, curse:
% gcc -m32 gcore.c
% sudo ./a.out -c core 72861
Create some debris:
% strings - core > str
Look for it and do whatever you like:
% less str
The core file probably has a whole bunch of sensitive information in it in an unencrypted format, I'd remove it PDQ after the recovery if I were you.