Programming

Accessing Photographs On Smugmug using Java

I store many of my photographs on smugmug (see http://pitonyak.smugmug.com/). They gave me a "coupon" to use that will save you $5 on your renewal (and if you use it, I save $10 on mine). The code is: Rl0h94ubYv13o

The upload client from Linux does not work well, so I am investigating accessing the website using restful web services. Step 1, obtain an account. Step 2, request a key that allows me to use the web services. Note that the key is free for the asking and they respond promptly.

GeSHi Filter for syntax highlighting

The GeSHi filter was installed so that I can provide code snippets with syntax highlighting. This is a test of that capability. Here are some samples:

First, code with lang="cpp-qt"

  1. int TestNestedExceptions::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
  2. {
  3.     _id = QObject::qt_metacall(_c, _id, _a);
  4.     if (_id < 0)
  5.         return _id;
  6.     if (_c == QMetaObject::InvokeMetaMethod) {
  7.         switch (_id) {
  8.         case 0: nestTwo(); break;
  9.         default: ;
  10.         }
  11.         _id -= 1;
  12.     }
  13.     return _id;
  14. }

Now, a BASH script.

Syndicate content