? Apache服务器:安装Apache:sudo apt-get install apache2启动服务:sudo /etc/init.d/apache2 start结果:或者使用下边的命令启动服务:sudo apache2ctl start在浏览器中键入localhost,显示结果如下:关闭服务...
分类:
其他好文 时间:
2015-09-04 18:35:19
阅读次数:
219
keySet是键的集合,Set里面的类型即key的类型entrySet是键-值对的集合,Set里面的类型是Map.Entry1.keySet()Map map=new HashMap();Iterator it=map.keySet().iterator();Object key;Object va...
分类:
其他好文 时间:
2015-09-04 18:33:39
阅读次数:
139
Best Time to Buy and Sell Stock IIISay you have an array for which theithelement is the price of a given stock on dayi.Design an algorithm to find the...
分类:
其他好文 时间:
2015-09-04 18:31:25
阅读次数:
213
C# 获取本机的串口号 using System.IO.Ports; //头文件 string[] PortNames = SerialPort.GetPortNames(); //获取本机串口名称,存入PortNames数组中 for (int i = 0; i < PortNa...
分类:
其他好文 时间:
2015-09-04 18:34:04
阅读次数:
111
1072. Gas Station (30)时间限制200 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueA gas station has to be built at such a location that the minimum dist...
分类:
其他好文 时间:
2015-09-04 18:32:56
阅读次数:
215
Holding Bin-Laden Captive!Time Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 17653Accepted Submission...
分类:
其他好文 时间:
2015-09-04 18:32:19
阅读次数:
174
一台数控恒流恒压电源的制作直流稳压电源是任何电子电路试验中不可缺少的基础仪器设备,基本在所有的跟电有关的实验室都可以见到。对于一个电子爱好者来说,直流稳压电源也是必不可少的。要得到一个电源,一般有两种方法:一是购买一台成品电源,这样最为省事:二是自己制作一台电源(因为你是电子爱好者),当然相比于第一...
分类:
其他好文 时间:
2015-09-04 18:29:33
阅读次数:
167
1.参数的赋值和取值lr_save_string("hello world","param");lr_eval_string("{param}");2.变量到参数int x;char *y;y="hello";x=10;lr_save_int(x,"param");lr_save_string(y,...
分类:
其他好文 时间:
2015-09-04 18:29:11
阅读次数:
310
AD属性对照表姓Sn名Givename英文缩写Initials显示名称displayName描述Description办公室physicalDeliveryOfficeName电话号码telephoneNumber电话号码:其它otherTelephone多个以英文分号分隔电子邮件Mail网页wWW...
分类:
其他好文 时间:
2015-09-04 18:30:45
阅读次数:
191
.reg 文件具有以下语法: RegistryEditorVersion Blank line [RegistryPath1] "DataItemName1"="DataType1:DataValue1" DataItemName2"="DataType2:DataValue2" Blank lin...
分类:
其他好文 时间:
2015-09-04 18:31:02
阅读次数:
190
word:字Byte:字节bit:位1位(bit)就是一个0或18bit(位)=1Byte(字节) 2byte = 1word1KB = 1024Byte(字节)1MB = 1024KB1GB = 1024MB1TB = 1024GBK是千,M是兆,G是吉咖,T是太拉。
分类:
其他好文 时间:
2015-09-04 18:29:37
阅读次数:
130
+-----------------------------------------------------------------+|*****************************************************************||* ...
分类:
其他好文 时间:
2015-09-04 18:28:55
阅读次数:
172
1.要往cell里面添加一个自定义的子控件,都是添加到cell的contentView,不是添加到cell里面.2.通过xib自定义cell* 添加tableView* 加载团购数据* 新建xib,获取子控件* 封装* 最后引入headerView和footerView(插入广告,加载更多)总结:通...
分类:
其他好文 时间:
2015-09-04 18:27:39
阅读次数:
173
题目链接 五个数,任意两个数的任意链接后的数还是质数 满足这个条件的最小五个数的和是多少? 结果:26033 纯暴力破解: package projecteuler51to60; import java.util.ArrayList; import java.util.List; import ja...
分类:
其他好文 时间:
2015-09-04 18:27:51
阅读次数:
234
英寸换算长度单位:1 英寸=2.5400 厘 米1 英 尺 =12 英 寸 =0.3048 米1 码 =3 英 尺 =0.9144 米1 英 里 =1760 码 =1.6093 千 米厘米:cm英寸:in1 in=2.54cm1英尺=12英寸1英寸=2.54厘米1、英制->公制Linear Meas...
分类:
其他好文 时间:
2015-09-04 18:28:23
阅读次数:
683
本文是我在阅读O'Reilly免费的电子书Software Architecture Patterns过程中做的笔记。首先这本书非常新,2015年3月30号订正后发布。其次将目前流行的几种架构详细进行了剖析和比较,除了传统的N层架构外,其它架构相当的前沿。并且,这篇小书连带封面才55页,短小精悍,值...
分类:
其他好文 时间:
2015-09-04 18:29:03
阅读次数:
233
常见反编译产生错误 k__BackingField 解决办法无聊反编译小蚂蚁出现上千的错同样的错privateboolk__BackingField;[CompilerGenerated]privateboolk__BackingField;[CompilerGenerated]privateboo...
分类:
其他好文 时间:
2015-09-04 18:28:11
阅读次数:
191