Skip to content

Instantly share code, notes, and snippets.

@yogin
yogin / install-docker.md
Created December 29, 2020 21:09 — forked from npearce/install-docker.md
Amazon Linux 2 - install docker & docker-compose using 'sudo amazon-linux-extras' command

UPDATE (March 2020, thanks @ic): I don't know the exact AMI version but yum install docker now works on the latest Amazon Linux 2. The instructions below may still be relevant depending on the vintage AMI you are using.

Amazon changed the install in Linux 2. One no-longer using 'yum' See: https://aws.amazon.com/amazon-linux-2/release-notes/

Docker CE Install

sudo amazon-linux-extras install docker
sudo service docker start
@yogin
yogin / route53-asg-rrdns.sh
Created October 2, 2017 08:38 — forked from ambakshi/route53-asg-rrdns.sh
Add all instances in an autoscaling group to an equivalently named dns entry.
#!/bin/bash
#
# Get all IPs from an autoscale group and update set the local ip as
# equal weight A entries (round robin dns). Takes autoscale group as
# parameter.
#
# Amit Bakshi
# 10/21/2014
#
@yogin
yogin / installation.txt
Created March 9, 2017 01:57 — forked from teeebs/installation.txt
Script to mute or unmute and resolve a Datadog monitor
vagrant@kratos:~$ chmod +x manage_monitor.sh
vagrant@kratos:~$ sudo cp manage_monitor.sh /etc/init.d/manage_monitor
vagrant@kratos:~$ sudo update-rc.d manage_monitor defaults
@yogin
yogin / ladder.md
Created January 19, 2017 03:43 — forked from jamtur01/ladder.md
Kickstarter Engineering Ladder

1:1 questions

Always end with an assignment

What can I hold you accountable for next time we talk?

What can I be accountable to you for the next time we talk?

Short term

How is [project] going? What could we do to make it better?

Is there anything blocking you from getting your work done?

Are there any projects you’d really like to work on if you were given the opportunity?

What I Wish I'd Known About Equity Before Joining A Unicorn

Disclaimer: This piece is written anonymously. The names of a few particular companies are mentioned, but as common examples only.

This is a short write-up on things that I wish I'd known and considered before joining a private company (aka startup, aka unicorn in some cases). I'm not trying to make the case that you should never join a private company, but the power imbalance between founder and employee is extreme, and that potential candidates would