码迷,mamicode.com
首页 > 2014年10月13日 > 全部分享
Perl内置特殊变量
一、正则表达式特殊变量: 1、$n?  :包含上次模式匹配的第n个子串 2、$&   :前一次成功模式匹配的字符串 3、$`  ?:前次匹配成功的子串之前的内容 4、$’   :前次匹配成功的子串之后的内容 5、$+  :前...
分类:其他好文   时间:2014-10-13 12:25:19    阅读次数:187
tcp状态介绍和解释
转眼间,从事服务器后台开发,已经快三年了,最近想多总结些东西,先从最基本的开始写起吧!在公司经历了两个框架的开发和重构,其中一个点,就是把服务器内部通信的机制,从UDP转为TCP。先讲下TCP的基本应用,还有其中的各个状态的情况。以下的TCP的状态流程图:tcp建立连接,..
分类:其他好文   时间:2014-10-13 12:58:10    阅读次数:231
mysql主从复制
规划:主服务器:192.168.1.254从服户端:192.168.1.215系统环境:操作系统CentOS6.4_x64mysqlmysql-server-5.1.73-3.el6_5.x86_64一、配置主服务端1.编辑配置文件 vim/etc/my.cnf [mysqld] innodb_file_per_table=1 log_bin=master-bin log_bin_index=master-bin.index server..
分类:数据库   时间:2014-10-13 12:24:30    阅读次数:274
linux访问windows共享
假设windows机器上有个共享文件夹"share",ip地址为xxxx,用户名:administrator,密码:0000则在linux上访问"share"文件夹为:格式一:mount-tcifs-ousername=administrator,password=0000//xxxx/share/home/win_share格式二:mount-tcifs//xxxx/share/home/win_share-ousername=..
分类:Windows程序   时间:2014-10-13 11:51:00    阅读次数:209
struts2-初识
一、创建strutsweb工程工程名称:struts2101301二、在工程中添加struts2支持commons-fileupload-1.3.jarcommons-io-2.0.1.jarcommons-lang3-3.1.jarfreemarker-2.3.19.jarjavassist-3.11.0.GA.jarognl-3.0.6.jarstruts2-core-2.3.15.1.jarxwork-core-2.3.15.1.jar三、添加strut..
分类:其他好文   时间:2014-10-13 12:24:00    阅读次数:126
FIRST_MFC
Hello.hclassCHelloApp:publicCWinApp{public:virtualBOOLInitInstance();};classCMainFrame:publicCFrameWnd{public:CMainFrame();CRectm_rectBubble[50];intm_nBubbleCount;public:voidDrawEllipse(CRectrect);protected:afx_msgvoidOnPaint();afx_msgvoidOnLButtonDown(UINT..
分类:编程语言   时间:2014-10-13 11:50:20    阅读次数:172
GET标签实现首页调用全站热门文章
今天用PHPCMS做一项目时,需要实现在首页调用全站文章的需求,但是PHPCMS没有现成的标签可以拿来用,看了下默认的首页模板,有这么一段代码:{pc:contentaction="hits"catid="6"num="10"order="viewsDESC"}{loop$data$r}<li><ahref="{$r[url]}"target="_blank">{$r..
分类:其他好文   时间:2014-10-13 12:06:29    阅读次数:157
php中 重载(一)
有关php中重载与java中重载的异同点,更加深入的理解php中的面对象中的重载,掌握更好的编程技巧!...
分类:Web程序   时间:2014-10-13 13:12:30    阅读次数:155
hdu1226 搜索水题
水搜索...
分类:其他好文   时间:2014-10-13 12:22:19    阅读次数:146
2014牡丹江区域赛D(概率DP)ZOJ3822
Domination Time Limit: 8 Seconds      Memory Limit: 131072 KB      Special Judge Edward is the headmaster of Marjar University. He is enthusiastic about chess and often plays chess with his frie...
分类:其他好文   时间:2014-10-13 11:48:39    阅读次数:127
【Android 初学】12、Service
Android 初学 之 Service...
分类:移动开发   时间:2014-10-13 13:11:49    阅读次数:162
2014牡丹江区域赛H(字典树)ZOJ3826
Hierarchical Notation Time Limit: 2 Seconds      Memory Limit: 131072 KB In Marjar University, students in College of Computer Science will learn EON (Edward Object Notation), which is a hierarc...
分类:其他好文   时间:2014-10-13 11:31:39    阅读次数:162
2014牡丹江区域赛K(贪心)ZOJ3829
Known Notation Time Limit: 2 Seconds      Memory Limit: 131072 KB Do you know reverse Polish notation (RPN)? It is a known notation in the area of mathematics and computer science. It is also kn...
分类:其他好文   时间:2014-10-13 12:54:49    阅读次数:152
2014牡丹江区域赛B(树的直径)ZOJ3820
Building Fire Stations Time Limit: 5 Seconds      Memory Limit: 131072 KB      Special Judge Marjar University is a beautiful and peaceful place. There are N buildings and N - 1 bidirectional ro...
分类:其他好文   时间:2014-10-13 12:21:25    阅读次数:123
Dancing Links 学习 AND 代码详解
今天花时间学习了下Dancing Links,其核心思想是降低在搜索中的范围,减少复杂。降低的方法就是将用链式结构构造的图中不需要的点去掉。如果回溯再恢复。 这个方法依赖的数据结构是用数组存储的十字链表L[NN],R[NN],U[NN],D[NN] 左右上下的链接 构造数据结构: head,cnt,L[NN],R[NN],U[NN],D[NN],H[NN],COL[NN],S[NN]...
分类:其他好文   时间:2014-10-13 11:47:49    阅读次数:204
iOS网络状态检查,网络连接中所用到的类
网络状态连接...
分类:移动开发   时间:2014-10-13 11:30:59    阅读次数:183
IR中python 写倒排索引与查询处理
学习信息检索课程,老师让写一个倒排索引与查询处理的程序,于是抱着试试的心态自学python写了出来。 整个没有什么太大的算法技巧,唯一的就是查询处理那里递归函数正反两次反复查找需要多调试下。 数据结构: #-*-coding:utf-8-*- #!/usr/bin/python ''' 数据结构 建立索引 mydir 文档列表 onedoc 每一个文档 mydoc 当前查询的文档...
分类:编程语言   时间:2014-10-13 11:30:49    阅读次数:430
1956条   上一页 1 ... 88 89 90 91 92 93 94 ... 116 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!