我发现有些人习惯在 /etc/profile 文件里面配置环境变量,在这里配置挺不好的。 # /etc/profile: system-wide .profile file for the Bourne shell (sh(1)) # and Bourne compatible shells (ba ...
分类:
系统相关 时间:
2020-11-01 10:17:26
阅读次数:
24
package LeetCode_153 /** * 153. Find Minimum in Rotated Sorted Array https://leetcode.com/problems/find-minimum-in-rotated-sorted-array/ Suppose an ar ...
分类:
其他好文 时间:
2020-11-01 10:11:19
阅读次数:
19
在学io流遇到的路径中斜杠与反斜杠中遇到的问题的记录 1、编程中路径的分隔符该用哪个? 代码如下: public class Demo01 { public static void main(String[] args) { File f = new File("d:\\LOLFolder\\LOL ...
分类:
其他好文 时间:
2020-11-01 10:10:37
阅读次数:
23
内置对象方法汇总 常用内置对象的方法 String 定义,切片,长度,替换,编列..... 列表/元组 定义,使用,循环遍历...... 字典 定义,使用,循环遍历....... 集合Set 连接数据库! 各种内置模块 os,file,re,time,json....... 1. 字符串String ...
分类:
编程语言 时间:
2020-11-01 10:04:08
阅读次数:
27
常用内置对象的方法 String 定义,切片,长度,替换,编列..... 列表/元组 定义,使用,循环遍历...... 字典 定义,使用,循环遍历....... 集合Set 连接数据库! 各种内置模块 os,file,re,time,json....... 字符串String 定义: 一串字符! 用 ...
分类:
其他好文 时间:
2020-11-01 10:00:42
阅读次数:
18
RUN find . | sed -e "s/[^-][^\/]*\// |/g" -e "s/|\([^ ]\)/|-\1/" ...
分类:
其他好文 时间:
2020-11-01 09:30:21
阅读次数:
17
下载 下载地址:http://maven.apache.org/download.cgi。下载maven文件并解压。 配置环境变量 编辑.bash_profile文件: vim ~/.bash_profile 配置maven文件地址: export M2_HOME=/Users/xxx/Docume ...
分类:
系统相关 时间:
2020-10-31 02:38:28
阅读次数:
30
????点进来你就知道什么回事,每一次遇见都是你的幸运???? ...
分类:
其他好文 时间:
2020-10-31 02:07:17
阅读次数:
17
中文官方文档地址:http://www.redis.cn/topics/persistence.html Redis 持久化 Redis 提供了不同级别的持久化方式: RDB持久化方式能够在指定的时间间隔能对你的数据进行快照存储. AOF持久化方式记录每次对服务器写的操作,当服务器重启的时候会重新执 ...
分类:
其他好文 时间:
2020-10-31 01:46:37
阅读次数:
17
paramiko是一个基于SSH2的Python三方包,可以用于连接远程服务器,执行命令或上传下载文件等。 使用SSH连接远程服务器并执行命令 import paramiko paramiko.util.log_to_file('syslogin.log') # 设置运行日志 ssh_cli = p ...
分类:
编程语言 时间:
2020-10-31 01:40:01
阅读次数:
20