Skip to content

Instantly share code, notes, and snippets.

View jdowning's full-sized avatar
😇

Justin Downing jdowning

😇
View GitHub Profile

Make it real

Ideas are cheap. Make a prototype, sketch a CLI session, draw a wireframe. Discuss around concrete examples, not hand-waving abstractions. Don't say you did something, provide a URL that proves it.

Ship it

Nothing is real until it's being used by a real user. This doesn't mean you make a prototype in the morning and blog about it in the evening. It means you find one person you believe your product will help and try to get them to use it.

Do it with style

@jdowning
jdowning / venu.xml
Created December 26, 2021 08:55
Garmin Venu Device Info
<Creator>
<Name>Venu</Name>
<UnitId>3322992137</UnitId>
<ProductID>3226</ProductID>
<Version>
<VersionMajor>6</VersionMajor>
<VersionMinor>50</VersionMinor>
<BuildMajor>0</BuildMajor>
<BuildMinor>0</BuildMinor>
</Version>
@jdowning
jdowning / check-kafka-private-link.sh
Created June 23, 2020 19:13
Check Heroku Kafka PrivateLink ports
@jdowning
jdowning / README.md
Created January 15, 2020 17:15
Parameterized KMS Key Policy

Set variables to use in template:

# note: these are example values
export AWS_ACCOUNT_ID=012345678901         
export HEROKU_DATA_ACCOUNT_ID=098765432109

Use the key policy with the variables:

envsubst &lt; key_policy.json
@jdowning
jdowning / kms-iam-policy.json
Created January 9, 2020 19:24
KMS IAM Policy for a shared Customer Master Key
{
"Id": "KMS-policy",
"Version": "2012-10-17",
"Statement": [
{
"Sid": "Enable IAM User Permissions",
"Effect": "Allow",
"Principal": {
"AWS": "arn:aws:iam::<your_aws_account_id>:root"
},
@jdowning
jdowning / minimal.txt
Created November 12, 2019 18:25
Package list for Ubuntu Minimal and Standard AMI
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-============================-===================-===================-=============================================================
ii acl 2.2.52-3 amd64 Access control list utilities
ii acpid 1:2.0.26-1ubuntu2 amd64 Advanced Configuration and Power Interface event daemon
ii adduser 3.113+nmu3ubuntu4 all add and remove users and groups
ii apparmor 2.10.95-0ubuntu2.11 amd64 user-space parser utility for AppArmor
ii apport 2.20.1-0ubuntu2.20 all automatically generate crash reports for debugging
@jdowning
jdowning / keybase.md
Created September 27, 2018 15:56
Keybase Proof

Keybase proof

I hereby claim:

  • I am jdowning on github.
  • I am jdowning (https://keybase.io/jdowning) on keybase.
  • I have a public key whose fingerprint is 68D8 9FAB CAF1 5069 B527 73FC 03D3 44B2 954C DD6A

To claim this, I am signing this object:

@jdowning
jdowning / vim-heroku.sh
Last active April 19, 2018 19:24 — forked from dvdbng/vim-heroku.sh
Run vim in heroku updated 2017
mkdir ~/vim
cd ~/vim
# Staically linked vim version compiled from https://github.com/ericpruitt/static-vim
# Compiled on Jul 20 2017
curl --silent 'https://s3.amazonaws.com/bengoa/vim-static.tar.gz' | tar -xz
cat <<EOF > $HOME/vimenv
export VIMRUNTIME="$HOME/vim/runtime"
export PATH="$HOME/vim:$PATH"
@jdowning
jdowning / d3formatting.css
Last active January 31, 2018 21:35 — forked from zanarmstrong/d3formatting.css
formatting numbers example
body {
margin: 20px 0px 0px 50px;
}
.formattext {
text-align: right;
}
.formatresult {
text-align: left;
@jdowning
jdowning / git-pack-size.sh
Created February 23, 2017 02:33
git-cleanup
# BEFORE
/tmp/git-cleanup/repo.git $ git count-objects -v
count: 0
size: 0
in-pack: 204529
packs: 1
size-pack: 574968
prune-packable: 0
garbage: 0
size-garbage: 0