原创 配置jar與依賴分離
assembly.xml <assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2" xmlns
原创 ffmpeg+libx264安裝與配置
#yasm curl -O -L https://www.tortall.net/projects/yasm/releases/yasm-1.3.0.tar.gz tar xzvf yasm-1.3.0.tar.gz cd yas
原创 idea配置web項目
1、配置web項目1.1、首先引入項目File ---> open 彈出框中選中待引入的項目;若爲maven項目,可以點一下右面的 Maven Projects,引入相關依賴1.2、把項目配置好,如引入JDK等等1.3開始配置項
原创 idea配置
1、配置web項目1.1、首先引入項目File ---> open 彈出框中選中待引入的項目;若爲maven項目,可以點一下右面的 Maven Projects,引入相關依賴1.2、把項目配置好,如引入JDK等等1.3開始配置項目
原创 紅黑樹Java實現
原文鏈接:https://blog.csdn.net/xiaokang123456kao/article/details/54379724 作者:美團點評技術團隊 鏈接:https://zhuanlan.zhihu.com/p/24
原创 【轉】How To Ask Questions The Smart Way---提問的智慧
Copyright © 2001,2006,2014 Eric S. Raymond, Rick Moen 本指南英文版版權爲 Eric S. Raymond, Rick Moen 所有。 原文網址:http://www.catb.org
原创 Linux下安裝mysql
自動安裝mysql所需軟件及附屬軟件 yum install -y mysql-server mysql mysql-devel 首次設置mysql密碼 mysqladmin -u root -p ‘在此設置密碼’ 開機自動啓動
原创 SpringBoot-thymeleaf模板語法簡介
本想簡單說一下thymeleaf模板語法,因爲畢竟後邊SpringSecurity用到的語法很少,結果總結起來有點兒多… 關於SpringBoot-thymeleaf模板集成,請跳轉 : SpringBoot-thymeleaf模
原创 A1009 Product of Polynomials (25)
This time, you are supposed to find A*B where A and B are two polynomials. Input Specification: Each input file contain
原创 面試智力題
1.村子中有50個人,每人有一條狗。在這50條狗中有病狗(這種病不會傳染)。於是人們就要找出病狗 #wiki.geekfans.com 。每個人可以觀察其他的49條狗,以判斷它們是否生病,只有自己的狗不能看。觀察後得到的結果不 得
原创 素數判定問題
算法邏輯: 輸入:大於2的正整數n 輸出:該數是否爲素數,若是返回true,否則返回false 步驟1:設除數 i 爲2 步驟2:判斷除數 i 是否已爲 n ,若爲真返回true,否則繼續 步驟3:
原创 idea+mybatis+springboot逆向工程生成代碼
配置相關依賴及插件: <dependency> <groupId>org.mybatis.spring.boot</groupId> <artifactId>mybatis-spring-boot-starter</art
原创 A1042 Shuffling Machine
Shuffling is a procedure used to randomize a deck of playing cards. Because standard shuffling techniques are seen as w
原创 部署SpringBoot到tomcat
首先需要修改SpringBoot項目的啓動類,在使用SpringBoot直接啓動的時候,啓動類的代碼如下: package org.test; import org.springframework.boot.SpringApplicat
原创 idea+mybatis+springboot之log4j2配置
log4j2配置,首先在pom文件中排除依賴,並添加log4j2依賴: <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-