1. 在Finder中打开Adobe Flash Builder 4.7的安装目录2. 在Adobe Flash Builder 4.7.app上点击右键“Show Package contents”(显示包内容)3. 定位到Contents/MacOS目录下4. 用文本编辑打开Adobe Flas...
分类:
编程语言 时间:
2014-08-13 22:00:47
阅读次数:
196
执行apachectlstart时,error_log报错如下:[warn]pidfile/usr/local/zend/apache2/logs/httpd.pidoverwritten--UncleanshutdownofpreviousApacherun?
[emerg](28)Nospaceleftondevice:Couldn‘tcreateacceptlock(/usr/local/zend/apache2/logs/accept.lock.11056)(5)如果启动ap..
分类:
其他好文 时间:
2014-08-13 15:21:17
阅读次数:
197
坐标系统
坐标系统在Unity3D开发过程中具有非常重要的作用,是游戏对象定位、移动、缩放、旋转等操作的基础。坐标系统包含以下基本概念:
三维向量(Vector3):
用于表示三维坐标空间的向量和点,可进行向量运算。
世界坐标(World Space):
相对于整个世界空间建立坐标系,使用全局坐标(通过Transform.position获取)。其X轴正方向指向屏幕右侧,Y轴...
分类:
其他好文 时间:
2014-08-13 13:09:06
阅读次数:
374
It is not as easy as I thought it to be, mostly because of time\space limitation. And actually that's the punch line of this problemMy intuition was D...
分类:
其他好文 时间:
2014-08-13 08:00:25
阅读次数:
250
1、查看segment advisor
方法一:
select * fromtable(dbms_space.asa_recommendations('TRUE','FALSE','FALSE'));
dbms_space.asa_recommentdations的三个参数:
all_runs TURE返回历次运行的结果,FALSE则返回最近一次运行的结果
show_ma...
分类:
其他好文 时间:
2014-08-12 17:07:44
阅读次数:
471
Follow up for "Unique Paths":Now consider if some obstacles are added to the grids. How many unique paths would there be?An obstacle and empty space i...
分类:
其他好文 时间:
2014-08-12 16:40:14
阅读次数:
157
1. Sed简介sed 是一种在线编辑器,它一次处理一行内容。处理时,把当前处理的行存储在临时缓冲区中,称为“模式空间”(pattern space),接着用sed命令处理缓冲区中的内容,处理完成后,把缓冲区的内容送往屏幕。接着处理下一行,这样不断重复,直到文件末尾。文件内容并没有 改变,除非你使用...
分类:
其他好文 时间:
2014-08-12 13:12:14
阅读次数:
223
Given a string s and a dictionary of words dict, determine if s can be segmented into a space-separated sequence of one or more dictionary words.For e...
分类:
其他好文 时间:
2014-08-12 12:51:34
阅读次数:
203
Preference-defalut: 【将Tab键自动替换为4个空格】 // The number of spaces a tab is considered equal to “tab_size”: 4, // Set to true to insert spaces when tab is pressed “translate_tabs_to_space...
分类:
其他好文 时间:
2014-08-12 10:33:04
阅读次数:
210
Problem:
Sort a linked list in O(n log n)
time using constant space complexity.
解题思路:
首先,时间复杂度能达到O(nlgn)的排序算法,常见的有3种:堆排序、归并排序和快速排序,
而对于链表,用堆排序显然不太可能,所以,我们可用归并或者是快排.由于合并...
分类:
其他好文 时间:
2014-08-12 00:45:13
阅读次数:
217