XPATH 在xml文件中查找信息的一套规则,根据xml的元素或属性进行遍历 参考资料 https://www.w3school.com.cn/xpath/index.asp 开发工具 开源的XPATH表达式编辑工具:XMLQuire chrome插件:xpath helper firefox插件: ...
分类:
其他好文 时间:
2020-02-18 14:40:20
阅读次数:
56
1.jsp向js中传入参数 语法:var a = "<%=要传入的变量 %>",一定要加双引号。 var history_price = "<%=shoes.getHistory_price() %>"; 2.js中字符串截取 ①slice() 第一个参数代表开始位置,第二个参数代表结束位置的下一个 ...
分类:
其他好文 时间:
2020-02-16 22:14:56
阅读次数:
90
[toc] 1.插入文档:insert 语法: 1.1 插入一条文档 (1) 此处的db为数据库名,如果在程序中往数据库插入值的话,则应该写成:fruitsdb.fruitsInfo.insert({"name":"apple",price:10}) (2) insert命令,会自动产生一个ID ( ...
分类:
数据库 时间:
2020-02-15 15:35:49
阅读次数:
75
1 [Serializable] 2 public class Product 3 { 4 public Product() 5 { 6 7 8 } 9 10 public Product(string id,string pname,int num,double price) 11 { 12 th ...
分类:
其他好文 时间:
2020-02-15 09:53:38
阅读次数:
69
C++友元函数 今天学到一个特别有意思的东西,甚至是C++独有的东西,叫做 友元函数 。类的友元函数是定义在类外部,但有权访问类的所有 私有(private) 成员和 保护(protected) 成员。尽管友元函数的原型有在类的定义中出现过, 但是友元函数并不是成员函数。 友元可以是一个函数,该函数 ...
分类:
编程语言 时间:
2020-02-11 22:00:50
阅读次数:
80
*Catalog 1. Simulation for GBM Price Process 2. Simulation for Cost of Hedging 1. Simulation for GBM Price Process (1) Pre-determine S0, drift mu, vol ...
分类:
其他好文 时间:
2020-02-11 09:17:14
阅读次数:
80
Pytorch冲冲冲 2.10 1. Dropout 2. BackPropagation 3. 梯度衰减和爆炸 4. house price predict 2.11 1. K折交叉验证法 2. conv layer 3. padding and strides 4. channels 5. po ...
分类:
其他好文 时间:
2020-02-11 00:04:53
阅读次数:
63
常用于文本格式化 <div class="pro-price">{{item.price | currency}}</div> filters:{ currency(val){ if (val){ return `¥${val.toFixed(2)}元` } } }, ...
分类:
其他好文 时间:
2020-02-09 16:46:07
阅读次数:
62
<#list animals as animal> <tr> <td>${animal.name}</td> <td>${animal.price}</td> </tr></#list> ...
分类:
其他好文 时间:
2020-02-08 11:52:24
阅读次数:
90
第八章,一些dom操作,和几个常用的函数 var s= document.getElementById("new"); console.log(s.length); var a= document.getElementsByTagName("li")[0]; console.log(a); var ...
分类:
Web程序 时间:
2020-02-08 09:55:31
阅读次数:
74