Delete LF before EOF and Modify sample codes more simple

[Common]
* Delete LF before EOF

[risoluto/apps/RisolutoApps/Sample/*]
* Modify codes more simple