- https://cloud-images.ubuntu.com/locator/ec2/
- us-west-1 zesty 17.04 amd64 hvm:ebs-ssd 20171208 ami-e1131781 hvm
- used HVM for general purpose server
- add some alias: alias nei='ssh [email protected] -i ~/.ssh/xxx.pem'
| vim notes |
| 1. Free up to 10 pages hosted on subdomain | |
| 2. Subscription required: Export html of all pages including JS and CSS that you can import to your site | |
| 3. Page Designer (pages are based on Bootstrap 4) | |
| 4. SEO-ready (all pages follow SEO best practices as laid out by Google) | |
| 5. Custom domains | |
| 6. Secured pages using Let's Encrypt (https://letsencrypt.org) |
| 1. When generating CSR, use www in the registration. The corresponding non-www domain will be secured as well as mentioned here: | |
| https://www.clickssl.net/blog/do-i-need-different-ssl-certificates-for-www-non-www-domain |
| Go to AppData\Roaming\Sublime Text 3\Packages\User and add these two files |
| # User specific aliases and functions | |
| alias php="/usr/local/bin/php71" | |
| alias composer="/usr/local/bin/php71 ~/bin/composer" |
| ``CREATE DATABASE {db_name} DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci``; | |
| ``GRANT ALL ON {db_name}.* TO '{db_user}'@'localhost' IDENTIFIED BY '{db_pass}'``; | |
| FLUSH PRIVILEGES |
| $ npm install -g vue-cli | |
| $ vue init <template-name> <project-name>, e.g. $ vue init webpack my-project |
| :w !sudo tee % |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <phpunit backupGlobals="false" | |
| backupStaticAttributes="false" | |
| bootstrap="vendor/autoload.php" | |
| colors="true" | |
| convertErrorsToExceptions="true" | |
| convertNoticesToExceptions="true" | |
| convertWarningsToExceptions="true" | |
| processIsolation="false" |