自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(9)
  • 收藏
  • 关注

原创 使用ubuntu部署angular项目

项目使用ng build 打包后,复制dist.zip到服务器上。重新加载nginx.config文件,在/usr/sbin重启服务。在网址访问:服务器ip:4200/即可访问项目。使用以下命令启动服务。

2023-10-24 16:13:07 121

原创 解决跨域问题

controller不需要增加@CrossOrigin注解。增加proxy.config.json文件。修改package.jsom文件。增加一个Java文件。

2023-10-07 16:18:47 33 1

原创 使用ngsyle或ngclass判断出现Object.property udefined

原因:在data所属类的定义上,duration 定义为非必须属性。可能原因是:在判断是如果属性不存在,内部户=会出现错误。

2023-09-08 16:21:10 39 1

原创 nzTable设置pagesize 失效问题

使用nzTable时,注意tr的数据要与表格id绑定,而不要直接绑定listdata,否则设置pagesize失效。另外pageindex设置为0,不显示数据,从1开始。

2023-09-06 10:55:50 123 1

原创 Gitlab

强制推送分支git push --set-upstream origin maste -f

2022-05-17 13:29:37 113 1

原创 linux 换源 以及 安装ohmyzsh

1.sudo cp /etc/apt/sources.list /etc/apt/sources_init.list2.sudo rm/etc/apt/sources.list2.vim/etc/apt/sources.list 复制以下内容deb http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiversedeb-src http://mirrors.aliyun.com/ubuntu/ b....

2021-12-21 11:26:58 400

原创 windows 秘钥 免密登录linux

首先查看 openssh服务是否开启ssh-agent开启后添加rsa不要设置密码 一直按enterssh-add .ssh/id_rsa 添加进windows注册表将pub文件放到ssh下cat id_rsa.pub >> ./.ssh/authorized_keys

2021-05-24 16:59:29 210

原创 配置jupyternote 服务器

https://blog.csdn.net/weixin_44862545/article/details/106892455ssh -L 8889:127.0.0.1:8889 chenrao@172.168.1.123 转发

2021-03-18 13:19:42 92 1

原创 membership加密 java版

public String sha1(String password,int passformat,String passwordsalt) throws NoSuchAlgorithmException, UnsupportedEncodingException{if(passformat==0){return password;} byte[] bIn =password.getBy...

2019-04-07 15:32:30 162

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除