Skip to content

Instantly share code, notes, and snippets.

# install dependencies
sudo apt-get update
sudo apt-get install -y build-essential
sudo apt-get install -y cmake
sudo apt-get install -y libgtk2.0-dev
sudo apt-get install -y pkg-config
sudo apt-get install -y python-numpy python-dev
sudo apt-get install -y libavcodec-dev libavformat-dev libswscale-dev
sudo apt-get install -y libjpeg-dev libpng-dev libtiff-dev libjasper-dev
cities = ["london", "paris", "new york", "london"]
# CRUD
# CREATE
cities << "madrid"
# READ
cities[2]
# UPDATE