Skip to content

Instantly share code, notes, and snippets.

View paulcpederson's full-sized avatar
whipping up spiffy interfaces

Paul Pederson paulcpederson

whipping up spiffy interfaces
View GitHub Profile
paulcpederson / Language Pangrams
Last active October 15, 2020 20:06
pangrams in many different languages
View Language Pangrams
<!DOCTYPE html>
<html lang="en">
<meta charset="utf-8">
<meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible">
<meta name="viewport" content="width=device-width, user-scalable=no">
<title>Lot's of languages</title>
paulcpederson /
Last active October 1, 2022 16:45
Creating Valid Certificates for Local Development

Creating the Root Certificate

You only need to do this once for your computer. All subsequent certificates you make will get generated from this root cert.

First, generate a private key:

openssl genrsa -des3 -out myCA.key 2048
paulcpederson /
Created January 26, 2018 18:51
Rename files in folder to last 6 digits of current filename
\ls | while IFS= read f; do mv -vn "$f" "${f: -6}"; done
paulcpederson /
Created October 18, 2016 16:53
Cold Brew experiment results.

Cold brew

Initial test on 10/17/16. Grounds were 20 days old, all Stumptown Hair Bender.

Ratio Water Grounds Ground Size Extraction Time Quality
5/1 500ml 100 21 15:15 A
10/1 500ml 50 21 15:15 B
15/1 500ml 33.3 21 15:15 D
paulcpederson / tags.js
Last active April 15, 2019 01:35
Get the top tags of an artist formatted for itunes from their page
View tags.js'.tags-list--global .tag a')).map(function (tag) {
return 'genre:' + tag.innerText.replace(/ /g, '-');
}).join(', ')
paulcpederson / responsive-video.scss
Created February 13, 2014 19:23
responsive-video css hack
View responsive-video.scss
.video-wrap {
position: relative;
padding-bottom: 56.25%;
padding-top: 30px;
height: 0;
overflow: hidden;
iframe, object, embed {
position: absolute;
top: 0;
left: 0;