准备工作 NodeJS(NPM) Grunt & Bower: npm install -g grunt-cli bower(if fail, use sudo) npm install -g generator-angular yo angular npm install bower install execute grunt tasks like: grunt serve...
分类:
其他好文 时间:
2014-08-04 14:47:27
阅读次数:
279
getMeasuredWidth在源码中的解释如下:
/**
* Like {@link #getMeasuredWidthAndState()}, but only returns the
* raw width component (that is the result is masked by
* {@link #MEASURED_SIZE_MASK}...
分类:
其他好文 时间:
2014-08-04 14:36:27
阅读次数:
265
创建cookiedocument.cookie='like=1'; //创建 cookie键名和值var str = document.cookie;获取cookie读取cookiefunction getCookie(c_name){if (document.cookie.length>0){.....
分类:
Web程序 时间:
2014-08-04 13:32:37
阅读次数:
228
在使用mysqldump命令备份整个数据库的时候,报错如下:
mysqldump: Couldn't execute 'SHOW TRIGGERS LIKE 'userlog'': Got error 28 from storage engine (1030)
查看磁盘空间
[root@localhost~]# df -h
文件系统 容量 ...
分类:
数据库 时间:
2014-08-04 11:02:07
阅读次数:
243
题目:The string "PAYPALISHIRING" is written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern in a fixed f....
分类:
编程语言 时间:
2014-08-04 10:47:57
阅读次数:
222
一 Words 1 ought to 应该v 2 occupation 职业n,占用v eg. He is a teacher by occupation but a philosopher by inclination倾向,爱好.他的职业是教师,但他的本心是成为哲学家。 3 job satisfa...
分类:
其他好文 时间:
2014-08-04 08:17:06
阅读次数:
324
Deploying JSF portlets?# Some JSF portlets (like: sample-icefaces-ipc-ajax-push-portlet) can not be deployed on Resin due to following exception: com.caucho.config.ConfigException:?listener-clas...
分类:
移动开发 时间:
2014-08-02 18:33:44
阅读次数:
486
AlertDialod like java awt dialog , when a event actived the activity will display a dialog , it can contain many views not only text or buttons ,here ...
分类:
其他好文 时间:
2014-08-02 15:07:53
阅读次数:
208
mysql乱码问题:出现情况:用命令行查看数据库数据时,中文会显示成乱码。 用命令行插入中文数据时,报错。解决思路: 1,在命令行下输入:[show variables like 'character_set_%'; ],若查询出的列表中编码格式均为utf8(除[ character...
分类:
数据库 时间:
2014-08-02 01:43:42
阅读次数:
324
1、root登录mysql之后,查看端口,确认是3306show variables like 'port';2、添加root@%用户并设置密码为123456GRANT ALL PRIVILEGES ON *.* TO root@"%" IDENTIFIED BY "123456";如果出现这样的错...
分类:
数据库 时间:
2014-08-02 01:32:02
阅读次数:
255