解析TXT文件步骤:1、File file = new file('D:\a.txt');// 创建文件对象2、String code = ReadFile.codeString(file.getAbsolutePath());//获得文件编码3、InputStreamReader read = n ...
分类:
其他好文 时间:
2017-03-09 19:56:31
阅读次数:
188
【目标】面向摄像机的模型【思路】1 UE2中制作的地形编辑器里面Decorations页面右键点击某一层,use billboard2 在 ATerrainInfo::RenderDecorations中 FRotator rot; if (DecoLayer.bBillboard) { FVect... ...
分类:
其他好文 时间:
2017-03-07 18:55:11
阅读次数:
393
今天学习了PHP的代码审计,根据学习的提示,要找一个register_globals 这个全局变量,设置成on,自己在php.ini上找了很久。。没有找到,然后进行百度郁闷的发现register_globals这个函数在5.3的时候已经去了,而我用的是phpStudy-5.4.45。在学习的过程中遇 ...
分类:
其他好文 时间:
2017-03-06 23:34:07
阅读次数:
272
FROM hub.c.163.com/library/centosMAINTAINER Victor 18202241253@163.comRUN yum clean allRUN yum -y install gcc gcc-c++ pcre pcre-devel openssl openssl- ...
分类:
其他好文 时间:
2017-03-06 14:50:33
阅读次数:
229
Description Consider a tree T with N (1 <= N <= 20,000) nodes numbered 1...N. Deleting any node from the tree yields a forest: a collection of one or ...
分类:
其他好文 时间:
2017-03-05 22:47:23
阅读次数:
230
1.pstree -p 14686(PID) 获取到nginx的四个子进程(或 ps -ef |grep nginx) 2. cat /proc/15178(PID)/status threads即为线程数: 方法二: ps -eL -o pid,%cpu,lwp|grep -i pid ...
分类:
系统相关 时间:
2017-03-02 16:44:25
阅读次数:
307
标签:Linux 域名 Nginx 原创作品,允许转载,转载时请务必以超链接形式标明文章 原始出处 、作者信息和本声明。否则将追究法律责任。http://xpleaf.blog.51cto.com/9315560/1901284 0.说明 使用Nginx可以配置基于域名的虚拟主机、基于端口的虚拟主机 ...
分类:
其他好文 时间:
2017-03-01 00:18:28
阅读次数:
362
phpstorm使用之——常用快捷键 使用IDE的根本所在乃是为了提高工作效率。 1. 选中文字 shift+ ←(→,↑,↓): 左右上下选中文本。 2. 查找文本 ctrl + F : 在当前文件中查找。 ctrl + shift + F : 在当前Project(项目)中查找. 3. 打开文件 ...
分类:
Web程序 时间:
2017-02-28 19:23:34
阅读次数:
196