The old DelphiDabbler site had two web applications that displayed code snippets from two different sources:
The DelphiDabbler Code Snippets "Database" of compilable Delphi Pascal snippets.
The old SWAG (SourceWare Archive Group) collection of source code and programming examples.
Both web apps depended on web services provided by the old web server and were lost when that server closed down. It would be a big job to recover and convert the apps.
All is not lost. I have created a couple of Git repositories GitHub to hold the snippet collections. They are:
This repository contains all the snippets in the Code Snippets Database along with meta data stored in .ini files. The database is in the `csdb` directory off the repository root.
This repository contains all the "packets" (a SWAG term for a snippet) in the collection along with an XML file containing meta data.
Both collections are comprehensively documented.
The Code Snippets Database can be displayed by my CodeSnip program. It can also import SWAG packages. In fact CodeSnip's SWAG import wizard contains a pretty reasonable SWAG viewer!
There are some unit tests available for a few of the snippets in the Code Snippets database. They can be downloaded from my GoogleDrive account as CodeSnippetsUnitTests.zip.