This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
```bash | |
yum install -y fuse | |
``` | |
- 下载并编辑自启脚本(一旦不可用,GitHub 中有备份) | |
```shell | |
wget -N git.io/rcloned && nano rcloned | |
``` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
```bash | |
# Centos | |
yum remove oracle-cloud-agent | |
yum remove oracle-cloud-agent-updater | |
# Ubuntu | |
snap remove oracle-cloud-agent | |
snap remove oracle-cloud-agent-updater |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
工作中发现生成了 36Gb 的 log 文件。显然不可能全部传到本地来,所以需要截取一部分(例如100M)传到本地。 | |
在这里记录网上找到的切割巨大log文件的方法: | |
## 方法一 head命令 | |
head 命令是用来获取文本文件的开始n行。 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. 打开: | |
https://store.steampowered.com/account/licenses/ | |
2. F12 控制台输入以下代码 | |
https://gitee.com/bilili/test/raw/master/all |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### tmux 分栏 | |
```bash | |
# 纵向分栏 | |
Ctrl + b -> % | |
# 横向分栏 | |
Ctrl + b -> " | |
# 切换 | |
Ctrl + o |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# WSL2: 参考的对象类型不支持尝试的操作 | |
这一般是由于有软件使用了 winsock 引起的, 例如 proxifier. | |
很遗憾目前(20191015)还没有办法同时使用 proxifier 安装版 和 wsl2. **但可以使用 proxifier 便携版**. | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# zeit.co 反代网站 | |
1. 先去zeit注册一个帐号,可以直接用github帐号登录 | |
2. 安装Now CLI: | |
```text | |
npm i -g now | |
now login | |
``` |
NewerOlder