Curating Complexity: A Guide to Big-O Notation
Curating Complexity: A Guide to Big-O Notation
I want docker to stop using my root partition for storing docker containers, and use a different partition instead, e.g. /home
These steps worked for me:
sudo docker stop $(docker ps -a -q)sudo service docker stopcp -r /var/lib/docker/* /home/docker/umount -f /var/lib/docker/overlay/ and umount -f /var/lib/docker/containers/*/mounts/shm/etc/docker/daemon.json with| from __future__ import absolute_import | |
| from flask import current_app | |
| from py2neo import Graph | |
| import os | |
| username = os.environ.get('NEO4J_USERNAME') | |
| password = os.environ.get('NEO4J_PASSWORD') | |
| class Py2Neo(object): | |
| def __init__(self, app=None): |
| from typing import Any, Dict, List | |
| import s3fs | |
| from pyarrow import Table, parquet as pq | |
| from pandas import DataFrame, Series | |
| def to_df(data: List[Dict[str, Any]]) -> DataFrame: | |
| df = DataFrame() | |
| for item in data: | |
| indexes = [] | |
| values = [] |
docker-machine stopsh attach-drive-d.sh before finalize step| #/usr/bin/python3 | |
| """ Demonstration of logging feature for a Flask App. """ | |
| from logging.handlers import RotatingFileHandler | |
| from flask import Flask, request, jsonify | |
| from time import strftime | |
| __author__ = "@ivanleoncz" | |
| import logging |
| # ***************************************************** | |
| # ***************** Install xapian Core *************** | |
| # ***************************************************** | |
| sudo apt-get install zlib1g-dev | |
| sudo apt-get install g++ | |
| sudo apt-get install uuid-dev | |
| curl -O http://oligarchy.co.uk/xapian/1.2.18/xapian-core-1.2.18.tar.xz | |
| curl -O http://oligarchy.co.uk/xapian/1.2.18/xapian-bindings-1.2.18.tar.xz |