3、Creating a World Space UIUI系统很容易地创建UI用户界面,被定位在其他2D或 3D场景中对象之间的世界中。开始通过创建一个 UI元素(如Image图像),如果在你的场景中还没有,可以通过使用:GameObject > UI > Image。这也将为您创建一个画布。Set...
分类:
其他好文 时间:
2014-09-22 20:56:13
阅读次数:
424
1. 文字强制不换行,多余部分用省略号代替white-space:nowrap;text-overflow:ellipsis;overflow:hidden;2. 火狐,禁止拖拽拉动resize:none; 或者 min-width:;max-width:;min-height:;max-heigh...
分类:
Web程序 时间:
2014-09-22 18:59:42
阅读次数:
213
mount /dev/sdb /mnt/diskumount -l /mnt/disk【有busy的问题可以加上l项】1.查询当前谁在使用device,fuser /mnt/temp,查询结果是/mnt/temp:18102c2.查询该进程号表示哪个进程,ps -ef|grep 18102|grep...
分类:
其他好文 时间:
2014-09-22 17:45:53
阅读次数:
202
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 example, given
s = "leetcode",
dict = ["leet"...
分类:
其他好文 时间:
2014-09-22 12:40:12
阅读次数:
184
Given a linked list, return the node where the cycle begins. If there is no cycle, return null.
Follow up:
Can you solve it without using extra space?
/**
* Definition for singly-linked list.
...
分类:
其他好文 时间:
2014-09-21 18:31:21
阅读次数:
233
mongodb启动正常,启动后使用mongo命令连接,连一次mongodb进程挂一次,最后看日志:2014-09-21T10:44:26.400+0800 [initandlisten] ERROR: Insufficient free space for journal files2014-09-...
分类:
其他好文 时间:
2014-09-21 11:41:00
阅读次数:
160
#! /bin/sh
while true;
do
i=`df -h | egrep '/mnt/D'| awk '{print $5}' | cut -d "%" -f1 -`
if [ "$i" -ge 90 ]
then
echo "disk nearly full"
cd /mnt/D/files/
for file1day in `ls -d */ | sort -n...
分类:
系统相关 时间:
2014-09-21 00:00:59
阅读次数:
276
Sort a linked list inO(nlogn) time using constant space complexity.思路:采用归并排序或者快速排序#include using namespace std;struct ListNode { int val; ListNo...
分类:
其他好文 时间:
2014-09-20 20:12:09
阅读次数:
230
android源码下载及安装:1.初始化安装环境:A。建立大小写敏感硬盘镜像:步骤如下:Disk Utility –> New Image,随便取个名字,这里用AndroidDisk,30GB足够了,然后注意选成Mac OS Extended (Case-sensitive, Journaled),...
分类:
移动开发 时间:
2014-09-20 03:33:26
阅读次数:
194