设置MySQL数据表主键: 使用“primary
key”关键字创建主键数据列。被设置为主键列不允许出现重复的值,很多情况下与“auto_increment”递增数字相结合。如下SQL语句所示:Mysql>create
table books(bookid int(11) NOT NULL AUTO...
分类:
Web程序 时间:
2014-05-07 10:16:31
阅读次数:
649
解决方法: 执行以下命令: rndc-confgen -r /dev/urandom
-a然后再重启DNS服务: service named start 服务正常
分类:
其他好文 时间:
2014-05-07 09:53:40
阅读次数:
276
Given a binary tree, find the maximum path
sum.The path may start and end at any node in the tree.For example:Given the
below binary tree, 1 ...
分类:
其他好文 时间:
2014-05-07 09:36:09
阅读次数:
300
(1)首先选择一个路径用来存放arm-linux-gcc。我选用的是/h...
分类:
系统相关 时间:
2014-05-07 07:34:28
阅读次数:
388
LRU Cache
Design and implement a data structure for Least Recently Used (LRU) cache. It should support the following operations: get and set.
get(key) - Get the value
(will always be posi...
分类:
其他好文 时间:
2014-05-07 07:16:21
阅读次数:
316
图灵机器人,功能很强大,可用于聊天、查询等多个领域
图灵机器人官网:http://www.wendacloud.com/
api地址:http://www.wendacloud.com/openapi/api?key=KEY&info=你好...
请设置环境变量
注意 "D:\soft\nodejs\"这个是笔者自己安装在电脑上的node js目录,请修改成自己的
一、用户环境变量参数:
PATH =D:\soft\nodejs\;D:\soft\nodejs\node_modules\express;
二、系统环境变量参数
Path=D:\soft\nodejs;D:\soft\nodejs\node_modules\expr...
eshell是emacs shell的简称,是emacs自带的shell.开始设置的时候还在想是否要找到它的key map (eshell-mode-map?).
原来它是采用hook设置,如下所示
(add-hook 'eshell-mode-hook
(lambda ()
(local-set-key (kbd "C-j") 'switch-to...
分类:
其他好文 时间:
2014-05-07 05:25:39
阅读次数:
253
项目中用到了地图相关的东西,就把以前的demo搬了出来,结果发现直接运行之前的demo没有问题,在xcode5下新建项目再把代码粘贴过来就会提示
May 5 11:36:21 infomedia-iPod-touch TestLocation[1465] : CGBitmapContextCreate: unsupported parameter combination: 5 integer ...
分类:
移动开发 时间:
2014-05-06 15:17:46
阅读次数:
769