Skip to content

Instantly share code, notes, and snippets.

Avatar

Juan D Lopez capjuancode

View GitHub Profile
@capjuancode
capjuancode / gist:6bd27dbee5adce355a8558ef9d607c84
Created Jul 14, 2020 — forked from shripadk/gist:552554
Setting up Heroku Hostname SSL with GoDaddy SSL Cert
View gist:6bd27dbee5adce355a8558ef9d607c84
How to setup Heroku Hostname SSL with GoDaddy SSL Certificate and Zerigo DNS
Heroku recently added an exciting new 'Hostname SSL' option. This option offers the broad compatibility of IP-based SSL, but at 1/5 the price ($20 / month at the time of this writing).
The following tutorial explains how to use Heroku's new 'Hostname SSL' option on your Heroku project. Before we begin, let's list what we're using here:
* Heroku Hostname SSL
* GoDaddy Standard SSL Certificate
* Zerigo DNS
@capjuancode
capjuancode / cloudSettings
Last active Sep 21, 2020
Visual Studio Code Settings Sync Gist
View cloudSettings
{"lastUpload":"2020-09-21T15:27:21.324Z","extensionVersion":"v3.4.3"}
View prompt.sh
# Configure colors, if available.
if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then
c_reset='\[\e[0m\]'
c_user='\[\e[0;32m\]'
c_path='\[\e[1;34m\]'
c_git_clean='\[\e[0;37m\]'
c_git_staged='\[\e[0;32m\]'
c_git_unstaged='\[\e[0;31m\]'
else
c_reset=
@capjuancode
capjuancode / actions.rb
Created Jul 7, 2015
REPL Game Captain America
View actions.rb
module Actions
def welcome
20.times do
puts
end
puts <<-END
CAPTAIN AMERICA