Recently, I found a set of code that iterate through list of configs and start the job by using execution pool, and the way and style it use very different as I used to write, so I went through and write down this blog try to see what is the advantage of this sytle.
Read MoreSpark could be used as ETL tools, today we are going to walk you throught how to and explain the required Spark knowledge.
Read MoreGoogle Guice is light way DI framework, I recently worked on Spark, so can’t use spring framework, so I use Google Guice to replicate the spring DI, I will show both Spring config and Google Guice to compare both.
Read MoreUsing Graphic interface on WSL2, the most popular way is Xfce4 + VcxSrv. But I would like provide different way with Xrdp + remote desktop from win10.
Read MorePlugins:
- IdeaVim
- ACEJump
ACEJump - I used to use easy-mostion
but ACE Jump is native to use: just Ctrl+;
then type any letter, it will show as same effects as VIM easy-motion
Daily Idea Vim Shortcuts Cheat Sheet:
shortcuts | descriptions |
---|---|
<L> + L | show recent location |
<L> + g | go to Declaration |
<L> + f | show up search window with files tab active |
<L> + c | show up search window with class tab active |
<L> + s | show up search window with symbol tab active |
<L> + ; | list all methods and variables in current file |
<L> + i | goto implementation – this is used on interface or abstract class |
<L> + I | pop selectIn window – this window help to jump between different idea windows |
<L> + e | pop recent files – different as switcher (Ctrl + tab) |
<L> + t | pop surround with window, I changed to vmap |
<L> + T | pop refactory this window, in visual mode |
<L> + rr | rename |
<L> + rg | pop generate window |
<L> + q | close content |
<L> + ps | split horizontal |
<L> + pv | split vertical |
<L> + wc | unsplit |
<L> + wn | next split window - same as |
<L> + x | goto next error |
<L> + X | goto previous error |
<L> + h | move back |
<L> + l | move forward |
<L> + g | go to declaration |
<L> + i | go to implementation |
[b | previous tab |
]b | next tab |
zc | fold current method |
zo | unfold current method |
<L> + u | find usage |
<L> + f | open file |
<L> + c | open class |
<L> + s | open symbol |
<L> + ; | open current file structure |
<L> + d | show error message |
<L> + I | show selectIn popup |
<L> + e | popup recent Files |
<L> + b | show bookmark |
visual mode: T | popup refactoring menu |
pop up generate window | |
pop up inspector window | |
,b | debug |
,r | run |
,c | run class |
,d | debug class |
,t | run tests |
,T | rerun failed Tests |
Set command you can use in IdeaVim: link
Emulated Vim Plugins
vim-easymotion
vim-surround
vim-multiple-cursors
vim-commentary
argtextobj.vim
vim-textobj-entire
ReplaceWithRegister
vim-exchange
vim-highlightedyank
## Split
<leader>q - close content
<leader>ps - split horizontal
<leader>pv - split vertical
<leader>wc - unsplit
<leader>wn - next split window - same as <C-w>w
<leader>x - goto next error
<leader>X - goto previous error
## Navigation
<leader>h - move back
<leader>l - move forward
<leader>g - go to declaration
<leader>i - go to implementation
[b - previous tab
]b - next tab
<leader>u - find usage
gd, <c-]> - go to definition
<C-o - go back
`. - go to previous update position
## pop up window
<leader>f - open file
<leader>c - open class
<leader>s - open symbol
<leader>; - open current file structure
<leader>d - show error message
<leader>I - show selectIn popup
<leader>e - popup recent Files
<leader>b - show bookmark
## Refactoring
visual mode: T - popup refactoring menu
<leader>rg: pop up generate window
<leader>rc: pop up inspector window
## run & debug
,b - debug
,r - run
,c - run class
,d - debug class
,t - run tests
,T - rerun failed Tests
Guava is a set of core Java libraries from Google that includes new collection types (such as multimap and multiset), immutable collections, a graph library, and utilities for concurrency, I/O, hashing, caching, primitives, strings, and more! It is widely used on most Java projects within Google, and widely used by many other companies as well.
Read MoreThis Article show how to set up a Micro Service
projects in Intellij IDEA community version, But you don’t need to repeat this again, you can
Ribbon is load balancer
that work with Eureka, can provide the load balance on each service.
The feeling of Feign is very like JPA with CrudRepository
: you defined the entity and CrudRepository
generate all the CRUD methods for you, all you need just create interface
to implement that.
Resilience4j is used to protect your microservices to have cascading failure
, it deployed on the consumer
side to protect consumer
if producer
has any failure.
Eureka is clean solution for Spring service registration and discovery. Eureka works very like Config server/client, it put all the end-points
together instead of config files
.
External Config let you config all the service in 1 place, the benefit is not in the scope of this article.
Read MoreMicro service Archtecture implementation with Spring Cloud projects.
Read MoreAcuator is tools that can be used to monitoring your application’s health status. The official guide is here:
Read MoreAs backend developer, I always don’t know the CSS and html stuff, with recently working on Angular project, have to deal with the layout with CSS and html, so I write this to come up simple guide for backend developer, it is not that confusing…
Read MoreAngular Buildin HTTP is used to connect to backend for data, it used couple of interface so the structure looks weird (to me), so I want to ‘destructure’ the HTTP Client to see what are in the design.
Read More6. PipePipe used to transform or format the value, the format is:””eg we want to format the name and slice only show 5 charactors and upcase:<p> <...
Read MoreWith Angular 10, it can create new project with command line ng new
command, but I found that I lost the feeling about the infrastructure of Angular, so I try to dig in and try to learn Angular Infrastrcuture from bottom to up.
WebClient
is asynchronous/non-blocking HTTP Client, it is replacement of RestTemplate
, Here we walk through how to create and use webClient
.
echom
andechoe
- print message and error message, later can use:message
to show all previous printed message.
Builderpublic class Pizza { private int size; private boolean cheese; private boolean pepperoni; private boolean bacon; public static class Builder { ...
Read MoreRecently, I found a set of code that iterate through list of configs and start the job by using execution pool, and the way and style it use very different as I used to write, so I went through and write down this blog try to see what is the advantage of this sytle.
Read MoreSpark could be used as ETL tools, today we are going to walk you throught how to and explain the required Spark knowledge.
Read MoreGoogle Guice is light way DI framework, I recently worked on Spark, so can’t use spring framework, so I use Google Guice to replicate the spring DI, I will show both Spring config and Google Guice to compare both.
Read MoreUsing Graphic interface on WSL2, the most popular way is Xfce4 + VcxSrv. But I would like provide different way with Xrdp + remote desktop from win10.
Read MorePlugins:
- IdeaVim
- ACEJump
ACEJump - I used to use easy-mostion
but ACE Jump is native to use: just Ctrl+;
then type any letter, it will show as same effects as VIM easy-motion
Daily Idea Vim Shortcuts Cheat Sheet:
shortcuts | descriptions |
---|---|
<L> + L | show recent location |
<L> + g | go to Declaration |
<L> + f | show up search window with files tab active |
<L> + c | show up search window with class tab active |
<L> + s | show up search window with symbol tab active |
<L> + ; | list all methods and variables in current file |
<L> + i | goto implementation – this is used on interface or abstract class |
<L> + I | pop selectIn window – this window help to jump between different idea windows |
<L> + e | pop recent files – different as switcher (Ctrl + tab) |
<L> + t | pop surround with window, I changed to vmap |
<L> + T | pop refactory this window, in visual mode |
<L> + rr | rename |
<L> + rg | pop generate window |
<L> + q | close content |
<L> + ps | split horizontal |
<L> + pv | split vertical |
<L> + wc | unsplit |
<L> + wn | next split window - same as |
<L> + x | goto next error |
<L> + X | goto previous error |
<L> + h | move back |
<L> + l | move forward |
<L> + g | go to declaration |
<L> + i | go to implementation |
[b | previous tab |
]b | next tab |
zc | fold current method |
zo | unfold current method |
<L> + u | find usage |
<L> + f | open file |
<L> + c | open class |
<L> + s | open symbol |
<L> + ; | open current file structure |
<L> + d | show error message |
<L> + I | show selectIn popup |
<L> + e | popup recent Files |
<L> + b | show bookmark |
visual mode: T | popup refactoring menu |
pop up generate window | |
pop up inspector window | |
,b | debug |
,r | run |
,c | run class |
,d | debug class |
,t | run tests |
,T | rerun failed Tests |
Set command you can use in IdeaVim: link
Emulated Vim Plugins
vim-easymotion
vim-surround
vim-multiple-cursors
vim-commentary
argtextobj.vim
vim-textobj-entire
ReplaceWithRegister
vim-exchange
vim-highlightedyank
## Split
<leader>q - close content
<leader>ps - split horizontal
<leader>pv - split vertical
<leader>wc - unsplit
<leader>wn - next split window - same as <C-w>w
<leader>x - goto next error
<leader>X - goto previous error
## Navigation
<leader>h - move back
<leader>l - move forward
<leader>g - go to declaration
<leader>i - go to implementation
[b - previous tab
]b - next tab
<leader>u - find usage
gd, <c-]> - go to definition
<C-o - go back
`. - go to previous update position
## pop up window
<leader>f - open file
<leader>c - open class
<leader>s - open symbol
<leader>; - open current file structure
<leader>d - show error message
<leader>I - show selectIn popup
<leader>e - popup recent Files
<leader>b - show bookmark
## Refactoring
visual mode: T - popup refactoring menu
<leader>rg: pop up generate window
<leader>rc: pop up inspector window
## run & debug
,b - debug
,r - run
,c - run class
,d - debug class
,t - run tests
,T - rerun failed Tests
Guava is a set of core Java libraries from Google that includes new collection types (such as multimap and multiset), immutable collections, a graph library, and utilities for concurrency, I/O, hashing, caching, primitives, strings, and more! It is widely used on most Java projects within Google, and widely used by many other companies as well.
Read MoreThis Article show how to set up a Micro Service
projects in Intellij IDEA community version, But you don’t need to repeat this again, you can
Ribbon is load balancer
that work with Eureka, can provide the load balance on each service.
The feeling of Feign is very like JPA with CrudRepository
: you defined the entity and CrudRepository
generate all the CRUD methods for you, all you need just create interface
to implement that.
Resilience4j is used to protect your microservices to have cascading failure
, it deployed on the consumer
side to protect consumer
if producer
has any failure.
Eureka is clean solution for Spring service registration and discovery. Eureka works very like Config server/client, it put all the end-points
together instead of config files
.
External Config let you config all the service in 1 place, the benefit is not in the scope of this article.
Read MoreMicro service Archtecture implementation with Spring Cloud projects.
Read MoreAcuator is tools that can be used to monitoring your application’s health status. The official guide is here:
Read MoreAs backend developer, I always don’t know the CSS and html stuff, with recently working on Angular project, have to deal with the layout with CSS and html, so I write this to come up simple guide for backend developer, it is not that confusing…
Read MoreAngular Buildin HTTP is used to connect to backend for data, it used couple of interface so the structure looks weird (to me), so I want to ‘destructure’ the HTTP Client to see what are in the design.
Read More6. PipePipe used to transform or format the value, the format is:””eg we want to format the name and slice only show 5 charactors and upcase:<p> <...
Read MoreWith Angular 10, it can create new project with command line ng new
command, but I found that I lost the feeling about the infrastructure of Angular, so I try to dig in and try to learn Angular Infrastrcuture from bottom to up.
WebClient
is asynchronous/non-blocking HTTP Client, it is replacement of RestTemplate
, Here we walk through how to create and use webClient
.
echom
andechoe
- print message and error message, later can use:message
to show all previous printed message.
Builderpublic class Pizza { private int size; private boolean cheese; private boolean pepperoni; private boolean bacon; public static class Builder { ...
Read More