Posts

68 entries
201503 · 24

writing spring junit testcases

Writing JUnit test cases in Spring: adding spring-test to pom.xml and loading the application context in the test.

springjunitspring-test
Spring1 min
201503 · 10

spring-rabbitmq integration

Integrating RabbitMQ with Spring, from the rpm install and starting the server through the Spring configuration.

rabbitmqcentosspring
Spring1 min
201503 · 04

git command collection

A collection of git commands: migrating from svn, handling ignore files, setting remotes, dealing with tags and branches, reverting local commits, and backup and restore.

gitlabgitsvn
Linux1 min
201502 · 10

Unicode (utf8mb4) support in MySQL and MariaDB

Switching MySQL and MariaDB from utf8 to utf8mb4 so emoji can be stored, covering both the server settings and the actual column type changes.

mysqlmariadb
Linux2 min
201502 · 05

CentOS command collection

A collection of CentOS commands: locating installed programs, deleting old logs, editing hosts and DNS, checking OS bits and version, installing fonts, editing crond, and …

centos
Linux1 min
201502 · 05

Switching Korean/English input with Command+Space in Parallels

I've been using the settings below from version 8 through 11. Done. This worked for me.

macosparallels
Mac1 min
201502 · 05

spring map to xml viewresolver

A Spring view class I made when I had to return xml instead of the usual json. Only works when the result is a map. Set up the config below...

springxmlview
Spring2 min
201502 · 05

When Tomcat keeps throwing OutOfMemory

Fixing frequent Tomcat OutOfMemory errors by setting CATALINA_OPTS at the top of catalina.sh to raise heap and PermGen size.

centostomcat
Linux1 min