Skip to content

Instantly share code, notes, and snippets.

View jdonee's full-sized avatar

Jdonee jdonee

View GitHub Profile
{
"python.linting.flake8Enabled": true,
"python.formatting.provider": "yapf",
"editor.renderIndentGuides": false,
"go.buildOnSave": "workspace",
"go.lintOnSave": "package",
"go.vetOnSave": "package",
"go.buildTags": "",
"go.buildFlags": [],
"go.lintFlags": [],
@jdonee
jdonee / ExpirationListener.java
Last active May 4, 2022 19:48
Spring Boot 2 + Spring Session 2 + Shiro 1.4 + Redis(Lettuce) Config
import org.springframework.data.redis.connection.Message;
import org.springframework.data.redis.connection.MessageListener;
import org.springframework.stereotype.Component;
import lombok.extern.slf4j.Slf4j;
/**
* Session过期监听
* @author Frank Zeng
*
@jdonee
jdonee / gist:6238531
Last active August 8, 2018 14:12
portable-config-maven-plugin
clean package -Dmaven.test.skip=true -Denv=proc
[WARNING] No portable config file is provided, skipping running.
pom.xml
--------------------------------------------------------------------------------------------
<profiles>
<profile>
<id>proc</id>
<activation>