Use of DateTimeFormatter

Posted on by Kim

Use DateTimeFormatter instead of SimpleDateFormat


@SuppressWarnings not working with checkstyle

Posted on by Kim

Remember to add SuppressWarningsHolder insite the TreeWalker as:

  <module name="TreeWalker">
     <module name="SuppressWarningsHolder" />

ssh, scp to Virtualbox

Posted on by Kim

Under Network -> Advanced -> Port  Forwarding

Name: ssh
Protocol: TCP
Host Port: 3022
Guest Port: 22

Start client from terminal

VBoxManage startvm "<name>" --type headless

SSH from host to client

ssh -p 3022 kim@

SCP from host to client

scp -P 3022