Nginx / Comodo PositiveSSL / CentOS 7


1. Before you purchase your SSL

Before any purchase of an SSL you’ll need a key file and a csr (Certificate Signing Request).

The certificate registrar is going to ask for the contents of your csr file, just cut and paste whats inside the file into the webform. Make sure you register with the domain name you plan on using. Purchase your SSL, they’ll send your administrator an email validate that. Then wait for an email from Comodo with a zip file.

Within this zip file you’ll receive 4 files:

  • AddTrustExternalCARoot.crt – Root Cert
  • COMODORSAAddTrustCA.crt – Intermediate Cert
  • COMODORSADomainValidationSecureServerCA.crt – Intermediate Cert
  • server_name.crt – Your Positive Cert

2. Prep for installing SSL Cert

3. Installing the SSL Certificate

Now to configure Nginx.

4. Restart Nginx

To test your ssl:

Jenkins 1.59 / CentOS 7 / GitHub / Rails / RSpec / Rbenv


As this is for personal use the system I configured has 1 64bit CPU, 1GB of RAM, and 30GB SSD HDD (the $10/mo DigitalOcean plan). I first tried it with the $5 plan, that kept giving me memory issues as Jenkins/Hudson runs on a JavaVM so for my needs 1GB of ram was needed. I won’t be running multiple builds with multiple nodes, pretty much whenever I push code to GitHub/BitBucket I want Jenkins to build and deploy code. If I push to master and it passes deploy to production, If I push to development and it passes deploy to staging.

My setup: 1 VM production server, 1 Physical staging server (in my office), 1 JenkinsCI VM server, and numerous repositories on GitHub and BitBucket.

Setting up Jenkins on CentOS 7

Setup for Rails / Rbenv

Adding EPEL to CentOS 7



CentOS 7 and PostgreSQL 9.3


Process to install and initialize.

Ubisoft – Assassin’s Creed Unity


Thank you Ubisoft! I now am going to think twice when it comes to pre-ordering games. I wanted to like this game so much like the other Assassin’s Creed games but with all the bugs and the user experience is just unplayable. I’ve jumped from one rooftop to another just to end up in an endless free fall. I am every disappointed.

Swift – Convert String to Double


Swift has conventions to convert a string into an int

But for doubles, lets say you want var dblString = “5.559” converted from a string to a double. You can’t just do dblString.toDouble()!, not going to happen it just gives an error. So the solution for now is to use Objective-C

Home made Poo Pourri


My wife brought home some poo poo spray one night and I asked her how much it cost for this 2 oz bottle of water and fragrance oils. $10 for a 2 oz bottle of what I assume is mostly tap water and essential oils. Now I have to admit I used it and it does work but I know I can make something similar. And at a better price point which would make it so much better. I knew I needed an emulsifier to mix the water and fragrances together.


Alcohol is an oil emulsifier but so is something called Polysorbate 20. I found that industries use Polysorbate 20 to mix fragrances into liquids like bleach and cleansers. It’s also used in cosmetics. Continue reading