Example code for offline Web Apps using caching in HTML5.
For Simple caching Web App, see (http://himiko.dnsalias.net/ws/cexample/index.html).
For Javascript Database Web App, see (http://himiko.dnsalias.net/ws/journal/index.html).
Posts that relates to OpenSource tools
Example code for offline Web Apps using caching in HTML5.
For Simple caching Web App, see (http://himiko.dnsalias.net/ws/cexample/index.html).
For Javascript Database Web App, see (http://himiko.dnsalias.net/ws/journal/index.html).
Here is the code on the server side to convert images into base64 such that you can save them into browser JS database for offline retrieval.
#!/usr/bin/perl use MIME::Base64 qw(encode_base64); open (FILE, "z.png"); binmode(FILE); $photobin = ""; while (read(FILE, $buf, 60*57)) { $output = encode_base64($buf); $output=~s/\n//g; $photobin = $photobin.$output; } print $photobin; close(FILE);
The CSS file i edited is located here
~/Library/PreferencePanes/Growl.prefPane/Contents/Resources/GrowlHelperApp.app/Contents/PlugIns/Plain.growlStyle/Contents/Resources
There is a file called default.css. Just change that to anything you want.