原创 freemark+UEditor+SpringBoot

參考       https://blog.csdn.net/weixin_34023982/article/details/88273308 ####依賴 <!--ueditor --> <dependency>

原创 Ubuntu 常用工具安裝

1.設置環境變量 普通用戶 vim ~/.bashrc 多用戶 設置 /etc/profile 需要在~/.bashrc和/root/.bashrc 下添加 source /etc/profile 2.設置下載景象地址 2.1、備份配置文

原创 Cookie的setDomain()和setPath()

正常的cookie只能在一個應用中共享,即一個cookie只能由創建它的應用獲得。 1.可在同一應用服務器內共享方法:設置cookie.setPath("/");  本機tomcat/webapp下面有兩個應用:webapp_a和web

原创 ubuntu 安裝 PostMan

wget https://dl.pstmn.io/download/latest/linux64 -O chromecj.com-postman.tar.gz sudo tar -xzf chromecj.com-postman.t

原创 JPA主鍵自增設置

  @Id @GeneratedValue(strategy = GenerationType.IDENTITY) private Integer id; –AUTO: 主鍵由程序控制,是默認選項,不設置即此項。

原创 Ubuntu 16.04安裝vsftpd 並開啓ftp服務

原文鏈接:https://www.cnblogs.com/jiqing9006/p/8955559.html sudo apt-get install vsftpd 可以使用下列命令來打開,

原创 Ubuntu安裝miredo

ipv6測試網址 https://ipv6-test.com/ 設置ipv6教程 www.yahoo.com https://github.com/XX-net/XX-Net/issues/7244 https://blog.csdn.n

原创 公網訪問學校內網

環境準備   hostname ip frpc ssh zxx(校內) 183.170.26.53 安裝 安裝 ubuntu(公網) 139.199.115.253 安裝 安裝   下載

原创 Ubuntu16.04 和Ubuntu18 安裝搜狗輸入法

Ubuntu16.04 轉載網址:https://blog.csdn.net/qq_22186119/article/details/70316727 在網址下載搜狗deb包:http://pinyin.sogou.com/linux/

原创 rpm 安裝與卸載 軟件

1、安裝 rpm -i 需要安裝的包文件名 舉例如下: rpm -i example.rpm 安裝 example.rpm 包; rpm -iv example.rpm 安裝 example.rpm 包並在安裝過程中顯示正在安裝的文件信息

原创 Layer彈出層的關閉及父頁面的刷新問題

function formSubmit(){ var serialStr = $("#form-myform-add").serialize();//序列化表單 var urlStr = '#';//請求的url

原创 Vue-級聯下拉框

  <tr> <td>所屬欄目:</td>

原创 設計模式------觀察者模式

模型 角色 抽象被觀察者角色:也就是一個抽象主題,它把所有對觀察者對象的引用保存在一個集合中,每個主題都可以有任意數量的觀察者。抽象主題提供一個接口,可以增加和刪除觀察者角色。一般用一個抽象類和接口來實現。 抽象觀察者角色:爲所有的具體

原创 Spring-boot 編碼

#配置項目字符編碼 #如果配置了項目還是亂碼 考慮 tomcat編碼 mysql編碼 spring.http.encoding.charset=utf-8 spring.http.encoding.force=true spr

原创 Redis----緩存穿透問題

pom.xml server.port=8088 server.servlet.context-path=/test #配置jsp spring.mvc.view.prefix=/WEB-INF/jsp/ spring.mvc.view