LetsEnscrypt SSL

Cài đặt chứng chỉ Let’s Encrypt SSL trên server HocVPS Script https://www.digitalocean.com/community/tutorials/how-to-secure-nginx-with-let-s-encrypt-on-centos-7 https://www.digitalocean.com/community/tutorials/how-to-secure-apache-with-let-s-encrypt-on-centos-7 # Stop Nginx service nginx stop # Issue SSL Let’s Encrypt /opt/letsencrypt/certbot-auto certonly –standalone #Check nginx syntax nginx -t #Restar Nginx service nginx restart  

Add SSHkey to VPS

https://www.digitalocean.com/community/tutorials/how-to-set-up-ssh-keys-2 Create .ssh folder in root foder mkdir -p ~/.ssh echo public_key_string >> ~/.ssh/authorized_keys Phần quyền, chỉ root account mới có thể access. chmod -R go= ~/.ssh chmod 700 ~/.ssh chmod 600 ~/.ssh/authorized_keys   Disabling Password Authentication on your Server sudo nano /etc/ssh/sshd_config PasswordAuthentication no sudo service ssh restart

How To Install WordPress on Linux/CentOS 7

https://www.digitalocean.com/community/tutorials/how-to-install-wordpress-on-centos-7 https://hocvps.com/cai-dat-wordpress-tren-centos-6/   Step Two — Install WordPress Before we download WordPress, there is one PHP module that we need to install to ensure that it works properly. Without this module, WordPress will not be able to resize images to create thumbnails. We can get that package directly from CentOS’s default repositories using yum: sudo …

How To Install WordPress on Linux/CentOS 7 Read More »

Emmet hotkey sublime text 3

Go to SublimeText3 > Preference > Key binding Insert snipping code below [ { “keys”: [“ctrl+t”], “command”: “new_file” }, { “keys”: [“shift+alt+e”], “command”: “open_dir”, “args”: {“dir”: “$file_path”, “file”: “$file_name”}}, { “keys”: [“ctrl+alt+p”], “command”: “prompt_select_workspace”}, { “keys”: [“shift+alt+f”], “command”: “reindent” , “args”: { “single_line”: false }}, { “keys”: [“alt+r”], “command”: “reveal_in_side_bar”}, { “keys”: [“shift+ctrl+g”], “command”: “emmet_wrap_with_abbreviation”, …

Emmet hotkey sublime text 3 Read More »

Learning Javascipt

Create Object (tạo đối tượng) có 2 cách Object literals //đối tượng có 1 thuộc tính và 1 phương thức (method) var myCar = { brand: ‘Toyota’, run: function(){ console.log(‘running’); } }; Object constructor //Tạo 1 đối tượng mới var myApple = new Object(); //Thêm các thuộc tính cho đối tượng myApple.color = ‘red’; myApple.shape …

Learning Javascipt Read More »

Install & config ConEmu

Download here: https://conemu.github.io/ Start ConEmu with GitBash command line Config HOTKEY   Add ConEmu to Right-Click https://superuser.com/questions/454380/git-bash-here-in-conemu   Menu item: ConEmu Here Command: /single -run {Git Bash} Icon file:  C:\Program Files\ConEmu\ConEmu64.exe,0 Please click Register after config done.      

Install camtasia 2019 version

Download version 2019, from Techsmith download old version https://www.techsmith.com/download/oldversions 1. Sau khi cài đặt, phần mềm tự động start, chọn Nhập Key > Không Nhập > Thoát ra. Chú ý: Không được connect dùng thử   2. Mở file RegInfo.ini bằng notepad Trong folder C:\ProgramData\TechSmith\Camtasia Studio 19 Copy đoạn code bên dưới vào file [RegistrationInfo] …

Install camtasia 2019 version Read More »