会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Feng
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
4
5
6
7
8
9
下一页
2020年12月26日
React:解决跨域问题
摘要: 安装http-proxy-middleware yarn add -D http-proxy-middleware; 配置 在src文件夹下创建『setupProxy.js』文件,写入以下内容 const proxy = require('http-proxy-middleware'); // 注意
阅读全文
posted @ 2020-12-26 17:53 Feng1024
阅读(204)
评论(0)
推荐(0)
2020年12月13日
Angular:组件引入其他css不生效
摘要: 修改app.component.ts: @Component({ selector: 'app-root', templateUrl: './app.component.html', styleUrls: ['./app.component.scss'], encapsulation:ViewEnc
阅读全文
posted @ 2020-12-13 08:27 Feng1024
阅读(800)
评论(0)
推荐(0)
2020年11月16日
Nginx:根据域名转发请求
摘要: server { listen 80; server_name *.youdomain.com; if ($http_host ~* "^(.*?)\.youdomain\.com$") { set $domain $1; } location / { if ($domain ~* "jenkins
阅读全文
posted @ 2020-11-16 21:32 Feng1024
阅读(3645)
评论(0)
推荐(0)
Docker:安装Jenkins
摘要: 创建用户 username=jenkins sudo useradd -m ${username} sudo bash -c "echo '123456' | passwd --stdin ${username}" sudo gpasswd -a jenkins docker newgrp dock
阅读全文
posted @ 2020-11-16 17:29 Feng1024
阅读(118)
评论(0)
推荐(0)
2020年11月14日
Webpack:Typescript打包
摘要: 安装npm 略 创建项目 npm init -y 安装typescript # ts-loader为webpack loader,clean-webpack-plugin copy-webpack-plugin为webpack插件 npm install --save-dev typescript
阅读全文
posted @ 2020-11-14 15:42 Feng1024
阅读(827)
评论(0)
推荐(0)
2020年11月8日
Docker:安装Aria2 Pro
摘要: 创建用户(Docker组) username=aria2 sudo useradd -m ${username} sudo bash -c "echo '123456' | passwd --stdin ${username}" sudo gpasswd -a ${username} docker
阅读全文
posted @ 2020-11-08 22:06 Feng1024
阅读(2912)
评论(0)
推荐(0)
VS Code 搭建远程调试Shell环境(Remote Linux)
摘要: 安装Remote Development插件 在本机安装Remote Development 重启VS Code,看到左侧导航新增:『远程资源管理器』 在『远程资源管理器』连接服务器,略 安装语法提示插件:shellman 本机安装shellman,略 安装格式化插件:shell-format(右键
阅读全文
posted @ 2020-11-08 21:03 Feng1024
阅读(2377)
评论(0)
推荐(0)
2020年10月27日
Jenkins:安装配置
摘要: ## 本机安装jenkins ``` sudo wget -O /etc/yum.repos.d/jenkins.repo \ https://pkg.jenkins.io/redhat-stable/jenkins.repo sudo rpm --import https://pkg.jenkin
阅读全文
posted @ 2020-10-27 15:42 Feng1024
阅读(236)
评论(0)
推荐(0)
2020年10月14日
Jmeter:JSR223脚本常见功能实现(JavaScript)
摘要: Json处理(JS) 对于Json字符串,需要使用单引号『''』(因为Json中已存在双引号) // String转为Object var jsonObj = JSON.parse('${data}'); // Object转为String var jsonStr = JSON.stringify(
阅读全文
posted @ 2020-10-14 19:16 Feng1024
阅读(1992)
评论(0)
推荐(0)
2020年10月9日
Jmeter:上传文件或图片失效问题
摘要: 方法一:通过勾选『对POST使用multipart/form-data;』 注意坑 手动设置Content-Type后,该方法失效。需要在预处理程序中,移除:Content-Type,移除代码如下: 添加JSR223 预处理程序(Java): // 在低版本Jmeter可能不成功,在5.3版本中,该
阅读全文
posted @ 2020-10-09 17:53 Feng1024
阅读(1301)
评论(0)
推荐(0)
上一页
1
···
4
5
6
7
8
9
下一页
公告