Install Multiple Python Versions for Specific Project
-
Home project: https://github.com/pyenv/pyenv
-
Reference to: https://www.tecmint.com/pyenv-install-and-manage-multiple-python-versions-in-linux/
import java.io.File; | |
import java.io.IOException; | |
import java.util.ArrayList; | |
import java.util.List; | |
import org.apache.commons.collections.ListUtils; | |
import org.apache.commons.io.FileUtils; | |
import org.apache.commons.lang.StringUtils; | |
import org.apache.log4j.Logger; | |
import org.openqa.selenium.By; |
# this script has been tested and worked in a freshly installed Ubuntu 16.04 and 16.10 | |
# it assumes that you are running airflow in a private netowrk and no need to be worry about outside access | |
# if that's not the case, the lines for PostgreSQL and Redis in this script need to be updated accordingly | |
# run as root | |
sudo su | |
# initial system updates and installs | |
apt-get update && apt-get upgrade -y && apt-get autoremove && apt-get autoclean | |
apt-get -y install build-essential binutils gcc make git htop nethogs tmux |
#!/bin/bash | |
# | |
# This program sends a query to Athena, and download the results in CSV when | |
# the execution is completed. It expects the database name and the query as | |
# arguments: | |
# | |
# $ query-athena -d mydb 'select ...' | |
# | |
# The CSV file is downloaded in /tmp/QUERYID.csv by default. To use a different | |
# file, use -w: |
Install Multiple Python Versions for Specific Project
Home project: https://github.com/pyenv/pyenv
Reference to: https://www.tecmint.com/pyenv-install-and-manage-multiple-python-versions-in-linux/
I liked the way Grokking the coding interview organized problems into learnable patterns. However, the course is expensive and the majority of the time the problems are copy-pasted from leetcode. As the explanations on leetcode are usually just as good, the course really boils down to being a glorified curated list of leetcode problems.
So below I made a list of leetcode problems that are as close to grokking problems as possible.