Skip to content

Instantly share code, notes, and snippets.

Dreampie Dreampie

Block or report user

Report or block Dreampie

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
View App.vue
<div class="bodyer">
<v-loading :show="false"></v-loading>
<header class="header">
<v-menu :session="session"></v-menu>
<router-view class="main"></router-view>
View gist:d85b8ddd7e978df8802b98680df0baa0
public class HystrixContextFilter extends OncePerRequestFilter {
public HystrixContextFilter() {
protected void doFilterInternal(HttpServletRequest request, HttpServletResponse response, FilterChain chain) throws ServletException, IOException {
HystrixRequestContext context = HystrixRequestContext.initializeContext();
//HystrixPlugins.getInstance().registerConcurrencyStrategy(new SubjectService.SessionConcurrencyStrategy());
try {
chain.doFilter(request, response);
Dreampie /
Created Jun 28, 2016 — forked from vitorbritto/
Remove MySQL completely from Mac OSX

Remove MySQL completely

  1. Open the Terminal

  2. Use mysqldump to backup your databases

  3. Check for MySQL processes with: ps -ax | grep mysql

  4. Stop and kill any MySQL processes

  5. Analyze MySQL on HomeBrew:

    brew remove mysql
View session timeout
Implement the HandshakeInter as below.
public class HttpSessionIdHandshakeInterceptor implements HandshakeInterceptor {
public boolean beforeHandshake(ServerHttpRequest request,
ServerHttpResponse response,
WebSocketHandler wsHandler,
Map<String, Object> attributes)
throws Exception {
if (request instanceof ServletServerHttpRequest) {
View gradle dependencies
Parallel execution is an incubating feature.
Project :message-api:message-api-provider
archives - Configuration for archive artifacts.
No dependencies
Dreampie / error
Last active Apr 22, 2016
angular2+webpack build error
View error
npm run build
> angular2-demo@0.0.1 build /Users/Dreampie/Projects/DreampieProjects/angular2-demo
> webpack --config build/ --progress --colors
10% 0/1 build modulests-loader: Using typescript@1.8.10 and /Users/Dreampie/Projects/DreampieProjects/angular2-demo/tsconfig.json Hash: 96ae4cbb31fa9aeb69ee
Version: webpack 1.13.0
Hash: 96ae4cbb31fa9aeb69ee
Version: webpack 1.13.0
Time: 3170ms
You can’t perform that action at this time.