Once, there was this awesome SNIPPETS library of C (and C++) code. I used it from 1995 on, but its origin is much older and it was updated until at least 2007. From time to time, I found that I needed a piece of code not from a library, but something I could cut and paste into my own projects.
To my horror, it’s now gone. There are traces of it, dead links on SO for instance.
Can anybody find me a mirror, or an archive of it? I had an early version on my harddrive for years, but not any more.
TL;DR
Full github mirror of the code (Edited to point to github site, since first mirror died.)
Since your ServerFault question was off topic, I thought I’d post this here;
*puts on detective hat*
Well DNSHistory.org reports the domain snippets.org used to point to ‘206.251.38.37’ up till 2011-04-02 (When did the domain go?)
Using CURL to send the ‘host’ header to that server;
gives us a response. Next step, what does that page look like?
Well just getting the HTML and opening it in lynx;
Gives the wonderful response of;
So to answer your question, the domain used to point to ‘206.251.38.37’, and the site (appears to) still exist.
Next thing; mirroring. The
wgettool provides a--mirrorflag to recursively download a website to a directory, which looks to be just what we’re after.Started creating a mirror on my home server, but here’s the command I’m using;
Then I extracted the files from the code directories and uploaded them to my mirror site http://mirror.rmg.io/snippets.org/embedded.snippets.org reports as ‘down for maintenance’ so couldn’t be spidered.