使网页旋转代码: javascript:window.i=1;setInterval(function(){i++;document.body.style.cssText+="-webkit-transform: rotate(-"+i+"deg);-moz-transform: rotate(-" ...
分类:
Web程序 时间:
2016-09-11 12:41:07
阅读次数:
187
var start=Date.now();document.write("<h1>This is a paragraph.</h1>");function myFunction() { x=document.getElementById("demo"); x.innerHTML="Hello Jav ...
分类:
编程语言 时间:
2016-09-11 10:25:24
阅读次数:
169
1.Ajax的核心知识 1.1 XMLHttpRequest对象 function loadName(){ var xmlHttp; if(window.XMLHttpRequest){ xmlHttp = new XMLHttpRequest(); }else{ xmlHttp = new Act ...
分类:
Web程序 时间:
2016-09-11 09:05:18
阅读次数:
184
Write a function to delete a node (except the tail) in a singly linked list, given only access to that node. Supposed the linked list is 1 -> 2 -> 3 - ...
分类:
其他好文 时间:
2016-09-11 06:51:34
阅读次数:
125
Given an array nums, write a function to move all 0's to the end of it while maintaining the relative order of the non-zero elements. For example, giv ...
分类:
其他好文 时间:
2016-09-11 06:49:06
阅读次数:
185
Function Time Limit: 7000/3500 MS (Java/Others) Memory Limit: 262144/262144 K (Java/Others) Problem Description The shorter, the simpler. With this pr ...
分类:
其他好文 时间:
2016-09-11 01:35:10
阅读次数:
377
今天我们主要学了函数的相关知识,是个比较基础的知识,但也是很重要的。 一、函数 函数就类似于一个工具,我们写好函数之后可以直接进行调用,可以很大的减少代码的从用性,提高页面性能和可读性。 1.函数的定义 在php中函数的定义方式为: function name($形参1,$形参2.....){ 要执 ...
分类:
Web程序 时间:
2016-09-10 23:56:04
阅读次数:
239
分部应用 带入函数中的一些参数 在上一篇关于柯里化的文章中,我们了解它将多参数函数分为较小的一个参数函数。这是数学上一种正确的方式,但是不是它可以运行的唯一原因-它也导致出现一个叫做分部函数应用(partial function application)的非常强大的技术。在函数式编程中,被宽泛的使用 ...
分类:
其他好文 时间:
2016-09-10 23:45:30
阅读次数:
220
系统启动和内核管理CentOS5和6的启动流程服务管理Grub管理自制Linux启动排错编译安装内核Linux组成Linux:kernel+rootfskernel:进程管理、内存管理、网络管理、驱动程序、文件系统、安全功能rootfs:程序和glibc库:函数集合,function,调用接口(头文件负责描述)过程调用:proce..
分类:
其他好文 时间:
2016-09-10 22:30:01
阅读次数:
355
<!DOCTYPEhtml><htmllang="en"><head><metacharset="UTF-8"><title></title></head><body><divid="search_conditions"><divclass="condition"><aonclick="AddCondition(this,‘#search_conditions‘)">+</..
分类:
其他好文 时间:
2016-09-10 22:25:54
阅读次数:
218