码迷,mamicode.com
首页 >  
搜索关键字:head    ( 28286个结果
ceph-dash一键安装
start_dash.sh tar-zxvf./ceph-dash.tar.gz cdceph-dash perlstart.pl stop_dash.sh value=`ps-ef|grep"python./ceph-dash.py"|awk‘{print$2}‘|head-1` echo$value kill-9$value &KillThread(); my$Usee=system("whoami"); if($User!="root") { die"Thisscriptmustb..
分类:其他好文   时间:2014-11-21 16:27:36    阅读次数:148
LeetCode:Insertion Sort List
题目描述: Sort a linked list using insertion sort. 思路:在head之前插入一个假头结点,便于在head节点之前插值。遍历链表,对于每一个节点,在它前面的有序的节点中找到第一个比它大的节点,将它插到该节点的前面。链表遍历结束后即得到有序链表。 代码: ListNode * Solution::insertionSortList(...
分类:其他好文   时间:2014-11-21 10:38:31    阅读次数:148
Leetcode-Swap Nodes in Pairs
Given a linked list, swap every two adjacent nodes and return its head. For example,Given 1->2->3->4, you should return the list as 2->1->4->3.Your al...
分类:其他好文   时间:2014-11-21 06:55:40    阅读次数:187
[ES6] 09. Destructuring Assignment -- 2
Read More:http://es6.ruanyifeng.com/#docs/destructuringArray“模式匹配”,只要等号两边的模式相同,左边的变量就会被赋予对应的值:Exp 1:var [head, ...tail] = [1, 2, 3, 4];console.log(hea...
分类:其他好文   时间:2014-11-21 06:53:49    阅读次数:189
HTML 头部标签
<!DOCTYPE?html> <html?lang="zh-cmn-Hans"> <head> ????<meta?charset="utf-8"> ????<meta?name="viewport"?content="width=device-width,initial-scale=1,?user-scalable=yes"> ????<meta...
分类:Web程序   时间:2014-11-20 17:13:28    阅读次数:194
QQ互联Oauth2.0认证测试
我不太喜欢讲原理,喜欢按照应用流程一步步完成一个测试项目,然后掉过头来看原理。如此。首先,我们得建一个应用,这无可厚非。来个网站应用吧!填写基本信息时,有个网站地址,我们填写一个自己所维护的外部网站页面地址。在HEAD标签里按照提示,嵌入验证代码,并加以验证。回调地址填写相应的域名。示例: 在新建....
分类:其他好文   时间:2014-11-20 16:58:32    阅读次数:337
JSP页面ajax提交登录数据demo
<%@?page?language="java"?contentType="text/html;?charset=UTF-8" ????pageEncoding="UTF-8"%> <!DOCTYPE?HTML> <html> <head> <meta?http-equiv="Content-Type"?content="text/html;?charset=utf...
分类:Web程序   时间:2014-11-20 13:51:59    阅读次数:182
实验楼项目学习笔记-网页2048
首先我们需要有一张4X4的表格: <!DOCTYPE?html> <html> <head> ????<meta?charset="UTF-8"> ????<meta?name="viewport"?content="width=device-width,?height=device-height,?initial-scale=1.0,?...
分类:Web程序   时间:2014-11-20 13:50:39    阅读次数:305
AVR第6课:数码管显示
这一节我们将讲解数码管的使用,由于原理在学51单片机的时候已经学习过,在这里只需要利用前面学习的对AVR单片机的IO口操作方式就可以自己写练习题了。 下面的数码管是共阳极数码管。 代码:显示从0到9。 /* *author:ChenLu *date:2014.11.20 */ //input the head file so that the program can work norm...
分类:其他好文   时间:2014-11-20 13:44:15    阅读次数:162
js 实现显示局部方法的效果
网站上面有些时候一些小小的动作可能引起别人的瞩目,可能会增加别人对自己网站的兴趣,这是一个局部放大的小例子。先放上去,等到后期我有空了,再添加点东西把它变成一个插件。<head><title></title><scriptsrc="js/jquery-1.8.3.min.js"type="text/jav..
分类:Web程序   时间:2014-11-20 12:13:44    阅读次数:223
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!