一、Describe 将真机系统换成了Ubuntu19后,配置所需的环境。 每个Ubuntu版本所预装的Python版本都有所不同,当然Python2是必须的。 我当前的Ubuntu19.10除了Python2,还预装了Python3.7。通常情况下,已经不需要改动了。但有些环境、项目仍然需要特定的 ...
分类:
编程语言 时间:
2020-04-15 01:07:46
阅读次数:
93
using System;using System.IO;using System.Text;using System.Security.Cryptography; namespace Elight.Infrastructure{ /// <summary> /// 字符串加密解密方法扩展类。 // ...
分类:
其他好文 时间:
2020-04-14 22:29:27
阅读次数:
74
The lowest common ancestor (LCA) of two nodes U and V in a tree is the deepest node that has both U and V as descendants. A binary search tree (BST) i ...
分类:
其他好文 时间:
2020-04-14 18:37:40
阅读次数:
59
[TOC] 一、使用executeLargeUpdate方法执行DDL和DML语句 statement提供了三个方法执行SQL语句,executeQuery()用于执行查询语句,executeLargeUpdate(或executeUpdate())用于执行DDL和DML语句,区别在于执行DDL语句 ...
分类:
数据库 时间:
2020-04-14 12:37:21
阅读次数:
67
<!DOCTYPE html> <html> <head> <meta http-equiv="content-type" content="text/html" /> <meta name="keywords" content="数组转换成前端更容易解析的树状结构" /> <meta name=" ...
分类:
编程语言 时间:
2020-04-13 22:26:00
阅读次数:
66
1 4.6.1 分区表基本操作 2 1.引入分区表(需要根据日期对日志进行管理) 3 /user/hive/warehouse/log_partition/20170702/20170702.log 4 /user/hive/warehouse/log_partition/20170703/2017 ...
分类:
其他好文 时间:
2020-04-13 22:23:13
阅读次数:
56
一、token与cookie相比较的优势1、支持跨域访问,将token置于请求头中,而cookie是不支持跨域访问的; 2、无状态化,服务端无需存储token,只需要验证token信息是否正确即可,而session需要在服务端存储,一般是通过cookie中的sessionID在服务端查找对应的ses ...
分类:
编程语言 时间:
2020-04-13 19:31:25
阅读次数:
189
encodeURI和encodeURIComponent 这两个方法可以对url进行编码 encodeURI方法不会对下列字符编码: ASCII字母、数字、~!@#$&*()=:/,;?+' encodeURIComponent方法不会对下列字符编码 : ASCII字母、数字、~!*()' 所以en ...
分类:
其他好文 时间:
2020-04-13 13:59:07
阅读次数:
77
1.从官网下载sublime text3 2.下载插件 A.使用Ctrl+`(Esc键下方)快捷键或者通过View->Show Console菜单打开命令行 将以下代码复制后粘贴,然后按Enter(回车),稍等片刻。 import urllib.request,os; pf = 'Package C ...
分类:
其他好文 时间:
2020-04-13 10:27:46
阅读次数:
74
mac docker desktop 安装k8s k8s 一直在starting 在能访问外网情况下 然后 安装dashboard 参考 https://github.com/kubernetes/dashboard k8s 生成token kubectl -n kube-system descri ...
分类:
系统相关 时间:
2020-04-13 01:05:57
阅读次数:
151