Handy Commands

Contaminated Files (.DS_Store) in GIT Folder even with .gitignore settings

When you you find files (.DS_Store) files continually in your git repo, you can use this command to delete the files.

find git/repo -name .DS_Store -delete

Confirm there are no .DS_Store files left

find . | grep -c .DS_Store

StackOverflow:How to stop creating .DS_Store on Mac?

InboundBasicMessaging and Disable Features

I kept receiving “InboundBasicMessaging” disconnected on my WebSphere Liberty Instance SIBException and disconnections (I am using the j2ee-7 feature).

I added this snippet to disable