text-decoration: none; /*去除a标签下划线*/background: url(img/a-bg.png)no-repeat center center; /*插入背景图片*/line-height: 25px; /*行高*/outline:none; /*去除input样式*...
分类:
Web程序 时间:
2014-10-27 00:15:25
阅读次数:
312
text()、html() 以及 val(),同样拥有回调函数。回调函数由两个参数:被选元素列表中当前元素的下标,以及原始(旧的)值。然后以函数新值返回您希望使用的字符串。1.text() - 设置或返回所选元素的文本内容2.html() - 设置或返回所选元素的内容(包括 HTML 标记)3.va...
分类:
Web程序 时间:
2014-10-27 00:14:42
阅读次数:
313
using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace ListSort{ class Program { static void Main(st...
分类:
编程语言 时间:
2014-10-27 00:12:52
阅读次数:
198
利用开关电路稳压有一个好处:采用开关电路们可以降低损耗。比如你从100V要得到5V1A的降压效果,如果用电阻分压,电阻上就要有95V1A,耗电95W。如果用开关稳压芯片,可能耗电不到1W。开关电源纹波较大,可以采用线性稳压芯片,或组合。好处:1可以得到稳定的电压;这是最关键的2开关芯片可以降低功耗,...
分类:
其他好文 时间:
2014-10-26 22:53:56
阅读次数:
307
PHP 原生的similar_text()函数、levenshtein()函数对中文汉字支持不好,我自己写了一个similar_text()中文汉字版 1 $d[$mb_len1][$mb_len2], 'count_same_letter' => $count_same_letter);...
分类:
Web程序 时间:
2014-10-26 22:31:06
阅读次数:
276
============================创建基于栈的数组(高性能,低系统开销)//数组的类型必须为值类型usingSystem;
usingSystem.Collections.Generic;
usingSystem.Linq;
usingSystem.Text;
usingSystem.Threading.Tasks;
namespaceConsoleApplication1
{
classProgram
{
staticunsa..
分类:
其他好文 时间:
2014-10-26 19:53:53
阅读次数:
232
jenkins参数有一种text类型,可以复制文本段落作为参数newlisp程序接收的参数是用空格分隔的,较好的方法是在jekis的console里面调用newlisp脚本的时候加上双引号,比如:cd code
./mail.lsp ${receiver} ${title} "${msg}"这里${msg}是文本参数...
分类:
其他好文 时间:
2014-10-26 19:49:46
阅读次数:
158
Given an array of words and a lengthL, format the text such that each line has exactlyLcharacters and is fully (left and right) justified.You should p...
分类:
其他好文 时间:
2014-10-26 18:19:51
阅读次数:
204
var_dump 判断一个变量的类型与长度如:echo仅输出变量或字串print_r输出数组 a [1] => b [2] => c ) ?>
分类:
Web程序 时间:
2014-10-26 18:16:40
阅读次数:
160
Given an array of words and a length L, format the text such that each line has exactly L characters and is fully (left and right) justified.
You should pack your words in a greedy approach; that i...
分类:
其他好文 时间:
2014-10-26 17:05:25
阅读次数:
175