Skip to content

Instantly share code, notes, and snippets.


Ericwyn Ericwyn

  • GuangZhou China
Block or report user

Report or block Ericwyn

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
Ericwyn / gist:3d0537ca3007111dcbb9ff5abc68b767
Created May 29, 2019
gogs 文件预览页面 路由go地址
View gist:3d0537ca3007111dcbb9ff5abc68b767
Ericwyn /
Created Feb 23, 2019
微信登录获取 OpenId
package com.besfim.wxpay.controller;
import com.besfim.wxpay.utils.HttpUtils;
import com.besfim.wxpay.utils.SHA1;
import com.besfim.wxpay.utils.obj.ResJson;
import org.apache.http.HttpException;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
Ericwyn / css 使某个 div 渐变显现
Created Jul 26, 2018
加上这个类, div 在 500 ms 内透明度由 0 变为 1 , 位置有往下 10% 变回固定位置, 效果类似于渐变弹出
View css 使某个 div 渐变显现
@keyframes wrapper-gradient {
0% {
transform: translateY(5%);
100% {
transform: translateY(0);
@keyframes fade-in {
Ericwyn / Vim配置
Created Jun 15, 2018
我的 Vim 配置
View Vim配置
" 配置保存在 /etc/vim/vimrc
" the call to :runtime you can find below. If you wish to change any of those
" settings, you should do it in this file (/etc/vim/vimrc), since debian.vim
" will be overwritten everytime an upgrade of the vim packages is performed.
" It is recommended to make changes after sourcing debian.vim since it alters
" the value of the 'compatible' option.
" This line should not be removed as it ensures that various options are
" properly set to work with the Vim-related packages available in Debian.
runtime! debian.vim
Ericwyn / luna_pinyin.custom.yaml
Created May 30, 2018 — forked from lotem/luna_pinyin.custom.yaml
View luna_pinyin.custom.yaml
# luna_pinyin.custom.yaml
# 【朙月拼音】模糊音定製模板
# 佛振配製 :-)
# 位置:
# ~/.config/ibus/rime (Linux)
# ~/Library/Rime (Mac OS)
# %APPDATA%\Rime (Windows)
You can’t perform that action at this time.