一、系统配置 1、关闭sudo密码 为了避免每次使用sudo命令时都输入密码,我们可以将密码关闭。操作方法: 1、终端输?命令 sudo visudo ,打开 visudo; 2、找到 %sudo ALL=(ALL:ALL) ALL 这??修改为 %sudo ALL=(ALL:ALL) NOPASS ...
分类:
系统相关 时间:
2020-08-08 17:33:00
阅读次数:
152
There are n cities connected by m flights. Each flight starts from city u and arrives at v with a price w. Now given all the cities and flights, toget ...
分类:
其他好文 时间:
2020-08-05 10:29:42
阅读次数:
73
union 和 union all 都可以起到连接两个查询字段相同的相同的记录的作用。 union在连接查询的两张表的时候,会自动去除 重复的数据。 union all 在连接查询的时候,只是简单的将两张表中的数据进行连接,不会去除重复的数据。 ...
分类:
数据库 时间:
2020-07-31 14:04:56
阅读次数:
104
1、查看镜像仓库里有什么镜像 yum --enablerepo="name" --disablerepo="*" --list 2、增加包后,需要重新生成repo createrepo rpm文件夹 3、如果需要清除缓存 yum clean all ...
分类:
其他好文 时间:
2020-07-31 12:30:43
阅读次数:
94
题干 Suppose that all the keys in a binary tree are distinct positive integers. Given the postorder and inorder traversal sequences, you are supposed to ...
分类:
其他好文 时间:
2020-07-29 21:34:20
阅读次数:
77
总结 (1)技术选型,先看业务需求,任务脱离需求的技术选型,就是耍流氓 (2)早期架构:ALL in one (3)早期造型依据:熟悉的,擅长的 (4)建议选型:PHP体系(Linux,Apache,MySQL,PHP),JAVA体系(Linux,Tomcat,MySQL,Java) (5)早期主要 ...
分类:
其他好文 时间:
2020-07-29 21:31:11
阅读次数:
76
2020/07/29 bootstrap bootstrapTable在设置固定列宽的时候要先在table标签上加 style="table-layout: fixed;word-break:break-all; word-wrap:break-all;" 不然,width无效。 table-lay ...
分类:
其他好文 时间:
2020-07-29 17:48:25
阅读次数:
67
唯一难点应该在于怎么转点吧,直接看代码呗。 //#pragma GCC optimize("-Ofast","-funroll-all-loops") //#pragma GCC optimize(2) //freopen("C://std/a.in","r",stdin); //freopen(" ...
分类:
其他好文 时间:
2020-07-29 17:46:49
阅读次数:
81
Leetcode.27 | Remove Element(Python) Given an array nums and a value val, remove all instances of that value in-place and return the new length. Do no ...
分类:
编程语言 时间:
2020-07-29 14:58:26
阅读次数:
82
Given a string P consisting of only parentheses and asterisk characters (i.e. "(", ")" and ""), you are asked to replace all the asterisk characters i ...
分类:
其他好文 时间:
2020-07-29 12:38:40
阅读次数:
208