Skip to content

Instantly share code, notes, and snippets.

View Dreampie's full-sized avatar
💬
Give me your resume!!! - Alipay

Dreampie Dreampie

💬
Give me your resume!!! - Alipay
View GitHub Profile
@Dreampie
Dreampie / App.vue
Last active February 8, 2017 13:02
<template>
<!--body-->
<div class="bodyer">
<v-loading :show="false"></v-loading>
<!--head-->
<header class="header">
<v-menu :session="session"></v-menu>
</header>
<router-view class="main"></router-view>
<!--foot-->
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
Dreampie / rm_mysql.md
Created June 28, 2016 03:41 — forked from vitorbritto/rm_mysql.md
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

Implement the HandshakeInter as below.
```java
public class HttpSessionIdHandshakeInterceptor implements HandshakeInterceptor {
public boolean beforeHandshake(ServerHttpRequest request,
ServerHttpResponse response,
WebSocketHandler wsHandler,
Map<String, Object> attributes)
throws Exception {
if (request instanceof ServletServerHttpRequest) {
Parallel execution is an incubating feature.
:message-api:message-api-provider:dependencies
------------------------------------------------------------
Project :message-api:message-api-provider
------------------------------------------------------------
archives - Configuration for archive artifacts.
No dependencies
@Dreampie
Dreampie / error
Last active April 22, 2016 09:22
angular2+webpack build error
npm run build
> angular2-demo@0.0.1 build /Users/Dreampie/Projects/DreampieProjects/angular2-demo
> webpack --config build/webpack.build.config.js --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
Child
Hash: 96ae4cbb31fa9aeb69ee
Version: webpack 1.13.0
Time: 3170ms