简单的便签工具:实现了基于文本的便签信息的浏览,删除,添加。可以查看时间,实时更新数据。这个便签工具完全基于面向对象的编程方式,首先定义Note类,然后使用NoteManager类进行便签的管理。其中的关键就是在NoteManager类中定义list泛型集合。原理上和ArrayList基本是一致的。...
分类:
Windows程序 时间:
2014-05-12 17:09:08
阅读次数:
1093
一
HP关闭脚本错误提示的方法:打开PHP安装目录下的php.ini文件找到display_errors = On 修改为 display_errors =
off注意:如果你已经把PHP.ini文件复制到windows目录下,那么必须同时把 c:\windows/php.ini里的display_...
分类:
Web程序 时间:
2014-05-10 20:15:55
阅读次数:
461
1.下载memcacheq包
下载地址:http://code.google.com/p/memcacheq/downloads/list 解压包:# tar -zxvf
memcacheq.0.2.tar.gz (根据自身的情况解压到目录) 进入目录:# cd memcacheq-0.2.0 2....
分类:
其他好文 时间:
2014-05-06 01:00:41
阅读次数:
322
>_____ 2 3 #ifndef __DISPLAY_H__ 4 #define
__DISPLAY_H__ 5 6 #define DataPort P0 //定义数据端口 程序中遇到DataPort 则用P0 替换 7 sbit
LATCH1=P2^2;//定义锁存使能端口 段锁存 8 .....
分类:
其他好文 时间:
2014-05-06 00:40:48
阅读次数:
407
把一个人一个月的轨迹历史描绘出来,并实现按时间顺序回放。小弟菜鸟一枚,代码质量不高,高手勿喷,谢谢。关于描点和描线,百度地图都有自己的API,大家都应该会了;至于播放动画,肯定不止一种方法,如果大家有好的方法,分享出来,小弟感激不尽。我的方法是:在一个线程里,开始播放后,遍历存放item的list,...
分类:
移动开发 时间:
2014-05-06 00:37:01
阅读次数:
473
Mergeksorted linked lists and return it as one
sorted list. Analyze and describe its complexity.想法很简单,就是两两合并。在Merge Two Sorted
Lists这道题已经实现了两两合并的代码了,就...
分类:
其他好文 时间:
2014-05-06 00:22:01
阅读次数:
337
周末折腾一下Ubuntu 14.04,稍作记录:1. 切换源,我还是钟情163的(ps,
这里如果用的以前13.04时候163的源会有问题,记得配置最新的)$ sudo cp /etc/apt/sources.list
/etc/apt/sources.list.origin$ sudo gedit...
分类:
其他好文 时间:
2014-05-06 00:13:19
阅读次数:
376
最近又实验安装了centos
5.8,装完后启动,界面太差了,看着费劲。百度一查,原来是分辨率的问题。下面是分辨率设置方法。“系统->管理->显示“(英文版本的是system->adminstaration->display),打开后,hardware的monitor
type 选择你的显示器对应类...
分类:
其他好文 时间:
2014-05-02 17:07:22
阅读次数:
533
List在Unity安装目录下的..\Unity\Editor\Data\Mono\lib\mono\micro\mscorlib.dll自备反编译工具,这里用的是ILSpyBetterList不支持任何集合接口,功能简单,扩展功能只有一个排序。排序用的是冒泡。List就不多介绍了。都懂得,其内部排...
分类:
其他好文 时间:
2014-05-02 15:40:39
阅读次数:
734
Where's Waldorf?
Given a m by n grid
of letters, ( ),
and a list of words, find the location in the grid at which the word can be found. A word matches a straight, uninterrupted line o...
分类:
其他好文 时间:
2014-05-02 10:59:15
阅读次数:
514