file:index.html<!DOCTYPEhtml><html> <head> <linktype="text/css"rel="stylesheet"href="stylesheet.css"/> <title>KrisWu</title> </head> <bodybgcolor="#99CCFF"> <!--Gobananas!--> <table> <thead..
分类:
Web程序 时间:
2016-10-05 01:16:43
阅读次数:
175
一、HTML 模板 使用 React 的网页源码,结构大致如下。 上面代码有两个地方需要注意。首先,最后一个 <script> 标签的 type 属性为 text/babel 。这是因为 React 独有的 JSX 语法,跟 JavaScript 不兼容。凡是使用 JSX 的地方,都要加上 type ...
分类:
Web程序 时间:
2016-10-04 18:35:15
阅读次数:
349
编译busybox的时候出现了一个问题: sync.c:(.text.sync_main+0x78): undefined reference to `syncfs' collect2: ld returned 1 exit status make: *** [busybox_unstripped] ...
分类:
系统相关 时间:
2016-10-04 18:28:06
阅读次数:
770
请求对象:request public String getParameter(String name); 通过request的getParameter(String name)方法获取 表单里面的name信息 示列: HTML代码 <input type="text" name="userName ...
分类:
其他好文 时间:
2016-10-04 16:34:26
阅读次数:
184
在用sublime text3编写Python2代码时总觉得注释颜色太浅了, 看起来吃力,于是就尝试去修改,和sublime text2不同, sublime text3的主题配置文件在Sublime Text 3\Packages\Color Scheme - Default.sublime-pa ...
分类:
其他好文 时间:
2016-10-04 14:13:53
阅读次数:
1883
命令面板/命令模式:ctrl+shift+pctrl+cctrl+v → ctrl+shift+v粘贴时会保持原格式(缩进)ctrl+sctrl+z撤销ctrl+y恢复撤销在当前行下面添加一行:ctrl+enter在当前行上面添加一行:ctrl+shift+enter添加注释:ctrl+/取消注释: ...
分类:
其他好文 时间:
2016-10-04 11:41:36
阅读次数:
467
一传递参数页面index.html<!DOCTYPEhtml><html><head><metacharset="UTF-8"><title>jquery通过url传递和接收参数</title><styletype="text/css">h1{text-align:center;}</style></head><body><h1>jquery通..
分类:
Web程序 时间:
2016-10-04 08:02:57
阅读次数:
180
jquery防止表单重复提交tm=calcSubmitCnt(){
cnt=parseInt($().text())cnt=cnt+$().text(cnt)$().attr()}
$((){
$().click((){
($().attr()==){
}
$().attr()clearTimeout(tm)tm=setTimeout()})})提交您已经提交了0次html源代码需要自己下载jquery库
分类:
Web程序 时间:
2016-10-04 07:41:55
阅读次数:
136
求括号外最长单词长度,和括号里单词个数。 有限状态自动机处理一下。 http://codeforces.com/problemset/problem/723/B Examples input 37_Hello_Vasya(and_Petya)__bye_(and_OK) output 5 4 inp ...
分类:
其他好文 时间:
2016-10-04 07:26:56
阅读次数:
248
Modern text editors usually show some information regarding the document being edited. For example, the number of words, the number of pages, or the n ...
分类:
其他好文 时间:
2016-10-04 01:43:18
阅读次数:
224