1)引入javascript ?
<link?href="/static/switch/bootstrap-switch.css"?rel="Stylesheet"?type="text/css"?/>????????????
<script?src="/static/switch/bootstrap-switch.js"></script>
<...
分类:
其他好文 时间:
2015-09-23 15:12:29
阅读次数:
201
Notepad++ Emmet安装后出现 unknown exception提示插件无效Python Script Plugin did not accept the script。以下为记录解决方法和过程,在此记录备查。Emmet的前身是大名鼎鼎的Zen coding,Web前端开发的话,对该插件...
分类:
其他好文 时间:
2015-09-23 14:50:29
阅读次数:
266
html页面时间实例:<!DOCTYPEhtml><html> <head> <metacharset="utf-8"/> <title>时间</title> </head> <body> <h1id="timer"></h1> </body></html><script> //日期类型:date vardate=newDa..
分类:
Web程序 时间:
2015-09-23 11:54:46
阅读次数:
157
页面详细信息的显示和隐藏 <!DOCTYPE?html>
<html>
<head>
<title></title>
</head>
<body>
<script?type="text/javascript">
function?show_detail(detail){
var?p=document.getElementById(‘p‘);
if(detail...
分类:
编程语言 时间:
2015-09-22 23:50:06
阅读次数:
367
<!doctype html> <html> <head> ? ? <meta charset="UTF-8"> ? ? <title>Document</title> ? ? <link rel="stylesheet" href="easyui.css"/> ? ? <script src="jquery-1.8.3.js"></script> ? ? <!--<s...
分类:
Web程序 时间:
2015-09-22 19:15:11
阅读次数:
174
一sed:streameditor,流编辑器;awk(gawk):文本格式化工具,报告生成器二sedstreameditorforfilteringandtransformingtextsed[OPTION]...{script-only-if-no-other-script}[input-file]...工作机制:每次读取一行文本至“模式空间(patternspace)”中,在模式空间中完成处理;将..
分类:
其他好文 时间:
2015-09-22 19:06:42
阅读次数:
207
sed命令工作机制:每次读取一行文本至“模式空间(patternspace)”中,在模式空间中完成处理;将处理结果输出至标准输出设备;语法:sed[OPTION]...{script}[input-file]...[OPTION]说明-r:支持扩展正则表达式;例:sed-rn‘/(450|300)/p‘testfile-n:静默模式;sed默认输出处理后..
分类:
系统相关 时间:
2015-09-22 19:04:06
阅读次数:
242
Awk命令Awk语法:awk[options]–fscriptfilevarvaluefile(s)awk[options]‘script’var=valuefile(s)其中‘script’由pattern{action}组成pattern包括以下几种:u正则表达式(例/^a/{action})u关系表达式(例’$1>5’或’$1==“abc”’用运算符表中的关系运算符进行操作)..
分类:
系统相关 时间:
2015-09-22 19:02:37
阅读次数:
326
官方页面:http://www.mono-project.com/docs/about-mono/supported-platforms/osx/#uninstalling-mono-on-mac-os-xUninstalling Mono on Mac OS XRun this script in...
分类:
系统相关 时间:
2015-09-22 18:50:53
阅读次数:
185
数组与字符串的相互转化 <script type="text/javascript"> var obj="new1abcdefg".replace(/(.)(?=[^$])/g,"$1,").split(",");?????? //字符串转化为数组 var obj2 = "new2abcdefg".split("");??????...
分类:
编程语言 时间:
2015-09-22 13:09:41
阅读次数:
222