Do you find yourself frequently getting coffee while you wait for your code to compile? ☕
Test suite take a long time to run?
Application taking awhile to deploy?
| from google.cloud import bigquery | |
| import json | |
| GITHUB_USERNAME = 'crwilcox' | |
| START_DATE = "2019-08-26" | |
| END_DATE = "2020-02-16" | |
| client = bigquery.client.Client() | |
| query = f"""SELECT repository, type, event AS status, COUNT(*) AS count |
| # install openjdk | |
| sudo apt-get install openjdk-7-jdk | |
| # download android sdk | |
| wget http://dl.google.com/android/android-sdk_r24.2-linux.tgz | |
| tar -xvf android-sdk_r24.2-linux.tgz | |
| cd android-sdk-linux/tools | |
| # install all sdk packages |
| license: gpl-3.0 | |
| redirect: https://beta.observablehq.com/@mbostock/d3-stacked-area-chart |
| # Install Bash 4 using homebrew | |
| brew install bash | |
| # Or build it from source... | |
| curl -O http://ftp.gnu.org/gnu/bash/bash-4.2.tar.gz | |
| tar xzf bash-4.2.tar.gz | |
| cd bash-4.2 | |
| ./configure --prefix=/usr/local/bin && make && sudo make install | |
| # Add the new shell to the list of legit shells |