Blog

Machine Learning Series

I’m writing a series of posts on machine learning. What is Machine Learning? Classification and Regression Loss and Gradient Descent Modified Gradient Descent Your First Linear Regression Experiment Real data,… Read more

Supporting HTTPS in a DigitalOcean WordPress VM

It’s good practice to enable HTTPS on all websites so that visitors to your website have a secure connection. With a WordPress website, HTTPS secures the authentication details you enter… Read more

Migrating from cluster management in Docker Cloud

On May 21, Docker is discontinuing cluster management in Docker Cloud. This was disappointing at first, as I had an efficient deployment process using Stacks at Docker Cloud, but having… Read more

Fixing “SSH Permission denied (publickey)” in DigitalOcean

If you ssh into a droplet and get Permission denied (publickey) then you need to add a public key from your local machine to the droplet’s authorized keys. This tells… Read more

Mongo queries

To connect to mongo on the command-line: mongo <database name>   To show the collections in the database: show collections   To find documents in a collection: db.collection.find() eg db.users.find()… Read more