原创 centos7中安裝docker及常用操作

原文鏈接:https://www.runoob.com/docker/centos-docker-install.html 前提條件 目前,CentOS 僅發行版本中的內核支持 Dock

原创 idea中使用git從github上拉取項目

前提條件 想要在idea中拉取github上拉取項目,首先的安裝GIt程序,GitHub配置SSH公鑰 相關操作參考另一篇文章:Git的安裝及配置(Win7) https://blog.csdn.net/qq_33271461/a

原创 Docker中安裝與使用mongoDB

查找Docker Hub上的mongo鏡像: docker search mongo 這裏我們拉取官方的鏡像,標籤爲3.2: docker pull mongo 等待下載完成後,我們就可以在本地鏡像列表裏查到REPOSIT

原创 idea簡單方法去除所有斷點

第一步: 點擊debug按鈕 第二步: 點擊圖中按鈕查看所有斷點 第三步: 按shift將Java Line Breakpoints選項全部選中,然後點擊“-”減號 完成:

原创 前端檢查瀏覽器版本

/** *檢查瀏覽器 * @returns {boolean} */ function getExplorerInfo() { var explorer = window.navigator.userAgent.to

原创 去除mongoDB數據庫中隨實體自動生成的“_class”字段

import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Bean;

原创 解決springboot中使用屬性注入注入不成功

屬性注入不成功樣例: @Autowired private TaskService taskService; 解決方式: @Autowired private TaskService taskSe

原创 mongoDB將字段類型從Int改爲String

db.tb_tray.find({_id:{$exists:true}}).forEach(function(x){ x.status="0"; db.tb_tray.save(x); }); db.tb_tra

原创 mongoDB數據操作語句

//修改字段名稱,把synonymsList表的name_status修改爲status db.getCollection('synonymsList').update({}, {$rename : {"name_status"

原创 SpringBooot Autowired annotation is not supported on static fields

@Autowired private PackageService packageServiceDup; private static PackageService packageService; @PostConstru

原创 java調用c++的方法——使用JNI

原文鏈接:https://my.oschina.net/aijiaoer0624/blog/1142876 1.編寫java測試類 2.利用java測試類生成C頭文件(我沒有C和C

原创 瀏覽器同源策略--跨域

原文鏈接:https://segmentfault.com/a/11900000155970 轉載於 https://segmentfault.com/a/119000001559702

原创 SWT與JFace關係

原文鏈接:https://www.cnblogs.com/ SWT與JFace關係   SWT是eclipse公司發佈的一個GUI編程框架,即是說,這個是最基本的開發工具。   JFac

原创 SWT組件添加事件的四種方式

轉載於:https://www.cnblogs.com/wuyx/p/6122509.html     在我們CS日常開發過程中會經常去爲組件添加事件,我們常用的爲AWT與SWT。SWT的事件模型是和標準的AWT基本一樣的。下面將

原创 SWT圖形界面開發中多線程的使用

轉載於:https://blog.csdn.net/iteye_12451/article/details/81861840 一、場景 開發java桌面應用大都會帶有圖形界面,帶有圖形界面的java程序一般都會有專門負責圖形界面渲