[root@linux ~]# mysql -u root -p 123456Enter password: ERROR 1049 (42000): Unknown database '123456'[root@linux ~]# mysql -u root -p Enter password: W...
分类:
数据库 时间:
2014-06-28 10:55:09
阅读次数:
254
delete workspace Preferences >> General >> Startup and Shutdown >> Workspaces. force refresh Preferences >> General >> Workspaces >> refresh using na....
分类:
系统相关 时间:
2014-06-25 19:22:13
阅读次数:
264
??一、帧动画你能够通过一系列图片文件,像例如以下这样,创建一个动画:[cpp] CCAnimation *animation = CCAnimation::create(); //从本地文件系统中载入图片文件到CCSpriteFrame中区,然后加入到CCAnimation中 for (int i...
分类:
其他好文 时间:
2014-06-25 16:53:17
阅读次数:
243
在ARC项目中使用performSelector:withObject:函数出现“performSelector may cause a leak because its selector is unknown”。在stackoverflow找到了一个解决方案,地址:http://stackover...
分类:
其他好文 时间:
2014-06-25 13:03:01
阅读次数:
270
http://www.html5tricks.com/10-jquery-css3-animation.html...
分类:
Web程序 时间:
2014-06-24 22:27:27
阅读次数:
194
后缀自动机裸题....
Longest Common Substring
Time Limit: 2000MS
Memory Limit: Unknown
64bit IO Format: %lld & %llu
[Submit]
[Go Back] [Status]
Description
A st...
分类:
其他好文 时间:
2014-06-24 22:15:40
阅读次数:
240
触发器(trigger)顾名思义可以监视某种情况,当情况发生时,触发某种操作
应用场景:
1、网购过程中,当提交商品订单时,往订单表中插入新记录,触发对应商品表的库存做出相应减少。
2、支付过程中,确认支付时触发验证卡上余额。
等等
以网购的情况举例说明触发器的作用:
现有商品表(goods),包括商品id(goods_id),商品名(goods_name),库存数量(goods_na...
分类:
数据库 时间:
2014-06-22 20:04:36
阅读次数:
245
The android provide two types of animation.Tween Animation is one,such as rotation,translation,scale,gradual change(gradient).
main types:
Animation、AlphaAnimation、RotateAnimation、ScaleAnimation...
分类:
移动开发 时间:
2014-06-22 08:29:06
阅读次数:
239
这道题也有点新意,就是需要记录最小值段和最大值段,然后成段更新这个段,而不用没点去更新,达到提高速度的目的。
本题过的人很少,因为大部分都超时了,我严格按照线段树的方法去写,一开始居然也超时。
然后修补了两个地方就过了,具体修改的地方请参看程序。
知道最大值段和最小值段,然后修补一下就能过了。不是特别难的题目。
#include
#include
#include
using na...
分类:
其他好文 时间:
2014-06-21 20:14:04
阅读次数:
230
一、替代arp, ifconfig, route等命令 显示网卡和IP地址 root@openstack:~# ip link list 1: lo: mtu 65536 qdisc noqueue state UNKNOWN link/loopback 00:00:00:00:00:00 brd ...
分类:
其他好文 时间:
2014-06-21 15:54:27
阅读次数:
417