持之以恒

导航

2021年9月27日 #

pytorh API

摘要: https://pytorch.org/docs/master/jit.html https://pytorch.org/tutorials/ torch.cat python In [8]: import torch ...: A=torch.ones(2,3) #2x3的张量(矩阵) ...: 阅读全文

posted @ 2021-09-27 22:21 beilei 阅读(25) 评论(0) 推荐(0) 编辑

2015年2月2日 #

python基础教程

摘要: 转自:http://www.cnblogs.com/vamei/archive/2012/09/13/2682778.htmlPython快速教程作者:Vamei 出处:http://www.cnblogs.com/vamei 欢迎转载,也请保留这段声明。谢谢!怎么能快速地掌握Python?这是和朋... 阅读全文

posted @ 2015-02-02 21:52 beilei 阅读(194) 评论(0) 推荐(0) 编辑

2014年2月8日 #

DBI && MySQL lock

摘要: DBI: urlset isolation to dirty readmy$npmdb_dbh=DBI->connect("DBI:ODBC:npmdb","informix","*******",{RaiseError=>0,PrintError=>0});my$gisdb_dbh=DBI->connect("DBI:Oracle:gisdb","gis","*******",{RaiseError=>1,AutoCommit=>0}); 阅读全文

posted @ 2014-02-08 22:39 beilei 阅读(193) 评论(0) 推荐(0) 编辑

2014年2月6日 #

php学习网址

摘要: 后面会陆续维护此页。1.php编程此博客是网站www.beilei123.cn镜像,转载请注明出处。 阅读全文

posted @ 2014-02-06 23:20 beilei 阅读(75) 评论(0) 推荐(0) 编辑

css样式表中四种属性选择器

摘要: 学习此连接的总结http://developer.51cto.com/art/201009/226158.htmcss样式表中四种属性选择器1> 简易属性 tag[class]{ font-weight:bold } It will affect all tag with any class. e.g. or 2>精确属性值 a[href="http://www.beilei123.cn"][title="textTitle"]{font-size:10%} It will affect 3>部分属性值 类似使用perl中得... 阅读全文

posted @ 2014-02-06 23:07 beilei 阅读(400) 评论(0) 推荐(0) 编辑

2014年1月23日 #

perl install module && normal module

摘要: Windows:perl -MCPAN -e shellinstall XML::GDOME Archive::Zip后面继续更新。。。Archive usage:$obj = Archive::Zip->new();$obj->addFile($file);$obj->writeToFileNamed("dummy.zip");if( $obj->writeToFileNamed() != AZ_OK) { exception } 阅读全文

posted @ 2014-01-23 21:42 beilei 阅读(246) 评论(0) 推荐(0) 编辑

2014年1月22日 #

设计模式

摘要: 设计模式网址 阅读全文

posted @ 2014-01-22 22:20 beilei 阅读(118) 评论(0) 推荐(0) 编辑

grep 和 perl多个条件匹配

摘要: grep和perl多个条件匹配使用‘|’作为分割符号grep -E 'abc|def'perl if(/abc|def/) 阅读全文

posted @ 2014-01-22 22:05 beilei 阅读(860) 评论(0) 推荐(0) 编辑

vc++ internet

摘要: 1.用VC开发ActiveX文档服务器 MFC 4.2不支持开发ActiveX容器,但支持ActiveX服务器。只要在使用MFC AppWizard生成应用程序框架时选择支持Active Document,就可以生成标准的ActiveX文档服务器。运行此应用程序时,该文档对象将自动注册。要测试这个ActiveX文档,则可以运行任何一个ActiveX文档容器,如Microsoft Binder、Microsoft Word等,再插入此对象。 2.VC的ActiveX服务器框架 (1)ISAPI(Internet Server API) ISAPI过滤器提供了扩展支持Web服务器的简单而有... 阅读全文

posted @ 2014-01-22 20:22 beilei 阅读(228) 评论(0) 推荐(0) 编辑

2014年1月20日 #

Cookie/Session机制详解

摘要: 转自:http://blog.csdn.net/fangaoxin/article/details/6952954会话(Session)跟踪是Web程序中常用的技术,用来跟踪用户的整个会话。常用的会话跟踪技术是Cookie与Session。Cookie通过在客户端记录信息确定用户身份,Session通过在服务器端记录信息确定用户身份。本章将系统地讲述Cookie与Session机制,并比较说明什么时候不能用Cookie,什么时候不能用Session。1.1 Cookie机制在程序中,会话跟踪是很重要的事情。理论上,一个用户的所有请求操作都应该属于同一个会话,而另一个用户的所有请求操作则应该属于 阅读全文

posted @ 2014-01-20 23:40 beilei 阅读(124) 评论(0) 推荐(0) 编辑