C(和C)SNIPPETS图书馆在哪里去?

前端之家收集整理的这篇文章主要介绍了C(和C)SNIPPETS图书馆在哪里去?前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
有一次,有这个令人敬畏的SNIPPETS C(和C)代码库.我从1995年开始使用它,但是它的起源比较旧,而且是 it was updated until at least 2007.我发现我不时需要一个不是图书馆的代码,但是我可以剪切并粘贴到我自己的项目中.

对我的恐惧,现在已经走了.有一些痕迹,例如dead links.@H_502_3@

有人可以找到我一面镜子,还是一个档案?我在硬盘上有一个早期版本多年,但没有了.@H_502_3@

解决方法

TL; DR

Full github mirror of the code(编辑指向github网站,由于第一镜死亡.)@H_502_3@

由于您的ServerFault问题脱离了主题,我以为我会在这里发布;@H_502_3@

*戴上侦探帽*@H_502_3@

那么DNSHistory.org reports the domain snippets.org用来指向’206.251.38.37’直到2011-04-02(域名什么时候去)?@H_502_3@

使用CURL将“主机”头发送到该服务器;@H_502_3@

[samr@ocelot~]$curl -I -H "Host:snippets.org" http://206.251.38.37/
HTTP/1.1 200 OK
Date: Thu,24 Nov 2011 15:12:16 GMT
Server: Apache/2.2.9 (Debian) PHP/4.4.4-8+etch6 mod_ssl/2.2.9 OpenSSL/0.9.8g
X-Powered-By: PHP/4.4.4-8+etch6
Content-Type: text/html

给我们一个回应.下一步,该页面是什么样的?@H_502_3@

只需要获取HTML并在lynx中打开它;@H_502_3@

[samr@ocelot~]$curl -H "Host:snippets.org" http://206.251.38.37/ > snippets.org.html
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 10319    0 10319    0     0  29500      0 --:--:-- --:--:-- --:--:-- 52583
[samr@ocelot~]$lynx snippets.org.html

给予美好的回应@H_502_3@

SNIPPETS sponsors [MicroFirm.gif] Firmware,system,and sensors
development [Sponsor.jpg] Click here to learn more [dmlogo.gif]
“Free C/C++ Compilers” [188x44_bss14.jpg] “High-Performance Version
Control” @H_502_3@


06002@H_502_3@

Mission:@H_502_3@

SNIPPETS.ORG is dedicated to providing free informational and
educational resources on the World Wide Web. Currently,the two
principle topics are programming and do-it-yourself (DIY) audio.
The fields covered by SNIPPETS.ORG are generally technology and arts.
As soon as enough free material is collected,new sections will be
added related to photography and digital imaging.@H_502_3@

The one common factor in everything you’ll find on this site is
that it’s all free. Programming source code is free. Tools and
utilities are free. And,of course,information is always free.
While SNIPPETS.ORG provides many links to commercial sites,it is a
not-for-profit operation – nothing here is for sale! If you wish
to contribute content,information,or entire web sites to
SNIPPETS.ORG,please contact me.
[snip]@H_502_3@

所以为了回答你的问题,域名用来指向’206.251.38.37′,网站(似乎)仍然存在.@H_502_3@

下一件事镜像. wget工具提供了一个–mirror标志来递归地将一个网站下载到一个目录,这看起来就像我们以前所说的那样.@H_502_3@

开始在我的家庭服务器上创建一个镜像,但这是我正在使用的命令;@H_502_3@

wget --header="Host:snippets.org" --mirror -p --convert-links -P ./snippets.org/ http://206.251.38.37/

然后我从代码目录中提取文件并将其上传到我的镜像站点http://mirror.rmg.io/snippets.org/@H_502_3@

embedded.snippets.org报告为“维修”,所以不能被考虑.@H_502_3@

原文链接:https://www.f2er.com/c/115718.html

猜你在找的C&C++相关文章