一般对于中文使用都是用utf8字符集和utf8_general_ci 的排序规则 为什么要选用这两种方式可以参考~~~ 哪篇帖子~下次找到贴上来 mysql>CREATE?DATABASE?IF?NOT?EXISTS?my_db?default?charset?utf8?COLLA...
分类:
数据库 时间:
2014-12-15 12:20:05
阅读次数:
234
有些特定软件会在缓存图片文件夹自动生成名为“.nomedia”的文件,屏蔽了其他软件的扫描。代表此文件夹里面的MP3、MP4、RMVB、JPEG等图片音频视频等媒体文件,所以系统图库看不到。但一些特殊软件如 快图、MX Player也可以在设置中取消辨认这些文件!
分类:
移动开发 时间:
2014-12-15 10:24:28
阅读次数:
483
原来代码:File tempDir = new File(path); //path 是一个参数 if (!tempDir.exists()) { try { tempDir.mkdir(); //mkdirs 可创建多级目录,mk...
分类:
移动开发 时间:
2014-12-14 15:42:35
阅读次数:
330
1.在GS这边发送(本地玩家信息) LocPlayerInfo info; InitLocalPlayer(rActorEx, info); SendCmd(s2c_local_player_info, &info, sizeof(info));这个LocPlayerInfo好像内容比较多struc...
分类:
其他好文 时间:
2014-12-14 00:39:12
阅读次数:
203
Given a stringS, find the longest palindromic substring inS. You may assume that the maximum length ofSis 1000, and there exists one unique longest pa...
分类:
其他好文 时间:
2014-12-14 00:38:30
阅读次数:
161
1、判断文件是否存在,file_exists("文件名") or die("no such file");2、set_error_hanlder("错误处理函数名称", 错误常量);一般用于处理系统的各种错误这是一个回调函数,可以调用自定义的错误处理函数。自定义的函数可以接受至少两个参数最多五个参数...
分类:
Web程序 时间:
2014-12-12 20:47:43
阅读次数:
207
测试文件信息
10G Dec 12 14:10 A1
11G Dec 12 14:32 A2
10G Dec 12 14:10 B1
11G Dec 12 14:35 B2
GPFDIST
方案一 单台服务器
drop table if exists host_1;
drop EXTERNAL TABLE if exists ip_session_gpfs_ext_1_host;
dro...
分类:
数据库 时间:
2014-12-12 16:39:47
阅读次数:
251
For "Object already exists" or "Access denied" errors when installing try opening Control Panel > Programs and Features > View installed updates then ...
1. Epic OA 12/7 submitted, Prob get result by 12/22.2. Yelp 1st phone interview. 15 mins recuriter quick programming, Databasequestions.3. FactSet 1.....
分类:
其他好文 时间:
2014-12-12 11:32:18
阅读次数:
142
Unity调安卓AndroidJavaClass jc = new AndroidJavaClass("com.unity3d.player.UnityPlayer");AndroidJavaObject jo = jc.GetStatic("currentActivity");jo.Call("具...
分类:
移动开发 时间:
2014-12-12 11:22:16
阅读次数:
178