文件核心 属性知识 35111123 -rwx-w x. 1 root root 188 May 12 16:20 oldboy.txt 第一列 索引节点(数字) 第二列 首字符代表文件类型 中间9个字符,文件权限 .和selinux(高级安全组建)相关符号 第三列 硬链接数 第四列 文件对应的用户 ...
分类:
其他好文 时间:
2021-06-10 17:46:25
阅读次数:
0
简介 思路: 个数和序号相等 code class Solution { int size = 0; int maxCode = 0; public boolean isCompleteTree(TreeNode root) { if(root == null) return true; recur ...
分类:
其他好文 时间:
2021-06-10 17:38:44
阅读次数:
0
#!/bin/bash# 设置mysql的登录用户名和密码(根据实际情况填写)mysql_user="root"mysql_password="skyland"mysql_host="10.230.130.10"mysql_port="3306"mysql_charset="utf8mb4" # 备 ...
分类:
数据库 时间:
2021-06-10 17:38:08
阅读次数:
0
配置示例 # setting.py配置如下 ## 访问 http://IP/static/***.css STATIC_URL = '/static/' ## python manage.py collectstatic时,把所有静态文件聚集到此目录下 STATIC_ROOT = os.path.j ...
分类:
其他好文 时间:
2021-06-10 17:37:06
阅读次数:
0
给定一个二叉树, 找到该树中两个指定节点的最近公共祖先。 百度百科中最近公共祖先的定义为:“对于有根树 T 的两个结点 p、q,最近公共祖先表示为一个结点 x,满足 x 是 p、q 的祖先且 x 的深度尽可能大(一个节点也可以是它自己的祖先)。” 特判不为空过后,一定要马上判断root是否等于p或q ...
分类:
其他好文 时间:
2021-06-09 10:30:45
阅读次数:
0
github上找到的然后自己稍微改了一下,省的后面要找找不到 地址 // 搜索下拉框 var flag = true ; (function(root, factory) { if (typeof exports 'object') { //umd module.exports =factory($ ...
分类:
其他好文 时间:
2021-06-08 23:35:31
阅读次数:
0
本文接下来,示例将数据库data移到E盘:4、首先通过cmd进入控制台,输入: mysql -u root -p 然后输入密码,进入mysql. 进入mysql之后,通过如下命令查看data默认存储路径: show variables like '%dir%'; 路径如图: 5、接下来,就可以修改d ...
分类:
数据库 时间:
2021-06-08 23:34:24
阅读次数:
0
源码下载地址:https://www.postgresql.org/ftp/source/ [root@muze1 data]# wget https://ftp.postgresql.org/pub/source/v13.2/postgresql-13.2.tar.gz-- 创建用户groupad ...
分类:
其他好文 时间:
2021-06-08 23:32:32
阅读次数:
0
Ref: http://blogs.quovantis.com/browser-specific-hacks-for-frontend-developers/ Internet Explorer Css hacks :root .selector { Property: Value\9; color ...
分类:
Web程序 时间:
2021-06-08 23:20:07
阅读次数:
0
今天调试C++ 连接mysql数据库,用localhost可以成功,但换成本地IP地址则报错, 后参考网上博文,采用命 GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'root' WITH GRANT OPTION; flush pr ...
分类:
数据库 时间:
2021-06-08 23:13:25
阅读次数:
0