Disable Atom to add newline automatically

The Whitespace Package in Atom will cause problems when man checks the code in GIT. The changes of the file because of  the newlines become hard to be compared.

In this issue, https://github.com/atom/atom/issues/3725, it is suggested to uncheck “Ensure single trailing newline”. It works for me in GIT, that all the items must be unchecked or just uninstall the Whitespace Package.


Command to change screen resolution of Ubuntu in Hyper-V

  • In Terminal:

        jie@jie:~ $ sudoedit /etc/default/grub

  • Change file:

     GRUB_CMDLINE_LINUX_DEFAULT="quiet splash video=hyperv_fb:1920x1080"

  • Hit Ctrl + X and select Y(Yes)
  • In Terminal:

        jie@jie:~ $ sudo update-grub

        jie@jie:~ $ sudo reboot