tree -I node_modules -L 2 | pbcopy |
- Always use PUBLIC_URL in browserRouter as basename or while giving path to images.
Gives the reviewer some context about the work and why this change is being made, the WHY you are doing this. This field goes more into the product perspective.
Provide a detailed description of how exactly this task will be accomplished. This can be something technical. What specific steps will be taken to achieve the goal? This should include details on service integration, job logic, implementation, etc.
This is where becomes technical. Here is where you can be more focused on the engineering side of your solution. Include information about the functionality they are adding or modifying, as well as any refactoring or improvement of existing code.
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.
- Follow standard conventions.
- Keep it simple stupid. Simpler is always better. Reduce complexity as much as possible.
- Boy scout rule. Leave the campground cleaner than you found it.
- Always find root cause. Always look for the root cause of a problem.
a = 1, b=3 ,c =5
let initialString = ''
let seperators = []
match = ''
replacer = ''
if(a>=b){
if(a>=c){
server { | |
listen 80 default_server; | |
listen [::]:80 default_server; | |
# SSL configuration | |
# | |
# listen 443 ssl default_server; | |
# listen [::]:443 ssl default_server; | |
# | |
# Note: You should disable gzip for SSL traffic. |
Go to serving location and create build folder - | |
cd /var/www | |
mkdir build | |
Go to project location, create build and copy it to the serving location | |
npm run build | |
scp -r ./build/* /var/www/build | |
Go to the nginx conf location and open default- | |
cd /etc/nginx/sites-available |
[Desktop Entry] | |
Name=Firefox | |
GenericName=Firefox | |
Exec=/home/myapps/firefox/firefox-69.0.1/firefox/firefox | |
Terminal=false | |
Icon=/home/myapps/firefox/firefox-69.0.1/firefox/browser/chrome/icons/default/default128.png | |
Type=Application | |
Categories=Application;Network;X-Developer; | |
Comment=Firefox Developer Edition Web Browser. |