1 function getRealIp() { 2 if
(getenv("HTTP_CLIENT_IP") && strcasecmp(getenv("HTTP_CLIENT_IP"),
"unknown")) 3 $ip = getenv("HTTP_C...
分类:
Web程序 时间:
2014-04-30 01:42:33
阅读次数:
422
voip带宽计算VOIP计算方法与所选用的编码方法有关,而与哪个厂家的没有什么关系,公式如下:带宽=包长度×每秒包数=包长度×(1/打包周期)=(Ethernet头+IP头+UDP头+RTP头+有效载荷)×(1/打包周期)=(208bit
+160bit+64bit+96bit +有效载荷)×(1/...
分类:
其他好文 时间:
2014-04-30 01:18:55
阅读次数:
711
--setgithubproxygitconfig--globalhttp.proxyhttp://user_name:user_pwd@user_ip:portgitconfig--systemhttp.sslcainfo/bin/curl-ca-bundle.crt--cancelproxygi...
分类:
其他好文 时间:
2014-04-30 01:13:49
阅读次数:
507
开发板使用ntpdate 进行网络时间同步 用法 ntpdate ip 出现如下错误 ntpdate
-u ipError resolving ai_socktype: Servname not supported for ai_socktype (-8) 1
Jan 01:44:12 ntpda....
分类:
系统相关 时间:
2014-04-29 23:36:24
阅读次数:
1440
1. 打开新的窗口并传送参数:
传送参数:response.write("<script>window.open(’*.aspx?id="+this.DropDownList1.SelectIndex+"&id1="+...+"’)</script>")
接收参数:string a = Reque....
分类:
其他好文 时间:
2014-04-29 22:53:14
阅读次数:
571
http://upload.wikimedia.org/wikipedia/commons/thumb/3/37/Netfilter-packet-flow.svg/1450px-Netfilter-packet-flow.svg.pnghttp://en.wikipedia.org/wiki/Ip...
分类:
其他好文 时间:
2014-04-29 22:18:28
阅读次数:
512
1、理解socket1)、Socket接口是TCP/IP网络的应用程序接口(API)。Socket接口定义了许多函数和例程,程序员可以用它们来开发TCP/IP网络应用程序。Socket可以看成是网络通信上的一个端点,也就是说,网络通信包括两台主机或两个进程,通过网络传递它们之间的数据。为了进行网络通...
分类:
Web程序 时间:
2014-04-29 20:21:27
阅读次数:
666
After having installed Ubuntu OS, you should
update config file for root account. The commands are listed as follow:vi
/etc/lightdm/lightdm.conf #open...
分类:
其他好文 时间:
2014-04-29 19:21:56
阅读次数:
555
ahk 预加载声音:path = "C:\Windows\Media\Windows
Recycle.wav"command := "open " path " alias
AHK_PlayMe"DllCall("Winmm\mciSendString","str",command,"ptr",0,...
分类:
其他好文 时间:
2014-04-29 19:18:50
阅读次数:
424
先确保本地Linux服务器SSH服务开启,如果没有开启直接执行指令:service sshd
start然后我们使用ssh指令进行远程登陆ssh username@ip-address输入passwd指令修改旧密码修改默认账号rootvi
/etc/passwd按i键进入编辑状态修改第1行第1个ro...
分类:
系统相关 时间:
2014-04-29 15:51:22
阅读次数:
586