Given a string containing only digits, restore it by returning all possible valid IP address combinations. A valid IP address consists of exactly four ...
分类:
其他好文 时间:
2020-07-23 23:22:00
阅读次数:
75
用户表结构中包含用户及其子用户,使用以下方法递归查询当前用户及其子用户信息 with Tusers as(select UserID,PUserID from [Base].[WGUser] where UserID=1union allselect B.UserID,B.PUserID from ...
分类:
其他好文 时间:
2020-07-23 22:28:24
阅读次数:
71
Linux安装Oracle,弹出的oracle安装界面为乱码(方块)处理方法原因分析:oracle安装默认没有中文语言包,只有用英文。解决方法:英文临时解决:$exportLANG=en_US英文永久解决:vi/etc/sysconfig/i18nLANG="en_US"(不会出现乱码)LANG="zh_cn.UTF-8"(中文,安装oracle会出现界面乱
分类:
数据库 时间:
2020-07-23 16:37:35
阅读次数:
135
def get(self, request, *args, **kwargs): # 获取当前页码 pg = int(request.GET.get('page', 1)) obj = Student.objects.all().order_by("id") # 创建分页器对象 page_obj = ...
分类:
其他好文 时间:
2020-07-22 20:58:35
阅读次数:
93
_all 可以改为自己的索引名称,也可以直接执行 curl -XPUT -H "Content-Type: application/json" http://127.0.0.1:9200/_all/_settings -d '{"index.blocks.read_only_allow_delete ...
Given an array arr. You can choose a set of integers and remove all the occurrences of these integers in the array. Return the minimum size of the set ...
分类:
其他好文 时间:
2020-07-22 20:09:57
阅读次数:
70
Given an array nums of n integers where n > 1, return an array output such that output[i] is equal to the product of all the elements of nums except n ...
分类:
其他好文 时间:
2020-07-22 15:50:36
阅读次数:
67
Given a list of folders, remove all sub-folders in those folders and return in any order the folders after removing. If a folder[i] is located within ...
分类:
其他好文 时间:
2020-07-22 15:45:22
阅读次数:
74
总是忘记,自己整理。 GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' WITH GRANT OPTION; #开启mysql远程访问GRANT ALL PRIVILEGES ON *.* TO root@"%" IDENTIFIED BY "root"; #开启m ...
分类:
其他好文 时间:
2020-07-22 11:13:08
阅读次数:
81
一.下载 下载地址:https://www.scala-lang.org/download/all.html 下载对应得版本,有linux安装包、windows安装包,源码包,按需下载 二.windows安装 1)首先确保jdk1.8安装成功 2)解压文件到指定目录 3)配置环境变量 4)验证,如下 ...
分类:
其他好文 时间:
2020-07-22 02:13:37
阅读次数:
107