Skip to content

Instantly share code, notes, and snippets.

View capjuancode's full-sized avatar

Juan D Lopez capjuancode

View GitHub Profile
@capjuancode
capjuancode / gist:6bd27dbee5adce355a8558ef9d607c84
Created July 14, 2020 14:47 — forked from shripadk/gist:552554
Setting up Heroku Hostname SSL with GoDaddy SSL Cert
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 September 21, 2020 15:27
Visual Studio Code Settings Sync Gist
{"lastUpload":"2020-09-21T15:27:21.324Z","extensionVersion":"v3.4.3"}
# 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 July 7, 2015 20:01
REPL Game Captain America
module Actions
def welcome
20.times do
puts
end
puts <<-END
CAPTAIN AMERICA