$ cat ~/.ssh/id_rsa.pub | ssh -i ~/.ssh/your_pemfile.pem ubuntu@your_ip_addr "cat>> .ssh/authorized_keys"
| Compute | |
| EC2 Virtual Private Servers | |
| Lightsail Amazon's hosting provider (vps, dns, storage) | |
| Lambda Functions you can run, written in Python, NodeJS, Go etc. Can run many in parallel. | |
| Batch Run software jobs on EC2 machines | |
| Elastic Beanstalk Run software on managed virtual machines | |
| Serverless Application Repository Repository of serverless applications that you can deploy (on lambda) | |
| AWS Outposts Basically run Amazon services on your own hardware (datacenter) | |
| EC2 Image Builder Create EC2 (ami?) images automatically |
(This is a translation of the original article in Japanese by moratorium08.)
(UPDATE (22/3/2019): Added some corrections provided by the original author.)
Writing your own OS to run on a handmade CPU is a pretty ambitious project, but I've managed to get it working pretty well so I'm going to write some notes about how I did it.
| ########## Install NGINX ############## | |
| # Install software-properties-common package to give us add-apt-repository package | |
| sudo apt-get install -y software-properties-common | |
| # Install latest nginx version from community maintained ppa | |
| sudo add-apt-repository ppa:nginx/stable | |
| # Update packages after adding ppa |
When setting these options consider the following:
- How long is your average request?
- What is the maximum number of simultaneous visitors the site(s) get?
- How much memory on average does each child process consume?
sudo grep max_children /var/log/php?.?-fpm.log.1 /var/log/php?.?-fpm.log
A collection of links to the excellent "Composing Software" series of medium stories by Eric Elliott.
Edit: I see that each post in the series now has index, previous and next links. However, they don't follow a linear flow through all the articles with some pointing back to previous posts effectively locking you in a loop.
##Windows users:
- Download wamp: http://www.wampserver.com/en/
- Download and extract cmder mini: https://github.com/cmderdev/cmder/releases/download/v1.1.4.1/cmder_mini.zip
- Update windows environment variable path to point to your php install folder (inside wamp installation dir) (here is how you can do this http://stackoverflow.com/questions/17727436/how-to-properly-set-php-environment-variable-to-run-commands-in-git-bash)
cmder will be refered as console
##Mac Os, Ubuntu and windows users continue here:
- Create a database locally named
homesteadutf8_general_ci
The sixth version of ECMAScript (called ES6 or ES2015) has now been finalized and we'll be taking advantage of the new features+syntax available. Since not all browsers support the new standard (yet) we'll be using Babel as a transpiler. This allows us to write future-proof code, that will still work today.
- Learn ES2015: http://babeljs.io/docs/learn-es2015/
- Building modular javascript applications in es6 with React, Webpack, and Babel: https://medium.com/@yamalight/building-modular-javascript-applications-in-es6-with-react-webpack-and-babel-538189cd485f
- ESLint docs: http://eslint.org/docs/user-guide/configuring
- List of ES6 posts by Nicholas Zakas: http://www.nczonline.net/blog/tag/ecmascript-6/
- Understanding ES6 (online book): https://leanpub.com/understandinges6/read
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.