Category: blogs

Deploy angular app into server

1- You need to build your project using: ng build –prod If you see some problem while launching your website, maybe it is because your build is optimized and it misses some needed component. In this case, you would need to set: … “optimization”: false, … You can find this line inside: angular.json or .angular-cli.json …


Why does my gitignore not ignore a file?

When you work with Git, many times, you may see that you have a file but you do not want to track it. You put this file inside your .gitignore but the file still is tracked. Why that problem? This is because your file being held inside git cached. And you will need to remove …


Compress/Extract files with Linux command lines

This blog will be updated frequently to give you as many as possible way to work with compressed files in Linux. A- Compress B- Extract 1 – .7z tientham@tientham:/tmp$ sudo apt-get install p7zip-full tientham@tientham:/tmp$ 7z x /home/tientham/Downloads/tito.7z 7-Zip [64] 9.20 Copyright (c) 1999-2010 Igor Pavlov 2010-11-18 p7zip Version 9.20 (locale=en_US.UTF-8,Utf16=on,HugeFiles=on,4 CPUs) Processing archive: /home/tientham/Downloads/tito.7z Enter …


C++ learning experience – part 1

During my c++ study, I have collected some definitions, explanations about topics that I have not known or not master yet. I would like to write down here to share my studying with you. 1 – Volatile key word: You use “volatile” when define a variable so that the compiler will not try to optimize …


How to create a .gitignore file under windows

How to create a .gitignore file under windows. In linux you can easily do that with touch command. But in Windows, in order to create a hidden file as .gitignore file, then you will need to do some trick. One of them is as follow: 1. Create file name: gitignore.txt 2. Write your content, your …


SHCD cuối khóa K52 – cảm nghĩ của 1 bạn sinh viên, khá hay!

  Đây là một bài viêt cảm nghĩ về buổi sinh hoạt công dân cuối cùng cho khóa K52 bọn mình,  Bài viết khá hay, và thực sự hôm đó đi nghe bản thân cũng thấy rất ấn tượng và có thêm nhiều điều.   -> Lưu lại đã :d. SV. Vũ Vân Anh Buổi sáng, trời mát lạnh, ba lô đi tới …