Skip to content

Instantly share code, notes, and snippets.

@dongxuwang
dongxuwang / build.gradle
Created July 21, 2021 08:54 — forked from kevinmmarlow/build.gradle
CheckStyle, FindBugs, and PMD in Gradle
apply plugin: 'checkstyle'
apply plugin: 'findbugs'
apply plugin: 'pmd'
task checkstyle(type: Checkstyle) {
configFile file("${project.rootDir}/path/to/checkstyle/config/checkstyle.xml") // Checkstyle config location
source 'src/main/java'
include '**/*.java'
exclude '**/gen/**'
@dongxuwang
dongxuwang / API.md
Created November 10, 2017 09:28 — forked from iros/API.md
Documenting your REST API

Title

<Additional information about your API call. Try to use verbs that match both request type (fetching vs modifying) and plurality (one vs multiple).>

  • URL

    <The URL Structure (path only, no root url)>

  • Method:

@dongxuwang
dongxuwang / developmentonvirtualmachine
Created August 29, 2017 07:29
搭建基于虚拟机的开发环境
Adding Users
```shell
# adduser username
```