不灭的火

革命尚未成功,同志仍须努力:加密SHA/AES/RSA下载JDK17

作者:AlbertWen  添加时间:2021-09-01 18:38:35  修改时间:2025-09-13 00:47:49  分类:01.Python编程  编辑
作者:AlbertWen  添加时间:2021-09-01 10:07:41  修改时间:2025-09-12 01:56:14  分类:04.Nginx网关  编辑

我们都知道nginx是可以做跨域代理的:

location ^~ /visited-path/ {
    proxy_pass   http://another-domain/;
}
作者:AlbertWen  添加时间:2021-09-01 09:21:00  修改时间:2025-09-09 09:54:36  分类:电脑/软件使用  编辑

今天升级“360极速浏览器”,发现还可自定义UI界面到自己想要的干净利落的程度,,点赞点赞点赞 。。。

作者:AlbertWen  添加时间:2021-09-01 00:00:36  修改时间:2025-09-13 17:51:58  分类:电脑/软件使用  编辑

Yandex:是俄罗斯的搜索引擎网站,如同国内的搜索巨头百度,YandexBrowser是其推出的一款基于Chromium的浏览器。因为其Logo像一个裤头,也被形象的称为三角裤浏览器。

作者:AlbertWen  添加时间:2021-08-31 23:33:28  修改时间:2025-09-12 16:22:24  分类:06.前端/Vue/Node.js  编辑

在vue项目根目录下找到vue.config.js文件(如果没有该文件则自己创建),在proxy中设置跨域

devServer: {
    proxy: { // 配置跨域
        '/api': {
            target: 'http://121.121.67.254:8185/', // 这里后台的地址模拟的,应该填写你们真实的后台接口
            changOrigin: true, // 允许跨域
            pathRewrite: {
                /* 重写路径,当我们在浏览器中看到请求的地址为:http://localhost:8080/api/core/getData/userInfo 时
                实际上访问的地址是:http://121.121.67.254:8185/core/getData/userInfo,因为重写了 /api
                 */
                '^/api': ''
            }
        },
    }
},
作者:AlbertWen  添加时间:2021-08-30 23:47:59  修改时间:2025-09-09 03:38:42  分类:04.Nginx网关  编辑

使用nginx搭建的站点,如果不想让所有人都能正常访问,那么可以设置访问认证,只有用户输入正确的用户名和密码才能正常访问。效果如下:

作者:AlbertWen  添加时间:2021-08-28 09:42:23  修改时间:2025-09-10 11:24:43  分类:02.Docker/K8s  编辑

CentOS7安装Docker之后,默认的镜像及容器存储路径为/var/lib/docker,可以使用命令docker info查看。

# docker info|grep 'Docker Root Dir'
 Docker Root Dir: /var/lib/docker
作者:AlbertWen  添加时间:2021-08-27 22:47:20  修改时间:2025-09-09 03:52:44  分类:02.Docker/K8s  编辑

Docker在默认安装之后,通过命令docker pull 拉取镜像时,默认访问docker hub上的镜像,在国内网络环境下,下载时间较久,所以要配置国内镜像仓库。

作者:AlbertWen  添加时间:2021-08-18 00:07:32  修改时间:2025-09-12 20:35:44  分类:团队/项目管理  编辑

Tapd在线文档:点击查看

作者:AlbertWen  添加时间:2021-08-14 23:11:50  修改时间:2025-09-09 05:37:20  分类:01.Python编程  编辑

Anaconda3 安装 mitmproxy 时报错:

pip install mitmproxy -i https://pypi.tuna.tsinghua.edu.cn/simple

ERROR: Cannot uninstall 'ruamel-yaml'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.