Kỳ 4:
- CTDL-GT: https://drive.google.com/open?id=0BzsPPAoZSoRqYk5qcFdXdkF4VHc
- Tin 2: https://drive.google.com/open?id=0BzsPPAoZSoRqMldxZFFzZ0tuT0k ==================================================
Kỳ 5:
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| # Example of `factory method' design pattern | |
| # Copyright (C) 2011 Radek Pazdera | |
| # This program is free software: you can redistribute it and/or modify | |
| # it under the terms of the GNU General Public License as published by | |
| # the Free Software Foundation, either version 3 of the License, or | |
| # (at your option) any later version. |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>Google Sheets API Quickstart</title> | |
| <meta charset='utf-8' /> | |
| </head> | |
| <body> | |
| <p>Google Sheets API Quickstart</p> | |
| <!--Add buttons to initiate auth sequence and sign out--> |
Kỳ 4:
Kỳ 5:
| sudo apt-get purge golang* | |
| sudo rm -rf /usr/lib/go-1.6/ /usr/lib/go-1.6/src/ /usr/lib/go-1.6/src/runtime/ /usr/lib/go-1.6/src/runtime/race | |
| curl -O https://storage.googleapis.com/golang/go1.11.1.linux-amd64.tar.gz | |
| sudo tar -C /usr/local -xzf go1.11.1.linux-amd64.tar.gz | |
| mkdir -p ~/go; echo "export GOPATH=$HOME/go" >> ~/.bashrc | |
| echo "export PATH=$PATH:$HOME/go/bin:/usr/local/go/bin" >> ~/.bashrc | |
| source ~/.bashrc |
Code is clean if it can be understood easily – by everyone on the team. Clean code can be read and enhanced by a developer other than its original author. With understandability comes readability, changeability, extensibility and maintainability.