-
Generate private key
$> openssl genrsa 2048 > my-private-key.pem
-
Generate certificate using private key, you will be prompted to fill some fields. Fill required fields randomly, except for
Common Namefill it with*.amazonaws.comor your valid domain name
Answer: All APIs of Node.js library are aynchronous that is non-blocking. It essentially means a Node.js based server never waits for a API to return data. Server moves to next API after calling it and a notification mechanism of Events of Node.js helps server to get response from the previous API call.
Source: tutorialspoint.com
| :80 { | |
| root /serve | |
| } |
FWIW: I didn't produce the content presented here (the outline from Edmond Lau's book). I've just copy-pasted it from somewhere over the Internet, but I cannot remember what exactly the original source is. I was also not able to find the author's name, so I cannot give him/her the proper credits.
- By Edmond Lau
- Highly Recommended 👍
- http://www.theeffectiveengineer.com/
This guide assumes that you recently run brew upgrade postgresql and discovered to your dismay that you accidentally bumped from one major version to another: say 9.3.x to 9.4.x. Yes, that is a major version bump in PG land.
First let's check something.
brew info postgresqlThe top of what gets printed as a result is the most important:
SSH into Root
$ ssh root@123.123.123.123
Change Root Password
| # encoding: utf-8 | |
| ## | |
| # Backup Generated: my_database_backup | |
| # Once configured, you can run the backup with the following command: | |
| # | |
| # $ backup perform -t my_database_backup [-c <path_to_configuration_file>] | |
| # | |
| # For more information about Backup's components, see the documentation at: | |
| # http://backup.github.io/backup |
| Structure data: | |
| - iOS: | |
| { | |
| alert: "Message show in notification", | |
| badge: 1, | |
| sound: "siren.aiff", | |
| expiry: Time.now + 60*60, | |
| content_available: true, | |
| custom: { | |
| event_type: "doctor_on_way", |
| # encoding: utf-8 | |
| ## | |
| # Backup Generated: my_database_backup | |
| # Once configured, you can run the backup with the following command: | |
| # | |
| # $ backup perform -t my_database_backup [-c <path_to_configuration_file>] | |
| # | |
| # For more information about Backup's components, see the documentation at: | |
| # http://backup.github.io/backup |