linux网卡速率和双工模式的配置(2012-09-06 14:39:57)转载▼标签:科技网络接口协商网卡工具it分类: Linux 改变网络接口的速度和协商方式的工具miitool 和ethtool 通过mii-tool和ethtool工具来调整网卡的速度、双工等,这样能提高网卡的效率; mii...
分类:
系统相关 时间:
2014-07-02 21:18:23
阅读次数:
346
Query session.createQuery(String hql)方法; * hibernate的session.createQuery()方法是使用HQL(hibernate的查询语句)语句查询对象的。 * hql:是查询对象的,例如:"from User",其中from不区分大小写,而U...
分类:
系统相关 时间:
2014-07-02 21:17:44
阅读次数:
265
先上一个场景的基本模版: 1 local ModelScene = class("ModelScene", function() 2 return display.newScene("ModelScene") 3 end) 4 5 function ModelScene:ctor() 6 ...
分类:
其他好文 时间:
2014-07-02 21:17:07
阅读次数:
334
js 去除空格与换行//去除空格 String.prototype.Trim = function() { return this.replace(/\s+/g, ""); } //去除换行 function clearBr(key) { key = key.replace(//g,""...
分类:
Web程序 时间:
2014-07-02 21:16:23
阅读次数:
268
设计模式粗浅理解之------简单工厂模式什么是简单工厂模式从设计模式的类型上来说,简单工厂模式是属于创建型模式,又叫做静态工厂方法(Static Factory Method)模式,但不属于23种GOF设计模式之一。简单工厂模式是由一个工厂对象决定创建出哪一种产品类的实例。简单工厂模式是工厂模式家...
分类:
其他好文 时间:
2014-07-02 21:14:21
阅读次数:
232
/bin/sh /app/xmlrpc-c-1.16.34/mkinstalldirs /usr/local/lib/bin/sh /app/xmlrpc-c-1.16.34/mkinstalldirs /usr/local/include/bin/sh /app/xmlrpc-c-1.16.34/...
分类:
其他好文 时间:
2014-07-02 21:13:44
阅读次数:
186
Given a binary tree, find the maximum path sum.The path may start and end at any node in the tree.For example:Given the below binary tree, 1 ...
分类:
其他好文 时间:
2014-07-02 21:13:05
阅读次数:
170
在GameViewController.swift中重载prefersStatusBarHidden方法,返回trueoverride func prefersStatusBarHidden() -> Bool { return true}
分类:
其他好文 时间:
2014-07-02 21:12:29
阅读次数:
1108
如果小组中没有足够的专业版license,用不了unity3d自带的version control,可以使用git来对项目进行版本控制;只不过需要建一个.gitignore文件在git项目管理的根目录下,git的使用方法不用介绍了,.gitignore文件是用来忽略提交的文件,内容如下:Libra....
分类:
其他好文 时间:
2014-07-02 21:11:53
阅读次数:
365
自定义Exceptionusing System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Runtime.Serialization;namespace Model{ /...
分类:
其他好文 时间:
2014-07-02 21:11:13
阅读次数:
304