摘要: 1. 添加jar包 2. 配置类 3 . 从websocket中获取用户session 4 . 设置监听 5. 获取spring容器工具类 6. webSocket服务类 阅读全文
posted @ 2019-06-20 13:38 窦婴 阅读(1717) 评论(0) 推荐(0) 编辑
摘要: HttpServletRequest request = ((ServletRequestAttributes) RequestContextHolder.currentRequestAttributes()).getRequest(); 阅读全文
posted @ 2019-06-20 13:25 窦婴 阅读(1576) 评论(0) 推荐(1) 编辑
摘要: SheetJS : Excel转html mammoth.js : Word转html FileSaver.js 和 jquery.wordexport.js ( $("#show_timu").wordExport("你好") ) : html转word 阅读全文
posted @ 2019-05-29 09:57 窦婴 阅读(485) 评论(0) 推荐(0) 编辑
摘要: 1、firewalld的基本使用 启动: systemctl start firewalld 关闭: systemctl stop firewalld 查看状态: systemctl status firewalld 开机禁用 : systemctl disable firewalld 开机启用 : 阅读全文
posted @ 2018-10-01 13:50 窦婴 阅读(147) 评论(0) 推荐(0) 编辑
摘要: 系统进程位置 :/etc/init.d/ 只要把程序启动进程放到此目录(/etc/init.d/)下 就可以任意地方启动服务了 JDK安装 配置jdk环境变量 vi /etc/profile #set Java environment JAVA_HOME=/opt/server/jdk1.8 CLA 阅读全文
posted @ 2018-10-01 13:34 窦婴 阅读(413) 评论(0) 推荐(0) 编辑
摘要: 一、 Nginx 简介 Nginx 是由俄罗斯软件工程师 Igor Sysoev 开发的一个高性能的 HTTP 和反向代理服务器,具备 IMAP/POP3 和 SMTP 服务器功能。 作为 Web 服务器:相比较与 Apache, Nginx 使用更少的资源,支持更多的并发连接,体现更高的效率,这点 阅读全文
posted @ 2018-08-28 10:32 窦婴 阅读(184) 评论(0) 推荐(0) 编辑
摘要: https://segmentfault.com/ SegmentFault 技术社区 http://www.spring4all.com/ https://springcloud.cc/ www.breakyizhan.com 技术文档 https://ilovefishc.com/ 小甲鱼 ht 阅读全文
posted @ 2018-08-16 14:17 窦婴 阅读(190) 评论(0) 推荐(0) 编辑
摘要: 卸载ibus yum list installed | grep -i ibus yum remove ibus 安装fcitx yum install fcitx fcitx-pinyin fcitx-configtool 安装依赖 yum install epel yum install ali 阅读全文
posted @ 2018-08-03 16:45 窦婴 阅读(1747) 评论(0) 推荐(0) 编辑