Date setTimezoneOffset method phptuts November 21, 2017 As you all know, all date methods work only in the context of local time (user) or UTC, but sometimes you want to work in… Continue Reading
How to chmod folders or files only phptuts November 20, 2017 To chmod folders only, you can use command: To chmod files only, you can use command: Continue Reading
Using FTP with VPSSIM on CentOS phptuts November 20, 2017 Use vpssim menu: Choose menu 9 then choose sub-menu 5 to setup FTP server: Now you will see this screen: Type 1 to create an… Continue Reading
How to create websocket secure by using NodeJS phptuts November 11, 2017 Method 1: In this article: How to run a https website with Nodejs, express and socket.io Method 2: use NGINX file .conf Now, you can… Continue Reading
How to create a free Let’s Encrypt certificate on CentOS with NGINX phptuts November 11, 2017 Step 1: Step 2: Result: To renew automatically: Because that Let’s Encrypt certificates is valid for 90 days, so must renew. To test: Result: You… Continue Reading
How to run a https website with Nodejs, express and socket.io phptuts November 11, 2017 Step 1: generate RSA key Use command line: (on Windows we can use Cygwin) Result: Step 2: create file csr.pem Result: Step 3: create SSL… Continue Reading