上一页 1 ··· 32 33 34 35 36 37 38 39 40 ··· 74 下一页
  2016年11月11日
摘要: 原来我一直用的是Camel标记法……收藏学习了。 */ Camel标记法采用首字母小写,接下来的单词都以大写字母开头的方法,如myName。 Pastal标记法采用首字母大写,接下来的单词都以大写字母开头的方法,如MyName。 匈牙利标记法是在Pastal标记法的基础上,变量名前面加上一个小写字母 阅读全文
posted @ 2016-11-11 08:44 莫水千流 阅读(1050) 评论(1) 推荐(0)
  2016年11月10日
摘要: https://ubuntuforums.org/showthread.php?t=1772894 Hi, I faced the same problem when I tried to recover my Ubuntu password following the tutorial on: h 阅读全文
posted @ 2016-11-10 10:11 莫水千流 阅读(283) 评论(0) 推荐(0)
摘要: 1.作用Linux系统中grep命令是一种强大的文本搜索工具,它能使用正则表达式搜索文本,并把匹 配的行打印出来。grep全称是Global Regular Expression Print,表示全局正则表达式版本,它的使用权限是所有用户。 2.格式grep [options] 3.主要参数[opt 阅读全文
posted @ 2016-11-10 10:05 莫水千流 阅读(1021) 评论(0) 推荐(0)
摘要: 生成字符串变量str='python String function' 字符串长度获取:len(str)例:print '%s length=%d' % (str,len(str))连接字符串sStr1 = 'strcat'sStr2 = 'append'sStr1 += sStr2print sS 阅读全文
posted @ 2016-11-10 09:16 莫水千流 阅读(633) 评论(0) 推荐(0)
  2016年11月9日
摘要: 一、古代中国(从先秦到1840): 春秋战国时期:公元前770年-公元前221年 1:天行健,君子以自强不息。———《易经》 http://www.crifan.com/category/life/personal_recommendation/ 阅读全文
posted @ 2016-11-09 15:24 莫水千流 阅读(263) 评论(0) 推荐(0)
  2016年11月7日
摘要: 在开发过程中,当一个Linux程序异常退出时,我们可以通过core文件来分析它异常的详细原因。缺省情况下,Linux在程序异常时不产生core文件,要想让程序异常退出时产生core dump文件,需要使用ulimit命令更改coredump的设置: 上面的命令表示在程序异常时产生core dump文 阅读全文
posted @ 2016-11-07 11:23 莫水千流 阅读(2497) 评论(0) 推荐(0)
摘要: C 程序在进行中发生segment fault(core dump)错误,通常与内存操作不当有关,主要有以下几种情况: (1)数组越界。 (2)修改了只读内存。 (3)scanf("%d",n),n不是指针。 …… 1. 前言: 有的程序可以通过编译, 但在运行时会出现Segment fault(段 阅读全文
posted @ 2016-11-07 11:22 莫水千流 阅读(1181) 评论(0) 推荐(0)
摘要: 源自:http://andyniu.iteye.com/blog/1965571 core dump的概念: A core dump is the recorded state of the working memory of a computer program at a specific tim 阅读全文
posted @ 2016-11-07 11:21 莫水千流 阅读(13113) 评论(0) 推荐(0)
  2016年11月6日
摘要: : CON, PRN, AUX, NUL, COM1, COM2, COM3, COM4, COM5, COM6, COM7,COM8, COM9, LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, LPT7, LPT8, and LPT9. ISO 3166-1 alpha 阅读全文
posted @ 2016-11-06 10:11 莫水千流 阅读(148) 评论(0) 推荐(0)
  2016年11月3日
摘要: Canonical刚刚正式发布了Ubuntu 16.04 LTS (Xenial Xerus),这是一个长期支持版本,官方会提供长达5年的技术支持(包括常规更新/Bug修复/安全升级),一直到2021年4月份,而且后续会按惯例发布16.04.1、16.04.2、16.04.3等升级版本。 Ubunt 阅读全文
posted @ 2016-11-03 17:25 莫水千流 阅读(645) 评论(0) 推荐(0)
上一页 1 ··· 32 33 34 35 36 37 38 39 40 ··· 74 下一页