Month: January 2018

HTML & CSS and their roles in building Web pages

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 …


Fix serial port permission denied errors on Linux

The ancient serial port which is no longer found on the latest motherboards and even the not so latest laptops is still used for connecting to the console of networking devices, headless computers and a lot other applications. On computers which do not have built-in serial ports USB-to-Serial adapters can be used. Linux identifies inbuilt …


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 …


Configure OpenVpn [Author’s experience] – Part1

1. Firstly, we need to download the lastest version of openVpn online. Under this website: https://openvpn.net/index.php/open-source/downloads.html For dev-based linux distribution (like Ubuntu), we will need to download the file: <file.name>.tar.gz 2. Secondly, we will need to install some missing dependences. Some of commons openvpn required dependences are: . “ssl is required but missing openvpn” $ …


How to: Format SD card back to original size (Windows cmd)

1. Click Start button, then write: “diskpart“. Hit Enter.   2. Wait few second, then: “list disk“ “select disk X”     substitute X with the number of disk that we are going to format. “clean”    : delete all the data on SD card, you may need to remove and reinsert the card after …


GCC and Make Compiling, Linking and Building C/C++ Application

GCC and Make Compiling, Linking and BuildingC/C++ Applications     Very good material!   http://www3.ntu.edu.sg/home/ehchua/programming/cpp/gcc_make.html     REFERENCES & RESOURCES GCC Manual “Using the GNU Compiler Collection (GCC)” @ http://gcc.gnu.org/onlinedocs. GNU ‘make’ manual @ http://www.gnu.org/software/make/manual/make.html. Robert Mecklenburg, “Managing Projects with GNU Make”, 3rd Edition, 2004.


Install Eclipse for developing C/C++ project

1. Open terminal and run the following:   sudo apt-get install eclipse eclipse-cdt g++   Once it has finish, you can enjoy Eclipse plattform for making your own C/C++ project.   https://www.youtube.com/watch?v=ckSOqSSSB6w   2. Potential errors:   a. When you run your code, you may face with a potential error as following:   “Launch failed, …


Install Visual Studio 2010

For make C++ project: https://www.youtube.com/watch?v=LRcoKAkg8mI     Something relates to com2tcp: http://stackoverflow.com/questions/9821108/winsock-programming http://stackoverflow.com/questions/12954821/cannot-find-or-open-the-pdb-file-in-visual-studio-c-2010 http://stackoverflow.com/questions/23533127/native-has-exited-with-code-1-0x1 http://stackoverflow.com/questions/3924926/cannot-convert-parameter-1-from-char-to-lpcwstr


Install SoftEther Server on Linux Ubuntu 14.04

http://www.softether.org/4-docs/1-manual/7._Installing_SoftEther_VPN_Server/7.3_Install_on_Linux_and_Initial_Configurations   [root@machine root]# tar xzvf vpnserver-5070-rtm-linux-x86.tar.gz [root@machine vpnserver]# make [root@machine vpnserver]# cd .. [root@machine root]# mv vpnserver /usr/local [root@machine root]# ls -l /usr/local/vpnserver/ [root@machine root]# cd /usr/local/vpnserver/ [root@machine vpnserver]# chmod 600 * [root@machine vpnserver]# chmod 700 vpncmd [root@machine vpnserver]# chmod 700 vpnserver [root@machine vpnserver]# ./vpncmd Select 1, 2 or 3: 3 VPN Tools>check VPN Tools>exit /etc/init.d/vpnserver #!/bin/sh # chkconfig: 2345 99 01 # description: SoftEther VPN Server …