2014年12月10日
摘要: 从外网访问VMware虚拟机的Web服务 graybull posted @ 2013年1月04日 16:50 in VMware with tags VMware NAT port forwarding TFS Web access , 4534 阅读 在主机上安装了VMware,VMware上... 阅读全文
posted @ 2014-12-10 22:55 yuyezhulan 阅读(1185) 评论(0) 推荐(0) 编辑
  2014年10月12日
摘要: 1.svn的使用方法与注意事项:向SVN服务器提交源代码的时候,一定不要提交bin、obj等文件夹,否则会很麻烦。但是web项目的bin目录除外,但是web项目的bin目录中的引用其他项目而生成的dll不需要提交。 阅读全文
posted @ 2014-10-12 09:48 yuyezhulan 阅读(205) 评论(0) 推荐(0) 编辑
  2014年10月11日
摘要: if(username.equals(“zxx”){}username可能为NULL,会报空指针错误;改为"zxx".equals(username)Java中的空指针错误是指的是什么样子的错误Java中空指针本身的错误是因为对一个空变量本身进行了操作 阅读全文
posted @ 2014-10-11 21:36 yuyezhulan 阅读(148) 评论(0) 推荐(0) 编辑
摘要: java中静态变量本质为类变量,而实例变量则为类的实例变量 阅读全文
posted @ 2014-10-11 21:07 yuyezhulan 阅读(98) 评论(0) 推荐(0) 编辑
摘要: java中final修饰的引用变量本身不能发生变化,但引用的内容还是能够发生变化的。 阅读全文
posted @ 2014-10-11 20:46 yuyezhulan 阅读(160) 评论(0) 推荐(0) 编辑
摘要: 1.Java中char和Unicode ,char存储Unicode的字符串 阅读全文
posted @ 2014-10-11 20:18 yuyezhulan 阅读(554) 评论(1) 推荐(0) 编辑
摘要: int arr[][] ={{1,2,3},{4,5,6,7},{9}};boolean found = false;for(int i=0;i<arr.length&& !found;i++) {for(int j=0;j<arr[i].length;j++){System.out.println... 阅读全文
posted @ 2014-10-11 20:13 yuyezhulan 阅读(710) 评论(0) 推荐(0) 编辑
  2014年10月8日
摘要: 使用ssh公钥实现免密码登录(2011-04-22 01:24:10)转载▼标签:杂谈分类: Linux系统 ssh 无密码登录要使用公钥与私钥。linux下可以用用ssh-keygen生成公钥/私钥对,下面我以CentOS为例。有机器A(192.168.1.155),B(192.168.1.181... 阅读全文
posted @ 2014-10-08 14:34 yuyezhulan 阅读(187) 评论(0) 推荐(0) 编辑
摘要: Python 中urllib2.urlopen 中存在中文转码问题,解决方法如下:1.import BeautifulSoupimport chardetresponse =urllib2.urlopen('%s'%line) #response.decode('utf-8')... 阅读全文
posted @ 2014-10-08 13:40 yuyezhulan 阅读(671) 评论(0) 推荐(0) 编辑
  2014年10月6日
摘要: 1.1. 问题 ProblemYou need to deal with data that doesn't fit in the ASCII character set. 你需要处理不适合用ASCII字符集表示的数据. 1.2. 解决 SolutionUnicode strings can be ... 阅读全文
posted @ 2014-10-06 22:18 yuyezhulan 阅读(1515) 评论(0) 推荐(0) 编辑