感谢网友分享,原文地址(How to Make an Object Shatter Into Smaller Fragments in Unity),中文翻译地址(Unity实现物体破碎效果)In this tutorial I will show you how to create a simpl...
分类:
其他好文 时间:
2014-09-22 19:32:23
阅读次数:
327
1、MySQL常用命令create database name; 创建数据库use databasename; 选择数据库drop database name 直接删除数据库,不提醒show tables; 显示表describe tablename; 表的详细描述select 中加上distinc...
分类:
数据库 时间:
2014-09-22 19:01:32
阅读次数:
279
为了加强鼠标响应事件,Android提供了GestureDetector手势识别类。通过GestureDetector.OnGestureListener来获取当前被触发的操作手势(Single Tap Up、Show Press、Long Press、Scroll、Down、Fling),具体包括...
分类:
其他好文 时间:
2014-09-22 12:14:52
阅读次数:
250
可以使用AlertDialog.Builder才产生一个提示框首先最简单的是弹出一个消息框:newAlertDialog.Builder(self)
.setTitle("标题")
.setMessage("简单消息框")
.setPositiveButton("确定",null)
.show();效果如下:带确认和取消按钮的对话框:newAlertDialog.Builder(self)
.setT..
分类:
移动开发 时间:
2014-09-22 04:25:32
阅读次数:
218
http://acm.hdu.edu.cn/game/entry/problem/show.php?chapterid=3§ionid=1&problemid=10 1 #include 2 #include 3 #include 4 #define maxn 300000 5 usi...
分类:
其他好文 时间:
2014-09-21 22:04:01
阅读次数:
303
Debian系列软件管理1、搜索软件包信息 apt-cache search apt-cache search yum 2、查看软件包信息 apt-cache show rpm 3、安装软件 apt-get install rpm 选项: apt-get reinstall 覆盖安装 -f 修复安装 4、卸载,与YUM类似 apt-get remove rpm 选项: apt-g...
分类:
其他好文 时间:
2014-09-21 20:15:41
阅读次数:
217
原文http://www.helyar.net/2009/libvlc-media-player-in-c-part-2/I gave some simplified VLC media player code inpart 1to show how easy it was to do and ho...
分类:
其他好文 时间:
2014-09-21 19:34:01
阅读次数:
395
首先,明确一下字符集和校对规则的概念: 字符集(charset):是一套符号和编码 校对规则(collation):是在字符集内用于比较字符的一套规则,比如有的规则区分大小写,有的则无视 mysql服务器能够支持多种字符集,可以使用SHOW CHARACTER SET语句列出可用的字...
分类:
数据库 时间:
2014-09-21 18:36:40
阅读次数:
263
show_sql其值为TRUE或FALSE
表示是否显示执行的SQL语句
format_sql其值为TRUE或FALSE
表示是否格式化执行的SQL语句
hbm2ddl其值即表示内容如下
create----先删除,在创建相应的数据库表
update----如果表不存在就创建表,不一样就更新,一样就什么都不做
create-drop----初始化时创建表,SessionFactor...
分类:
系统相关 时间:
2014-09-21 15:31:21
阅读次数:
247
以下内容来自mysql手册:13.5.5.3. KILL语法KILL [CONNECTION | QUERY] thread_id每个与mysqld的连接都在一个独立的线程里运行,您可以使用SHOW PROCESSLIST语句查看哪些线程正在运行,并使用KILL thread_id语句终止一个线程。...
分类:
数据库 时间:
2014-09-21 14:16:30
阅读次数:
319