Generating RSA Keys using OpenSSL command line

Generate 2048 bit private-public key pair

openssl genrsa -des3 -out private.pem 2048

You will be prompted for a passphrase for private key, make sure you remember the passphrase you use.

openssl rsa -in private.pem -outform PEM -pubout -out public.pem

If you want unencrypted private key, you can get it with the following command (optional)

openssl rsa -in private.pem -out private_unencrypted.pem -outform PEM

Official OpenSSL docs reference

Engineering Management Playbook by Yishan Wong

This is one of the best playbooks I have read about Engineering Management.

Thank you Yishan Wong (ex-facebook director engineering). It covers all aspects of operational product engineering. i.e. Recruiting engineers, technical leaders.

He also gives uncommon wisdom on encouraging talent, process and tools implementation and a healthy technology company.

A lot of these principles are also applicable to outsourced product development (OPD) vendors.

Programming: How to avoid getting stuck and how to get unstuck

Follow up to his earlier post about Greatest Enemy of a Programmer, Jeff talks about how programmers can avoid getting stuck. Observing how good programmers work, I agree with him about traits of a great programmer –

The master programmer performs an O(logn) algorithm at worst. At worst, each experiment invalidates half of the possible causes. Some experiments, thoughtfully chosen, eliminate a much larger swath. Therefore even if there are millions of possible causes for the bug—millions of lines of code—the tests must ultimately converge somewhere. And they will do so in a relatively small number of steps.