Archive: 2017

0

Rest VS GraphQL

Hi guys, I have read some articles about Rest vs GraphQL, I would like to summarize a bit of what I learn so far, and give my suggestions: Background:People used to have their model, view and controll

0

IDEA Hotkeys

Description Eclipse IntelliJ IDEA VS Code show the type hierachy F4 ctrl+h Findusages Ctrl+Shift+G ⌥F7 Go to line Ctrl+L ⌘L Open resource Ctrl+Shift+R ⇧⌘O Open type Ctrl+Shift+T ⌘O

0

Dockerfile reference

Use Dockerfike create you own docker image. DockerFile contains basic image info mainainer info image CMD container CMD 1234567891011121314#第一行必须指令基于的基础镜像From ubutu#维护者信息MAINTAINER docker_user dock

0

Spring Bean

Bean attributes Attribute Description class Necessary, define the class used to create the bean name unique name identifier, you can use “id” or “name” in XML scope Define the scope of bean

0

Spring Framework Intro

BeanFactoryIt’s a simple container which provides Dependency Injection. It’s defined in org.springframework.beans.factory.BeanFactor.There are many instances of BeanFactory, one of the most used is X

0

Backup hexo and auto deploy with Jenkins

Finaly, I am able to update the blog again. I was trying to back up the whole project of the hexo blog and messed up……I guess it’s easier for you to watch other people’s experience rather than do it y

0

Big O Cheat sheets

Algorithm Structure Time:Best Time:Average Time:Worst Space:Worst Quick sort Array O(n log(n)) O(n log(n)) O(n2) O(n) Merge sort Array O(n log(n)) O(n log(n)) O(n log(n)) O(n) Heap sort Ar

0

Linux Configuration Files

mysql configuration file~/.my.cnf 启动引导程序配置文件12LILO /etc/lilo.confGRUB /boot/grub/menu.lst 系统启动文件核脚本1234主启动控制文件 /etc/inittabSysV启动脚本的位置 /etc/init.d、/etc/rc.d/init.d或/etc/rc.dSysV启动脚本链接的位置 /etc/init.d/r

0

JVM parameters

参数名称 含义 默认值 -Xms 初始堆大小 物理内存的1/64(<1GB) 默认(MinHeapFreeRatio参数可以调整)空余堆内存小于40%时,JVM就会增大堆直到-Xmx的最大限制. -Xmx 最大堆大小 物理内存的1/4(<1GB) 默认(MaxHeapFreeRatio参数可以调整)空余堆内存大于70%时,JVM会减少堆直到 -Xms的最小限制