Skip to content

Instantly share code, notes, and snippets.

Brett Goulder brettgoulder

View GitHub Profile
@brettgoulder
brettgoulder / generate-a-self-signed-san-cert.md
Last active Apr 21, 2016
Generate a self-signed SAN Cert
View generate-a-self-signed-san-cert.md

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 Apr 8, 2016
Generate a self-signed SAN Cert
View tutorial.md

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
Simple app that will run on bamboo
View Gemfile
source "https://rubygems.org"
gem "sinatra"
@brettgoulder
brettgoulder / a.rb
Created May 20, 2014
Easily create foreign data wrappers
View a.rb
#!/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 Nov 10, 2011 — forked from aareese/gist:1355298
the most awesome website ever
View gist:1355320
<!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>
You can’t perform that action at this time.