Home

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的最小限制

0

Most used Linux commands

Unzip bz2 keep the original filebzip2 -dk filename.bz2 Find out the current Linux versioncat /etc/*-release ssh-keygen -f id_rsa -p Check hardwarelshw Change java versionupdate-alternatives -config ja

0

Docker machine commands

If you are using a mac, just like a linux, you don’t need docker-machine to run docker-engine locally Basics operation123456docker-machine --versiondocker-machine start defaultdocker-machine stop def

0

YAML Syntax

YAML Ain’t Markup LanguageBelow is an example of an invoice expressed via YAML(tm). Structure is shown through indentation (one or more spaces). Sequence items are denoted by a dash, and key value pai