Skip to content

Instantly share code, notes, and snippets.

View mrispoli24's full-sized avatar

Mike Rispoli mrispoli24

  • Cause Of A Kind
View GitHub Profile
@mrispoli24
mrispoli24 / keybase.md
Created May 30, 2020 19:39
Keybase identity

Keybase proof

I hereby claim:

  • I am mrispoli24 on github.
  • I am mrispoli24 (https://keybase.io/mrispoli24) on keybase.
  • I have a public key ASD413-c14YrOSZPSfsfV-30RK65lo61D7_R6IYXCypx9Ao

To claim this, I am signing this object:

@mrispoli24
mrispoli24 / setting-up-heroku-and-cloudflare.md
Created October 15, 2018 18:41
Setting up Heroku and Cloudflare (the right way)

Setting up Heroku and Cloudflare (the right way)

The following outlines how to setup Heroku + Cloudflare with a full SSL certificate. What this means is that communication between the browser and the Cloudflare CDN is encrypted as well as communication between Cloudflare and Heroku’s origin server. Follow these steps exactly and the setup is a breeze.

Step 1: Set up domain names in Heroku

First you want to add the root domain and the www domain to heroku. You do this by clicking into your production application, then going to settings and then scrolling down to Domains and certificates.

Here you will add <your_domain>.com and www.<your_domain>.com. This will give you two CNAME records. They will look something like <your_domain>.com.herokudns.com and www.<your_domain>.com.herokudns.com.

Step 2: Add CNAME records to Cloudfare.

@mrispoli24
mrispoli24 / express-parent-cats.md
Created August 20, 2014 14:10
Adding Parent Categories to Express Feed

Adding Men's and Women's Parent Categories

<?xml version="1.0" encoding="UTF-8"?>
<Feed>
    <Categories>
        <Category>
            <CategoryUniqueID>cat1001</CategoryUniqueID>
            <Name>Men's</Name>
            <CategoryUrl>http://www.myawesomestore.com/categories/mens</CategoryUrl>