plugins {
id "org.springframework.boot" version "2.1.4.RELEASE"
}
apply plugin: "io.spring.dependency-management"
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> Configure project : | |
The JavaExec.main property has been deprecated. This is scheduled to be removed in Gradle 8.0. Please use the mainClass property instead. See https://docs.gradle.org/7.2/dsl/org.gradle.api.tasks.JavaExec.html#org.gradle.api.tasks.JavaExec:main for more details. | |
at AppMain_main___7y7n4jg8n68uur2cjl8q5fbvh$_run_closure1$_closure2$_closure3.doCall(C:\Users\xxx\AppData\Local\Temp\AppMain_main__.gradle:23) | |
(Run with --stacktrace to get the full stack trace of this deprecation warning.) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> .\dfu-util -d 28e9:0189 -a 0 --dfuse-address 0x08000000:leave -D firmware.bin | |
dfu-util 0.9 | |
Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc. | |
Copyright 2010-2016 Tormod Volden and Stefan Schmidt | |
This program is Free Software and has ABSOLUTELY NO WARRANTY | |
Please report bugs to http://sourceforge.net/p/dfu-util/tickets/ | |
Opening DFU capable USB device... | |
ID 28e9:0189 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// https://github.com/JetBrains/intellij-community/blob/idea/212.5284.40/platform/lang-impl/src/com/intellij/openapi/projectRoots/impl/jdkDownloader/JdkList.kt | |
@Service | |
class JdkListDownloader : JdkListDownloaderBase() { | |
companion object { | |
@JvmStatic | |
fun getInstance() = service<JdkListDownloader>() | |
} | |
override val feedUrl: String |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -eu | |
export VSLANG=1033 | |
export WORKSPACE=. | |
export BRANCH=master | |
export TAG=jdk-15.0.1+9 | |
export BUILD_ARGS='--repository https://gitee.com/mirrors_openjdk/jdk15u --disable-adopt-branch-safety --custom-cacerts false --create-debug-symbols-package ' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cmake_minimum_required(VERSION 3.0 FATAL_ERROR) | |
project(redis VERSION 6.2.4) | |
set(CMAKE_BUILD_TYPE "Debug") | |
get_filename_component(REDIS_ROOT "${CMAKE_CURRENT_SOURCE_DIR}" ABSOLUTE) | |
add_subdirectory(deps) | |
#add_subdirectory(src/modules) | |
set(SRC_SERVER_TMP |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@ECHO OFF | |
SETLOCAL | |
SET HOME=%~dp0 | |
"%~dp0\influx.exe" %* | |
ENDLOCAL |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
spring.cloud.zookeeper.discovery.enabled=true | |
spring.cloud.zookeeper.discovery.register=true | |
spring.cloud.zookeeper.discovery.preferIpAddress=true | |
spring.cloud.zookeeper.connectString=127.0.0.1:2181 | |
spring.cloud.inetutils.ignoredInterfaces[0]=docker0 | |
spring.cloud.inetutils.ignoredInterfaces[1]=veth.* | |
spring.cloud.inetutils.ignoredInterfaces[2]=VMware.* | |
spring.cloud.inetutils.ignoredInterfaces[3]=Npcap.* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Get current swap usage for all running processes | |
# Erik Ljungstrom 27/05/2011 | |
SUM=0 | |
OVERALL=0 | |
for DIR in `find /proc/ -maxdepth 1 -type d | egrep "^/proc/[0-9]"` ; do | |
PID=`echo $DIR | cut -d / -f 3` | |
# PROGNAME=`ps -p $PID -o comm --no-headers` | |
PROGNAME=`ps -p $PID -f --no-headers | awk '{for (i=8;i<=NF;i++) printf $i}'` | |
for SWAP in `grep Swap $DIR/smaps 2>/dev/null| awk '{ print $2 }'` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<properties> | |
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | |
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> | |
<maven.compiler.encoding>UTF-8</maven.compiler.encoding> | |
<java.version>1.8</java.version> | |
<maven.compiler.source>1.8</maven.compiler.source> | |
<maven.compiler.target>1.8</maven.compiler.target> | |
</properties> |