суббота, 13 мая 2017 г.

n queens puzzle

Hi! I was getting bored and started to think about algorithms.
Here is a solution to the 8 queen problem. Code is on github: https://github.com/chernykhalexander/puzzles/blob/master/src/test/java/ru/chernykh/queen/QueenTest.java.

Thanks!

среда, 10 мая 2017 г.

VirtualBox. Mount Windows shared folder in Linux guest

Small snippet how to mount a windows shared folder in linux guest in VirtualBox:
mount -t vboxsf share ~/host

where host is the mount point in linux guest and share is the name of the shared folder defined in VirtualBox.