http://www.apuebook.com/code3e.html在上面的网站下载代码包,解压得到源码1 sudo apt-get install libbsd-dev 安装这个支持,在解压包的makefile路径下运行make1 sudo cp ./include/apue.h /usr/i....
分类:
系统相关 时间:
2015-06-25 00:06:00
阅读次数:
190
Windows 运行时中支持网络资源访问的对象:HttpWebRequest 对象发送 GET/POST 请求,HttpHelper 封装,超时控制。HttpClient 对象发送 GET/POST 请求,请求进度监控。两种常用请求方式:GET 请求主要是从服务器请求数据可以传递有限(1024字节)...
自定义 Person 类class Person: NSObject { var name: String? var age: Int?}getter & settervar _name: String?var name: String? { get { return...
分类:
其他好文 时间:
2015-06-24 23:45:13
阅读次数:
186
用golang进行http请求类型多了,总结备忘一下。1.普通的post\get请求 var r http.Request r.ParseForm() r.Form.Add("uuid", orderUUID) bodystr := strings.TrimSpace(r.Fo...
分类:
其他好文 时间:
2015-06-24 20:32:39
阅读次数:
109
import timeimport randomimport threadingimport inspectdef get_current_function_name(): return inspect.stack()[1][3] class Inclass: def __init...
分类:
编程语言 时间:
2015-06-24 20:32:29
阅读次数:
155
debian下没有公钥解决办法执行命令:apt-get update 出现如下错误正在读取软件包列表... 完成W: 以下 ID 的密钥没有可用的公钥:8B48AD6246925553执行以下命令解决:================gpg --keyserver subkeys.pgp.net -...
分类:
其他好文 时间:
2015-06-24 20:30:56
阅读次数:
138
Path?path_from=?Paths.get("d:\\深入剖析.pdf");
??Path?path_to=Paths.get("d:\\深入剖析123.pdf");
??long?startTime,endtime;
??try?{
???FileChannel?fileChannel_from=FileChannel....
分类:
其他好文 时间:
2015-06-24 19:27:47
阅读次数:
94
PC机Ubuntu #sudo apt-get install nfs-kernel-server
#/etc/init.d/nfs-kernel-server start
#cat /etc/exports
# /etc/exports: the access control list for filesystems which may be exported...
分类:
其他好文 时间:
2015-06-24 19:03:53
阅读次数:
446
step 1英语渣的同学,或者对功能栏的一大堆略显专业的单词不敢下手的同学
你需要一个中文汉化包
不用去官网找了,源里就有
sudo apt-get install libreoffice-l10n-zh-cn
不用配置了,就是这么爽step 2字体的原因
win下的字体文件由于版权的原因,不能加入linux
我们喜欢的中文字体:宋体/新宋体/雅黑
就在其中~
好吧,我们到wind...
分类:
系统相关 时间:
2015-06-24 18:56:23
阅读次数:
207
Write a SQL query to get the second highest salary from theEmployeetable.+----+--------+| Id | Salary |+----+--------+| 1 | 100 || 2 | 200 || ...
分类:
数据库 时间:
2015-06-24 18:08:06
阅读次数:
124