How to slay programming interviews
This gist is currently under re-development after my most recent round of interview prep and will be re-posted with major edits soon.
This is a step-by-step tutorial for hosting your website under your domain on IPFS, from zero, on a DigitalOcean Ubuntu 16.04.3 x64 Droplet (i am using the $10 variant with 2GB RAM).
Log in as root.
First, make sure the system is up to date, and install
Disclaimer: This piece is written anonymously. The names of a few particular companies are mentioned, but as common examples only.
This is a short write-up on things that I wish I'd known and considered before joining a private company (aka startup, aka unicorn in some cases). I'm not trying to make the case that you should never join a private company, but the power imbalance between founder and employee is extreme, and that potential candidates would
|# Author: CzBiX|
|# URL: https://gist.github.com/CzBiX/e64256b23687bb13da02|
|# Support only Ubuntu 16.04|
|SUCCESS_MSG="Please quit nautilus with 'nautilus -q' to make sure patch worked."|
|This script performs efficient concatenation of files stored in S3. Given a|
|folder, output location, and optional suffix, all files with the given suffix|
|will be concatenated into one file stored in the output location.|
|Concatenation is performed within S3 when possible, falling back to local|
|operations when necessary.|
|Run `python combineS3Files.py -h` for more info.|
This tutorial walks through setting up AWS infrastructure for WordPress, starting at creating an AWS account. We'll manually provision a single EC2 instance (i.e an AWS virtual machine) to run WordPress using Nginx, PHP-FPM, and MySQL.
This tutorial assumes you're relatively comfortable on the command line and editing system configuration files. It is intended for folks who want a high-level of control and understanding of their infrastructure. It will take about half an hour if you don't Google away at some point.
If you experience any difficulties or have any feedback, leave a comment.
Coming soon: I'll write another tutorial on a high availability setup for WordPress on AWS, including load-balancing multiple application servers in an auto-scaling group and utilizing RDS.