码迷,mamicode.com
首页 >  
搜索关键字:head tail ‘tail -f’ ‘tail -f’    ( 36072个结果
实习第一天
网页手机wap2.0网页的head里加入下面这条元标签,在iPhone的浏览器中页面将以原始大小显示,并不允许缩放。 width - viewport的宽度 height - viewport的高度 initial-scale - 初始的缩放比例minimum-scale - 允许用户缩放到的最小比...
分类:其他好文   时间:2014-09-15 15:38:39    阅读次数:228
ASP.NET MVC 使用jquery.form.js 异步上传 在IE下返回值被变为下载的解决办法
错误记录: 如上代码,在页面进行异步上传。在chrome浏览器下,返回的值会在页面中显示。但在IE8下(项目需要,只测试了IE8),返回值变为了下载。 查询原因,最终定位到异步返回的Response Head上。这里的Response Head中,Content-Type为application.....
分类:Web程序   时间:2014-09-15 12:42:28    阅读次数:183
top 第一次数据不准确
线上服务器会用top监控服务器性能,最近改了游戏架构..开发老大经常会查询这些数据,,发现第一次top数据不准..原因不知道是不是top第一次读取的缓存数据..解决办法,,top2次,过滤掉第一次数据.top-b-n2-d0.01|awk‘/^top/{i++}i==2‘|head-n15
分类:其他好文   时间:2014-09-15 11:26:09    阅读次数:354
[leetcode]Swap Nodes in Pairs @ Python
原题地址:http://oj.leetcode.com/problems/swap-nodes-in-pairs/Given a linked list, swap every two adjacent nodes and return its head.For example,Given 1->2...
分类:编程语言   时间:2014-09-15 06:38:18    阅读次数:200
浮动定位
<!DOCTYPE?html?PUBLIC?"-//W3C//DTD?XHTML?1.0?Transitional//EN"?"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html?xmlns="http://www.w3.org/1999/xhtml"> <head> <meta?http-equi...
分类:其他好文   时间:2014-09-14 23:47:38    阅读次数:453
map area 鼠标跟随
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"><head> <meta http-equiv="Content...
分类:其他好文   时间:2014-09-14 19:28:37    阅读次数:293
Git中HEAD和ORIG_HEAD指针指的是什么
一次版本回退后,在历史记录里面看到了这样一张图: master和dev指针指向的是本地的master分支和dev分支,origin/master和origin/dev指向的是远程仓库的master分支和dev分支,这个很好理解。 HEAD指针代表当前工作路径,HEAD与master指向同一id说明当前处在master分支,这个也不难理解。 关键是ORIG_HEAD指针是个什么东西?翻了翻...
分类:其他好文   时间:2014-09-14 19:23:27    阅读次数:226
双向链表(插入,删除,追加,正反向遍历,查找。。。)
双向链表(插入,删除,追加,正反向遍历,查找。。。) #include #include using namespace std; class List { public: List(void) : m_head(NULL), m_tail(NULL), m_size(0){} ~List(void) { for(Node* node = m_head; m_head; m_head = node) { node = m_he...
分类:其他好文   时间:2014-09-14 19:21:27    阅读次数:230
PHP获得网页源码
获取网页源代码: $line) { echo "Line {$line_num} : " . htmlspecialchars($line) . "/n";}?>获取网页的标题:(.*)", $lines_string, $head);echo $head[0];?>
分类:Web程序   时间:2014-09-14 13:58:47    阅读次数:137
dojo框架用hitch实现函数与上下文的绑定
dojo框架:http://dojotoolkit.org/ <!DOCTYPE?html> <html> <head> ????<meta?charset="UTF-8"> ????<title>dojo框架绑定函数与上下文</title> ????<script??src?=?"dojo/dojo/dojo.js"??>...
分类:其他好文   时间:2014-09-14 11:34:37    阅读次数:213
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!