function load_script(xyUrl, callback){ var head = document.getElementsByTagName('head')[0]; var script = document.createElement('script'); sc...
分类:
其他好文 时间:
2014-11-05 00:10:12
阅读次数:
206
1.linux文件操作cat test.txt | head -n 100 查看开始100行cat finalout.txt | head -n 100 | cut -d , -f 2 安装,分割各行,取第2个位置的数据cat test.txt |sed 's/""//g' 查看下效果cat fi....
分类:
系统相关 时间:
2014-11-04 22:31:43
阅读次数:
187
用结构体构建单链表例子:int main (){ struct student head; struct student body; struct student end; struct student *p; head.a = 10; head.b = 20; body...
分类:
编程语言 时间:
2014-11-04 22:27:31
阅读次数:
197
页面xtime(如5)秒后,自动跳转到url指定的页面meta标签放入head标签里面
分类:
其他好文 时间:
2014-11-04 12:40:25
阅读次数:
106
1.document.write("");输出语句2.JS中的注释为//3.传统的HTML文档顺序是:document->html->(head,body)4.一个浏览器窗口中的DOM顺序是:window->(navigator,screen,history,location,document)5....
分类:
编程语言 时间:
2014-11-04 12:39:45
阅读次数:
182
HEAD detached from 是一个临时的头指针,正常的头指针是指向分支的,这种情况下头指针是游离在分支之外。虽然可以在本地进行一切的git操作,但是如果要想远程库推送的时候就会出现问题。解决方法如下:1.git fetch origin _branch:_branch _branch 是....
分类:
其他好文 时间:
2014-11-04 12:24:21
阅读次数:
664
cmstop-error.csshtml,body,head,div,p,a { margin: 0; padding: 0;}.body-bg { background-color: #dff1f4;}.main { width: 700px; overflow: h...
分类:
其他好文 时间:
2014-11-04 10:54:45
阅读次数:
295
1.支持客户/服务器模式。
2.简单快速:客户向服务器请求服务时,只需传送请求方法和路径。请求方法常用的有GET、HEAD、POST。每种方法规定了客户与服务器联系的类型不同。由于HTTP协议简单,使得HTTP服务器的程序规模小,因而通信速度很快。
3.灵活:HTTP允许传输任意类型的数据对象。正在传输的类型由Content-Type加以标记。
4.无连接:无连接的含义是限制每次连接只处理一个请求。服务器处理完客户的请求,并收到客户的应答后,即断开连接。采用这种方式可以节省传输时间。
5.无状态:HTTP协...
分类:
Web程序 时间:
2014-11-04 09:26:07
阅读次数:
256
#include#include#includeusing namespace std;const int maxn = 1111;int len;int head[maxn];//int father[maxn];struct Node{ int to; int next;}e[maxn *...
分类:
其他好文 时间:
2014-11-04 08:06:48
阅读次数:
223
<html><head> <title>aaaa</title></head><body> <inputtype="checkbox"checkedfalse"/> <inputtype="checkbox"checkeddisabled/></body></html>
分类:
其他好文 时间:
2014-11-04 06:56:27
阅读次数:
115