09 2017 档案

Basic Auth
摘要:``` public class BasicAuth { public static void main(String[] args) { String name = "kidsong"; String password = "fupeng"; String authString = name + ":" + password; ... 阅读全文

posted @ 2017-09-28 16:55 fupeng 阅读(189) 评论(0) 推荐(0)

spring oauth Role and Authority and scope
摘要:使用hasRole 匹配 使用hasAnyAuthority 匹配 使用scope 匹配 使用resource id 匹配 总结 ROLE 和 authority 是用户 自己的属性 scope 是 client的属性 参考 https://stackoverflow.com/questions/1 阅读全文

posted @ 2017-09-28 10:05 fupeng 阅读(480) 评论(0) 推荐(0)

Java注解
摘要:深入理解Java:注解(Annotation)基本概念 http://www.cnblogs.com/peida/archive/2013/04/23/3036035.html 深入理解Java:注解(Annotation)自定义注解入门 http://www.cnblogs.com/peida/a 阅读全文

posted @ 2017-09-26 10:40 fupeng 阅读(119) 评论(0) 推荐(0)

nc 查看端口是否 联通
摘要:nc 47.9.16.1 3306 如果卡住,说明 该IP的这个端口 访问不通, 防火墙拦截了 阅读全文

posted @ 2017-09-24 22:43 fupeng 阅读(971) 评论(0) 推荐(0)

Windows中搭建ftp服务器
摘要:使用工具Quick Easy FTP Server Windows中搭建FTP服务器有什么用呢? 确实没有用,直到有一次,我在VM中安装了Linux虚拟机,但是文件怎么也上传不到这个虚拟机中。 然后用Quick Easy FTP Server 在 windows上建了一个ftp服务器。 在linux 阅读全文

posted @ 2017-09-15 00:44 fupeng 阅读(234) 评论(0) 推荐(0)

在linux下使用curl
摘要:使用curl从 ftp下载文件 curl ftp://192.168.31.164/lrzsz 0.12.20.tar.gz user root:123456 o lrzsz 0.12.20.tar.gz 参考文档 "使用curl 命令上传下载FTP " 阅读全文

posted @ 2017-09-15 00:09 fupeng 阅读(371) 评论(0) 推荐(0)

perl
摘要:修改CPAN mirror的默认源 http://www.361way.com/change cpan default mirror/5094.html 阅读全文

posted @ 2017-09-13 20:28 fupeng 阅读(107) 评论(0) 推荐(0)

nginx 用法
摘要:"nginx配置location总结及rewrite规则写法" 如何将 /health 重定向到 /health.html https://stackoverflow.com/questions/46147568/nginx how can i rewrite a location/46147668 阅读全文

posted @ 2017-09-11 10:42 fupeng 阅读(116) 评论(0) 推荐(0)

2017.9
摘要:"nginx 405 not allowed问题的解决" 向静态页面 POST 会报上面的错误, 一般是nginx配置有问题,post请求没有到达服务上,而是到了一个静态页面。 阅读全文

posted @ 2017-09-07 19:39 fupeng 阅读(104) 评论(0) 推荐(0)

导航