Code review check list

Follow coding convention
Does code implement the provided solution?
Does code meet functional requirement?
Is there any Side effect of this change?
Does code is readable?
Does code handles bad input and exception?
Reuse existing code?
Is unit test updated to cover the changes?
Does the implementation follow the system architecture?

Cửa hàng thủy sinh

– Cửa hàng
http://nuphar-aquarium.blogspot.com/p/lien-he-contac.html?m=1
Thuysinhasin
Son ha
cao quy
phukienthuysinh.com
http://shop.saigonaqua.com/
http://cacanhsonyen.com/
SaiGon Aqua
http://www.vinhaqua.com
http://www.thietbihoca.com/
Thủy mộc
cafethuysinh.com
http://k-aqua.vn
http://www.vinhaqua.com
– Diễn Đàn
http://tepviet.com/forum/threads/41859-Q3-B%C3%A1n-r%C3%A1y-nana-petite
– Bài viết
Chu trình nito: http://bouaqua.net/tim-hieu-ve-chu-trinh-nito-nitrogen-cycle/
Lọc EDEN 501, Boyu, Resun CY 20
http://bouaqua.net/thu-nghiem-anh-sang-led-cho-ho-thuy-sinh/

Share folder between Windows and Virtual Machine

Connect VM via SSH :
Step 1. Install samba

sudo apt-get update
sudo apt-get install samba

Step 2. Set a password for your user in Samba

sudo smbpasswd -a root

and set passwd 123123

Step 3. Edit the file “/etc/samba/smb.conf”

sudo nano /etc/samba/smb.conf

smb.conf” has loaded, add this to the very end of the file:

[server]
path = /root
available = yes
valid users = root
read only = no
browseable = yes
public = yes
writable = yes

Tip: There Should be in the spaces between the lines, and note que also there should be a single space both before and after each of the equal signs.

Step 4. Restart the samba:

sudo restart smbd

Step 5. Once Samba has restarted, use this command to check your smb.conf for any syntax errors

testparm

Step 6. Connect share folder in VM via network location of Windows ( shortcut : windows + E )

1. Open your computer
2. Right-click and choose “Add a network location”
3. Next -> choose a custom network location
4. In “Internet or Network address”, fill out : \\192.168.56.101\server ( this is VM’s IP and the shared folder )
5. Next
6. Change the name that you want.
7. Next -> Finish
8. The result !

Install nodemon : nodemon is used for automatic build after your source code changing

Sudo apt-get install nodejs npm
Sudo npm install –g nodemon


Fix problem authentication fail

apt-get install –reinstall libsmbclient libsmbclient-dev libtevent0 libtalloc2

There was a miss match of shared libraries with either tevent or talloc.

Create a subst folder

Assuming you are on windows:

What I always do is use subst to create a driveletter asccociation with part of the path.

Then go to the new driveletter and navigate to the files that have long names. You should now be able to rename/delete/etc them. The reason this works is because the path itself is no longer containing >255 chars.

Continue reading Create a subst folder