Skip to content

Instantly share code, notes, and snippets.

@spendyala
spendyala / 0.useful.md
Created September 16, 2020 06:24 — forked from felipemoraes/0.useful.md
Machine Learning Interview Questions
@spendyala
spendyala / docker_descendants.py
Created September 5, 2018 05:00 — forked from altaurog/docker_descendants.py
Python3 script to find descendants of one or more docker images
#!/usr/bin/python3
#
# usage: python3 docker_descendants.py <image_id> ...
import sys
from subprocess import check_output
def main(images):
image_ids = set(images)
@spendyala
spendyala / gist:cb77cef354a085b47fcb171646c4af51
Created February 1, 2018 08:02 — forked from showaltb/gist:8542626
Install PhantomJS on Amazon AMI x86_64
# download and unpack distribution
wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.6-linux-x86_64.tar.bz2
tar xf phantomjs-1.9.6-linux-x86_64.tar.bz2
# copy binary
cd phantomjs-1.9.6-linux-x86_64
cp bin/phantomjs /usr/local/bin
@spendyala
spendyala / automation.md
Created June 17, 2016 18:59 — forked from cube-drone/automation.md
Automation For The People

Automation for the People

Long ago, the first time I read "The Pragmatic Programmer", I read some advice that really stuck with me.

"Don't Use Manual Procedures".

This in the chapter on Ubiquitous Automation. To summarize, they want you to automate all the things.

The trouble was that I hadn't much of an idea how to actually go