Skip to content

Instantly share code, notes, and snippets.

View hallkk's full-sized avatar

高岩 hallkk

  • 01:39 (UTC +08:00)
View GitHub Profile
@hallkk
hallkk / supervisord.service
Created October 30, 2018 10:47 — forked from mozillazg/supervisord.service
install and configure supervisord on centos 7.
[Unit]
Description=supervisord - Supervisor process control system for UNIX
Documentation=http://supervisord.org
After=network.target
[Service]
Type=forking
ExecStart=/bin/supervisord -c /etc/supervisord/supervisord.conf
ExecReload=/bin/supervisorctl reload
ExecStop=/bin/supervisorctl shutdown
@hallkk
hallkk / CheckToken.java
Created August 20, 2016 14:57 — forked from jarod-chan/CheckToken.java
spring aop 处理重复提交
package cn.fyg.pa.interfaces.module.shared.token.annotation;
import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
*校验token是否有效