TL;DR
Install Postgres 10, and then:
sudo pg_dropcluster 10 main --stop
sudo pg_upgradecluster 9.6 main
sudo pg_dropcluster 9.6 main| # Step 1 — Update Base Systems | |
| sudo apt update && sudo apt -y upgrade | |
| # Step 2 — Import Repository Signing Key | |
| wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add - | |
| # Step 3 — Add PostgreSQL repository | |
| sudo sh -c 'echo "deb [arch=$(dpkg --print-architecture)] http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list' | |
| # Step 4 — Update again |
| version: "3" | |
| services: | |
| # configuration manager for NiFi | |
| zookeeper: | |
| hostname: myzookeeper | |
| container_name: zookeeper_container_persistent | |
| image: 'bitnami/zookeeper:3.7.0' # latest image as of 2021-11-09. | |
| restart: on-failure | |
| environment: | |
| - ALLOW_ANONYMOUS_LOGIN=yes |
| from selenium.webdriver import Chrome | |
| from selenium.webdriver.chrome.options import Options | |
| options = Options() | |
| options.binary_location = '/opt/headless-chromium' | |
| options.add_argument('--headless') | |
| options.add_argument('--no-sandbox') | |
| options.add_argument('--start-maximized') | |
| options.add_argument('--start-fullscreen') |
| // Sliver appbar with tabs. | |
| // Adapted from: https://stackoverflow.com/a/50858058 | |
| import 'package:flutter/material.dart'; | |
| void main() => runApp(MaterialApp( | |
| home: SilverAppBarWithTabBarScreen(), | |
| )); | |
| class SilverAppBarWithTabBarScreen extends StatefulWidget { |
TL;DR
Install Postgres 10, and then:
sudo pg_dropcluster 10 main --stop
sudo pg_upgradecluster 9.6 main
sudo pg_dropcluster 9.6 main| [options] | |
| # | |
| # WARNING: | |
| # If you use the Odoo Database utility to change the master password be aware | |
| # that the formatting of this file WILL be LOST! A copy of this file named | |
| # /etc/odoo/openerp-server.conf.template has been made in case this happens | |
| # Note that the copy does not have any first boot changes | |
| #----------------------------------------------------------------------------- | |
| # Odoo Server Config File - TurnKey Linux |
| import xlsxwriter | |
| from io import BytesIO | |
| from django.http import StreamingHttpResponse | |
| from django.views.generic import View | |
| def get_foo_table_data(): | |
| """ | |
| Some table data | |
| """ |
| FROM php:7.1.2-apache | |
| RUN docker-php-ext-install mysqli |
TL;DR
Install Postgres 9.6, and then:
sudo pg_dropcluster 9.6 main --stop
sudo pg_upgradecluster 9.5 main
sudo pg_dropcluster 9.5 main