Skip to content

Instantly share code, notes, and snippets.

# alex @ w in ~ [12:25:45]
$ cd go/src/k8s.io

# alex @ w in ~/go/src/k8s.io [12:25:49]
$ hub clone kubernetes/helm
Cloning into 'helm'...
remote: Counting objects: 25300, done.
remote: Compressing objects: 100% (194/194), done.
remote: Total 25300 (delta 172), reused 271 (delta 151), pack-reused 24953
#!/bin/bash
function startmsg {
echo -e "\e[32m[ ] $1\e[21m"
}
function endmsg {
echo -e "\e[1m\e[32m[x] $1\e[21m"
}
@agonzalezro
agonzalezro / Dockerfile
Created January 7, 2020 10:29
mermaid.cli Dockerfile
FROM buildkite/puppeteer
RUN apt-get update&&apt-get install unzip
ADD https://github.com/knsv/mermaid/archive/master.zip .
RUN unzip master.zip && cd mermaid-master && yarn add mermaid.cli
ADD puppeteer-config.json /mermaid-master
WORKDIR /data
ENTRYPOINT [ "/mermaid-master/node_modules/.bin/mmdc", "-p", "/mermaid-master/puppeteer-config.json"]]
@agonzalezro
agonzalezro / ladder.md
Created April 17, 2020 20:34 — forked from jamtur01/ladder.md
Kickstarter Engineering Ladder
(() => {
let count = 0;
function getAllButtons() {
return document.querySelectorAll('button.is-following') || [];
}
async function unfollowAll() {
const buttons = getAllButtons();