Unicode是计算机领域的一项行业标准,它对世界上绝大部分的文字的进行整理和统一编码,Unicode的编码空间可以划分为17个平面(plane),每个平面包含2的16次方(65536)个码位。17个平面的码位可表示为从U+0000到U+10FFFF,共计1114112个码位,第一个平面称为基本多语 ...
分类:
其他好文 时间:
2018-05-02 19:11:19
阅读次数:
167
1 package encrypt; 2 3 import java.security.Key; 4 import java.security.SecureRandom; 5 import java.util.Base64; 6 import java.util.Base64.Decoder; 7 ... ...
分类:
其他好文 时间:
2018-04-30 17:56:02
阅读次数:
169
代码 optparse模块 optparse is a more convenient, flexible, and powerful library for parsing command line options than the old getopt module. 正如官方文档所说 The ...
分类:
编程语言 时间:
2018-04-30 17:52:02
阅读次数:
197
(学习自慕课网中《所向披靡的响应式开发》课程中) 一.如何组织项目目录结构 1.约定优于配置 2.约定代码结构或命名规范来减少配置数量 (没有最好的组织方式,只有合适的组织方式) 样式放入CSS文件下,main.css是通用样式,normalize.css是引用样式,login是的登录样式。 脚本放 ...
分类:
其他好文 时间:
2018-04-28 01:22:12
阅读次数:
843
做个最简单的示范吧 创建一个Cube(也可以是你自己想要的gameObject) 点击Component->Effects->trail renderer Inspector里会出现 将你想要的尾巴材质 拖入Element 0里面 如果没有添加材质球的话,出现的尾巴可能是粉红色的一条带状物 以后遇到 ...
分类:
移动开发 时间:
2018-04-27 19:57:41
阅读次数:
272
Circle and Points Time Limit: 5000MS Memory Limit: 30000K Total Submissions: 8346 Accepted: 2974 Case Time Limit: 2000MS Description You are given N p ...
分类:
编程语言 时间:
2018-04-26 21:44:32
阅读次数:
230
详见:https://leetcode.com/problems/freedom-trail/description/ C++: 参考:http://www.cnblogs.com/grandyang/p/6675879.html ...
分类:
其他好文 时间:
2018-04-22 16:33:23
阅读次数:
375
1.下载客户端,设置可执行权限; # 下载 Certbot 客户端 (Centos6以上 先安装epel)$ wget https://dl.eff.org/certbot-auto # 设为可执行权限$ chmod a+x certbot-auto 2. 申请通配符证书,效验域名所有权; $ ./ ...
分类:
其他好文 时间:
2018-04-18 14:27:16
阅读次数:
182
centos+nginx申请Let's Encrypt 通配符HTTPS证书 原创 2018年03月27日 17:23:31 标签: https 98 原创 2018年03月27日 17:23:31 标签: https 98 一、下载certbot [plain] view plain copy # ...
分类:
Web程序 时间:
2018-04-12 14:21:17
阅读次数:
188
获取用户信息 wx.getUserInfo({ withCredentials: true, success: function (res) { var nickName = res.userInfo.nickName; var avatarUrl = res.userInfo.avatarUrl; ...
分类:
微信 时间:
2018-04-12 10:32:56
阅读次数:
553