码迷,mamicode.com
首页 >  
搜索关键字:line    ( 28191个结果
如何注册ocx文件
32位系统: 将文件放到c:\windows\system目录注册 运行:Regsvr32 c:\windows\system\xxx.ocx取消注册运行:Regsvr32.exe /u c:\windows\system\xxx.ocx 64位系统注册32位文件: 将文件放到c:\windows\...
分类:其他好文   时间:2014-06-29 06:08:08    阅读次数:170
C++ map插入(insert)数据返回值
例子: typedef boost::unordered_map UserOnlineMap; UserOnlineMap userOnlineMap_; std::pair res = userOnlineMap_insert(std::make_pair(xxx, xxx)); if...
分类:编程语言   时间:2014-06-29 00:54:17    阅读次数:717
git diff old mode 100755 new mode 100644
755 vs 644在linux下载了Qt的软件仓库,拷贝了一份到windows下。在 msysgit 下,发现所有的文件都被修改了。用 git diff 查看,发现是:$ git diff util/webkit/mkdist-webkitdiff --git a/util/webkit/mkdi...
分类:其他好文   时间:2014-06-29 00:40:32    阅读次数:678
linux上的常用的系统自带命令
wikipedia 发现的分类,发现还有好多没用过。。Unixcommand-line interfaceprograms andshell builtinsFile systemcatcdchmodchownchgrpcksumcmpcpdddudffilefsckfuserlnlsmkdirm....
分类:系统相关   时间:2014-06-29 00:19:07    阅读次数:377
在Windows下安装多个版本的Python
我們先假設使用者,已經在 python 官方網站下載各版本的 Windows Installer 並安裝在預設路徑下:python 2.6:C:\Python26python 2.7:C:\Python27python 3.2:C:\Python32我們希望在 command line 輸入 pyt...
分类:编程语言   时间:2014-06-28 23:47:33    阅读次数:253
[Head First Python]4. summary
1- strip()方法可以从字符串去除不想要的空白符(role, line_spoken) = each_line.split(":", 1)line_spoken = line_spoken.strip()2- print() BIF的file参数控制将数据发送/保存到哪里print(...) ...
分类:编程语言   时间:2014-06-28 23:07:59    阅读次数:318
Leetcode Reverse Words in a String
Given an input string, reverse the string word by word.For example,Given s = "the sky is blue",return "blue is sky the".此题要注意的几个情况是:(1)输入字符串可能含有前缀0和后缀...
分类:其他好文   时间:2014-06-28 22:51:26    阅读次数:261
[人生]悲惨之枯萎的超自然怪异全栈工程师
好吧,纯吐槽向。嗯,身为一名怪异的全栈工程师(伪),从开始写方案到后台的DB、Server到前台的UI,JS全都搞一遍还属正常;既然要发布,自己管管IIS、Sql Server也算说得过去;既然平台都管了,那操作系统每日的更新、巡检也是能理解的;所以群集的管理不上肿么行?也弄吧;所以硬件防火墙也能吃...
分类:其他好文   时间:2014-06-28 22:22:02    阅读次数:205
URL去重
import socketdictlist ={};def ReadHost(): hosts = []; obn = open('d:/sss.txt', 'rb'); for line in obn: #sometime you should filter \r\...
分类:其他好文   时间:2014-06-28 21:53:30    阅读次数:234
Leetcode Max Points on a Line
Givennpoints on a 2D plane, find the maximum number of points that lie on the same straight line.此题是求直线上点最多的点数,根据两点构成一条直线,在同一条直线上,任意两点之间的斜率都相同,故需要对每个点...
分类:其他好文   时间:2014-06-28 20:59:44    阅读次数:132
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!