defncopy is possibly the best way to retrieve a script of any Sybase database objects if you do not have access to a decent database development tools such as Aqua Data Studio
This utility comes with Sybase distribution. Here is its usage:
Do not implement a default case in switch statements that handle enumerated types. This helps if you add to the enumeration, because the compiler will warn that the switch does not handle all the values.
I wanted to convert my old blogs on Blogger to markdown files in Github Pages. I went to the Blogger settings and exported my blog. The result was a xml file. The xml file from Google is not easy to parse. As far as I know there is no documentation on the structure of the xml file.
After some trial and error, I have come up with this script that can parse the xml file and emit the contents in a set of markdown files: