Skip to content

Instantly share code, notes, and snippets.

View brettgoulder's full-sized avatar

Brett Goulder brettgoulder

  • Crunchy Data
  • San Francisco, CA
View GitHub Profile
@brettgoulder
brettgoulder / generate-a-self-signed-san-cert.md
Last active April 21, 2016 19:44
Generate a self-signed SAN Cert

Step 1 - Create a req.conf file and fill it with the following:

[req]
distinguished_name = req_distinguished_name
x509_extensions = v3_req
prompt = no
[req_distinguished_name]
C = US
ST = VA
L = SomeCity
@brettgoulder
brettgoulder / tutorial.md
Created April 8, 2016 18:51
Generate a self-signed SAN Cert

Step 1 - Create a req.conf file and fill it with the following:

[req]
distinguished_name = req_distinguished_name
x509_extensions = v3_req
prompt = no
[req_distinguished_name]
C = US
ST = VA
L = SomeCity
@brettgoulder
brettgoulder / Gemfile
Created May 27, 2014 23:40
Simple app that will run on bamboo
source "https://rubygems.org"
gem "sinatra"
@brettgoulder
brettgoulder / a.rb
Created May 20, 2014 16:58
Easily create foreign data wrappers
#!/usr/bin/env ruby
require 'uri'
require 'pg'
uri = URI.parse(ENV['REMOTE_DATABASE_URL'])
preamble = %Q(
CREATE EXTENSION IF NOT EXISTS postgres_fdw;
DROP SERVER IF EXISTS fdw_db;
@brettgoulder
brettgoulder / gist:1355320
Created November 10, 2011 16:35 — forked from aareese/gist:1355298
the most awesome website ever
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
<html>
<head>
<meta name="description" content="I am a UI Designer and all around problem solver.">
<meta name="keywords" content="UI, Boulder, Technology, Apps, Design, Web Development, Front End, Information Architecture, iPhone Design, Entrepreneur">
<meta charset="UTF-8">
<meta name="copyright" content="2011">
<title>Alyssa Reese | app design in Boulder, Colorado</title>
This is a gist