学了到了好些东西, 做了一些练习。 一、C# winform Socket 1、程序主要部分只是用了 Panel、Picturebox、Label、RicheditBox四个组件,滚动条、编辑框什么的都自定义了,应该比较容易看清楚。2、服务端设定地址为192.168.0.103,端口设定为5188, ...
内容来源于人民邮电出版社《Linux命令应用大词典》讲述729个命令,1935个例子学习Linux系统的参考书、案头书,遇到不懂的命令或命令选项一查即可争取每天都发布内容本文出自“airfish2000”博客,更多命令查看博客:http://airfish2000.blog.51cto.com/10829608/1894368vmstat..
分类:
系统相关 时间:
2017-01-29 14:44:59
阅读次数:
283
关于 collectionView的layout布局方法: 设置cell的间距,行间距,组与组之间的间距,都是在layout里面来设置. 包括,滚动方向. -(void)prepareLayout [super prepareLayout] //最小行间距 self.minimumLineSpaci ...
分类:
其他好文 时间:
2017-01-26 13:18:36
阅读次数:
211
方法1:Time Complexity O(NK) 暂时只有两个Heap的做法,缺点:In this problem, it is necessary to be able remove elements that are not necessarily at the top of the heap ...
The following is a guest post by Garris Shipon . We've touched on the four types of CSS testing here before. Regression testing is the hardest. It's t ...
分类:
Web程序 时间:
2017-01-23 22:48:24
阅读次数:
390
iostat是I/O statistics(输入/输出统计)的缩写,iostat工具将对系统的磁盘操作活动进行监视。它的特点是汇报磁盘活动统计情况,同时也会汇报出 CPU使用情况。同vmstat一样,iostat也有一个弱点,就是它不能对某个进程进行深入分析,仅对系统的整体情况进行分析。 iosta ...
分类:
移动开发 时间:
2017-01-20 19:15:52
阅读次数:
518
1.top 2.sar http://blog.csdn.net/hguisu/article/details/7493661 很重要 http://blog.itpub.net/24435147/viewspace-694224/ 要判断系统瓶颈问题,有时需几个 sar 命令选项结合起来 怀疑CP ...
分类:
系统相关 时间:
2017-01-19 22:48:18
阅读次数:
286
1.VirtualMemoryvm.swappiness=1#apercentageofhowlikelytheVMsubsystemistouseswapspacevm.dirty_background_ratio=5#Thevalueisapercentageofthetotalamountofsystemmemoryvm.dirty_ratio=60~80#apercentageoftotalsystemmemory调整依据#cat/proc/vmstat|egrep"dirty|writeba..
分类:
系统相关 时间:
2017-01-18 23:33:04
阅读次数:
224
高级C#信使 作者:Ilya Suzdalnitski 译自:http://wiki.unity3d.com/index.php/Advanced_CSharp_Messenger 描述 前言 MissingReferenceException的原因和解决方案 信使 用法 事件监听器 注册事件监听器 ...
分类:
编程语言 时间:
2017-01-17 21:35:35
阅读次数:
324
1 查看swap 空间大小(总计): # free -m 默认单位为k, -m 单位为M total used free shared buffers cached Mem: 377 180 197 0 19 110 -/+ buffers/cache: 50 327 Swap: 572 0 572 ...
分类:
其他好文 时间:
2017-01-17 18:30:32
阅读次数:
158