This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:18.04 | |
RUN apt-get update -y | |
RUN apt-get install wget -y | |
RUN wget https://github.com/fullstorydev/grpcurl/releases/download/v1.1.0/grpcurl_1.1.0_linux_x86_64.tar.gz | |
RUN tar -xvzf grpcurl_1.1.0_linux_x86_64.tar.gz | |
RUN chmod +x grpcurl | |
RUN mv grpcurl /usr/local/bin/grpcurl |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT table, | |
formatReadableSize(sum(bytes)) as size, | |
min(min_date) as min_date, | |
max(max_date) as max_date | |
FROM system.parts | |
WHERE active | |
GROUP BY table |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# List all available versions | |
$ pyenv versions | |
system | |
# Install Python3 on machine as full binary | |
$ pyenv install 3.5.2 | |
# Create virtualenv out of 3.5.2 | |
$ pyenv virtualenv 3.5.2 developer | |
$ pyenv activate developer |