List list = Arrays.asList(new Point(1, 5), new Point(2, 3),new Point(2, 8), new Point(9, 13));int sum = list.get(0).y - list.get(0).x,currenty=list.ge...
分类:
其他好文 时间:
2014-06-28 19:25:36
阅读次数:
183
挂接命令(mount)首先,介绍一下挂接(mount)命令的使用方法,mount命令参数非常多,这里主要讲一下今天我们要用到的。命令格式:mount [-t vfstype] [-o options] device dir其中:1.-t vfstype 指定文件系统的类型,通常不必指定。mount ...
分类:
系统相关 时间:
2014-06-28 19:16:56
阅读次数:
296
A robot is located at the top-left corner of amxngrid (marked 'Start' in the diagram below).The robot can only move either down or right at any point ...
分类:
其他好文 时间:
2014-06-28 16:02:43
阅读次数:
214
相信大家对highchats这个图表控件并不陌生,最近在项目中用到它,但是某些字段需要显示为小数点,顾查找资料文档发现下面两个方式可以实现:初始化时候添加如下两个参数tooltip:{ formatter:function(){ return''+this.point.name+': '+Math....
分类:
其他好文 时间:
2014-06-23 00:54:47
阅读次数:
252
广义地说,Unity有2种光源。1.动态光源 2.Backed Lighting1.动态光源就是实时计算的。只要摆光源就可以了2.Backed Lighting提前处理好光照贴图。贴在物体上。Point: 角度无关紧要Directional: 位置无关紧要Spot: 角度和位置都有影响Area (B...
分类:
其他好文 时间:
2014-06-23 00:54:24
阅读次数:
258
$ sudo mount.cifs //windows-ip/shared /media/ -o user=username password=password
该命令挂载Windows下的shared共享目录到本地/media目录下.
Windows的用户名是username, 密码是password (作相应的修改)
这里的CIFS(Common Internet File Syste...
在VirtualBox设置完桥接添加ip后,在设备中添加共享windows文件,“e:\work ”,发现共享目录没有文件。使用了各种reboot之后,还是没有发现共享文件夹,重新设置还是不行,用mount命令依然无法解决。重新添加共享文件夹,之后勾选固定分区,(不要勾选自动挂载),之后出现了w.....
Linux系统默认已经安装了Samba,但是没有安装Samba服务:1,先查看安装情况:rpm -qa|grep samba根据系统的安装情况选择下载或者通过光驱安装所缺的rpm包。我的安装情况是:使用命令:mount /dev/cdrom1 /mnt/cdrom1通过mount把cdrom1挂载到...
分类:
系统相关 时间:
2014-06-20 21:45:58
阅读次数:
294
表达式求值/*** 功能:表达式求值(0到9)* 时间:2014年6月15日08:02:31* 作者:cutter_point*/#include#include#include#includeusing namespace std;stack intStack; //存放数值的栈st...
分类:
编程语言 时间:
2014-06-18 00:06:54
阅读次数:
234
NFS客户端配置为开机自动挂载时,系统启动报错。报错信息类似:mount:mount:mounttoNFSserver‘172.16.1.254‘failed:mount:SystemError:Noroutetohost.原因:网络启动后需要对网络内路由表进行“学习”。在未完成路由表学习之前启动netfs服务会报错。解决方法:延后netfs启动时..
分类:
其他好文 时间:
2014-06-17 18:42:04
阅读次数:
214