农民伯伯: https://github.com/over140/OPlayer? 依赖Vitamio,下载最新的Vitamio: https://github.com/yixia/VitamioBundle 流媒体测试工具: vlc media player...
分类:
移动开发 时间:
2014-11-26 16:50:06
阅读次数:
219
大部分游戏都有新手引导,而新手引导很多表现都是 其他地方压黑,新手引导的按钮等高亮可点。针对这种情况,用ClippingNode写了一个简单方便的遮罩层。 1 --[[ 2 touchRect: 3 1. CCRect 高亮区域 4 2. { 5 ...
分类:
其他好文 时间:
2014-11-26 13:58:22
阅读次数:
168
创建表:代码如下:create table if not exists t( id int, addTime datetime default '0000-00-00 00:00:00′)添加两条初始数据:insert t values(1, '2012-07-12 21:00:00′);inser...
分类:
数据库 时间:
2014-11-26 13:42:32
阅读次数:
215
/**
* 列出目录下的所有文件
*
* @param directory
* @return
*/
public List listFile(File directory) {
List list = new ArrayList();
if (!directory.exists())
return list;
if (directory.isDirect...
分类:
其他好文 时间:
2014-11-26 11:18:28
阅读次数:
143
在网上尝试很多方法,大多数是拷贝 libflashplayer.so,尝试之后,没有用。
最后还是从大牛处找到了办法,其实就是chromium提示的安装方法,不过chromium推荐用软件更新器做,远没有命令方便。
简单点说,打开terminal:
sudo apt-get install pepperflashplugin-nonfree
sudo update-pepperflashp...
分类:
系统相关 时间:
2014-11-25 14:27:25
阅读次数:
198
积分第一中值定理. 若 $f$ 在 $[a,b]$ 上连续, 则 $$\bex \exists\ \xi\in (a,b),\st \int_a^b f(x)\rd x=f(\xi)(b-a). \eex$$
分类:
其他好文 时间:
2014-11-25 12:09:05
阅读次数:
90
cloc 是一个 perl 脚本,它可以统计很多种编程语言的代码文件中的空行、注释以及实际的代码行数。
相关网站:
http://cloc.sourceforge.net/
http://sourceforge.jp/projects/sfnet_cloc/releases/
安装
环境 windows 7 + Vmware Player 6.0 + fedora 18(linu...
分类:
其他好文 时间:
2014-11-24 22:30:55
阅读次数:
624
【题目】
Given a 2D board and a word, find if the word exists in the grid.
The word can be constructed from letters of sequentially adjacent cell, where "adjacent" cells are those horizontally or ...
分类:
其他好文 时间:
2014-11-24 20:56:08
阅读次数:
177
SQL 入门在准备成为MySQL DBA之前,能熟练的编写SQL是一个必要条件。exists 和 join之间的等价转换;基本的行列转换;SQL 循环等的熟练掌握对之后的运维和调优工作都有很大的帮助。推荐书籍:1. SQL Cookbook [原版下载] [中文版下载]一本循序渐进的SQL指导手册。...
分类:
数据库 时间:
2014-11-24 16:38:52
阅读次数:
259
select id, name from TAB_A t where not exists (select 1 from TAB_B t1 where t.id = t1.id and t.name = t1.name)
分类:
数据库 时间:
2014-11-24 11:25:51
阅读次数:
217