现在微信分享的功能很多,从分享的链接下载apk安卓包是很正常的,但是微信不让下载apk包,只能通过浏览器来下载,但是这要给用户一个提示吧,不然用户不知道 下面我们来实现,引导用户通过浏览器来下载apk包 <div class="weixin-tip" style="display:none;"> < ...
分类:
微信 时间:
2019-01-27 21:53:26
阅读次数:
223
1035 Password (20 分) To prepare for PAT, the judge sometimes has to generate random passwords for the users. The problem is that there are always some ...
分类:
其他好文 时间:
2019-01-27 19:14:03
阅读次数:
149
函数说明: 1. from gensim.model import word2vec 构建模型 word2vec(corpus_token, size=feature_size, min_count=min_count, window=window, sample=sample) 参数说明:corp ...
分类:
其他好文 时间:
2019-01-27 14:42:31
阅读次数:
339
Write a function to find the longest common prefix string amongst an array of strings. If there is no common prefix, return an empty string "". Exampl ...
分类:
其他好文 时间:
2019-01-26 11:08:27
阅读次数:
131
给元素注册事件(事件绑定) 事件源.on事件类型 = 事件处理程序 事件监听 事件目标.addEventListener(事件类型,事件处理程序,是否捕获); 事件监听移除元素事件程序 事件目标.removeEventListener(事件类型,事件处理程序名称); 事件流 事件冒泡 现象:从目标阶 ...
分类:
Web程序 时间:
2019-01-24 17:16:04
阅读次数:
208
C++ maps是一种关联式容器,包含“关键字/值”对 begin() 返回指向map头部的迭代器 clear() 删除所有元素 count() 返回指定元素出现的次数 empty() 如果map为空则返回true end() 返回指向map末尾的迭代器 equal_range() 返回特殊条目的迭 ...
分类:
其他好文 时间:
2019-01-23 14:32:41
阅读次数:
223
STL: 容器与迭代器的概念 重载运算符 vector: v.size(); v.push_back(); v[i]; set: set.insert(); set.erase(); set.begin(); set.end();指到最后一个的后一个 set.count(); set.lower_b ...
分类:
其他好文 时间:
2019-01-22 22:57:23
阅读次数:
249
public static JSONArray convertToJSON(ResultSet resultSet) throws Exception { JSONArray jsonArray = new JSONArray(); while (resultSet.next()) { int to... ...
分类:
Web程序 时间:
2019-01-22 10:56:37
阅读次数:
199
? 写这个方法的原因是因为我们需要改版国际化,因为相同的项目有其他分支做过国际化,但是主版本没有进行过国际化,目前需要修改主版本的国际化,但是因为国际化的方式做了结构上的调整所以写了这个工具方法方便去方便修改。 下面我做一下说明 这个是目前版本的国际化方式,是按照目录模块进行的国际化,每个目录一个文 ...
分类:
Web程序 时间:
2019-01-22 01:22:16
阅读次数:
378