终端美化仍有很多问题没有搞清楚,先记录一些可以用的东西。 效果 安装 首先检测有没有安装zsh。 cat /etc/shells 如果没有则安装。 sudo pacman -S zsh 然后执行一下代码,并重启一下电脑。 chsh -s $(which zsh) 安装oh-my-zsh cd ~ g ...
分类:
编程语言 时间:
2020-06-07 17:57:01
阅读次数:
109
徐姣美:增加了忘记密码,移除密码的功能,进行密保验证。 代码: @SuppressLint("CommitPrefEdits") private void updatePassword (String passwordText, String questionText, String answerT ...
分类:
其他好文 时间:
2020-06-07 14:51:06
阅读次数:
54
问题: 给出一个数组,和一个目标值target 求一个数值value,将数组中所有>value的数换成value后,使得数组和最接近target Example 1: Input: arr = [4,9,3], target = 10 Output: 3 Explanation: When usin ...
分类:
其他好文 时间:
2020-06-07 14:34:28
阅读次数:
62
一、修改配置文件 1.build->utils.js 增加 :publicPath:'../../' // Extract CSS when that option is specified // (which is the case during production build) if (opt ...
分类:
其他好文 时间:
2020-06-06 14:25:25
阅读次数:
86
ps是显示瞬间进程的状态,并不动态连续;如果想对进程进行实时监控应该用top命令。 This version of ps accepts several kinds of options:PS接受以下3中类型的语法风格 1 UNIX options, which may be grouped and ...
分类:
系统相关 时间:
2020-06-05 19:36:56
阅读次数:
94
Linux系统下查找安装包所在目录 想知道Linux系统下安装了哪些软件包,以及软件包安装在哪个目录下,可以用以下命令 1. which which命令查找出相关命令是否已经在搜索路径中,例子如下:$which gcc //显示出GNC的C编译器安装在哪个目录返回结果为:/usr/bin/gcc注意 ...
分类:
系统相关 时间:
2020-06-05 13:32:12
阅读次数:
192
https://cafbit.com/post/tokio_internals/ December 18, 2017 Tokio is a Rust framework for developing applications which perform asynchronous I/O — an e ...
分类:
其他好文 时间:
2020-06-04 13:37:53
阅读次数:
45
package LeetCode_50 /** * 50. Pow(x, n) * https://leetcode.com/problems/powx-n/description/ * * Implement pow(x, n), which calculates x raised to the ...
分类:
其他好文 时间:
2020-06-04 01:10:44
阅读次数:
68
题目如下: You are given the array paths, where paths[i] = [cityAi, cityBi] means there exists a direct path going from cityAi to cityBi. Return the destin ...
分类:
其他好文 时间:
2020-06-03 23:29:25
阅读次数:
76
1057 Stack (30分) Stack is one of the most fundamental data structures, which is based on the principle of Last In First Out (LIFO). The basic operatio ...
分类:
其他好文 时间:
2020-06-03 00:45:45
阅读次数:
80