Skip to content

Instantly share code, notes, and snippets.

💭
I may be slow to respond.

Tobi Muhamad tobidsn

💭
I may be slow to respond.
Block or report user

Report or block tobidsn

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@tobidsn
tobidsn / numberWithThousands.js
Created Jul 12, 2019 — forked from fjaguero/numberWithThousands.js
JS Regex: Adds thousands separator to a number.
View numberWithThousands.js
// Adds the thousands separator
function numberWithThousands(x) {
return x.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ".");
}
@tobidsn
tobidsn / install-comodo-ssl-cert-for-nginx.rst
Created Oct 12, 2017 — forked from bradmontgomery/install-comodo-ssl-cert-for-nginx.rst
Steps to install a Comodo PositiveSSL certificate with Nginx.
View install-comodo-ssl-cert-for-nginx.rst

Setting up a SSL Cert from Comodo

I use Namecheap.com as a registrar, and they resale SSL Certs from a number of other companies, including Comodo.

These are the steps I went through to set up an SSL cert.

Purchase the cert

You can’t perform that action at this time.