This file contains 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 | |
``` |
This file contains 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 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 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 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 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 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 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
在Chrome地址栏输入: | |
```url | |
chrome://flags/#enable-parallel-downloading | |
``` | |
然后选择 Enable 即可。 |
This file contains 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
玩客云中的 Samba 使用的是 Samba 1.0(CIFS) 协议,而微软已经在 Windows 10 Version 1709 及以上中默认关闭了这个老旧且不安全的协议,从旧版本系统升级到新版的用户可能会收到 0x80070035 的提示,无法访问玩客云的共享目录。 | |
同时由于一些不可描述的...Bug?开启密码访问后,在 "网络" 中访问玩客云设备时会收到 0x80004005 的提示,其他版本系统遇到同样错误时也可以尝试参考修复。 | |
## 1. 启用 Samba V1 | |
- 在开始菜单中搜索 **"启用或关闭 Windows 功能"** | |
- 找到 **"SMB 1.0/CIFS File Sharing Support"** |
This file contains 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
**转载原创文章请注明,转载自: [Luminous' Home](https://luotianyi.vc/) » [利用Google GCE为教育网搭建6to4服务](https://luotianyi.vc/1941.html)** | |
各大高校接入的中国教育网(CERNET)的IPv6网络一直是不设限速而且免费的,而IPv4的网络要么是价格高昂(1块1G的都有),要么采用双栈接入直接走三大运营商的带宽。Luminous的校园网就是属于后面那一种,IPv4由电信提供,并不走教育网线路,电信出口限速20M(不过5块一个月还要啥自行车( ̄▽ ̄)”) | |
![img](https://blog.cdn.luotianyi.vc/wp-content/uploads/2019-07-02_07-47-44.png) | |
当初其实刚刚办理了校园网就发现学校采用的是千兆的交换机组网,然而只有在走教育网的时候才不会被限速到20M,满足这个条件的就两个,要么是位于教育网网内的IPv4服务器,要么是使用IPv6访问网站 |
OlderNewer