En texto plano para an谩lisis. Descargado de
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from pathlib import Path | |
| import time | |
| # adapted from https://stackoverflow.com/questions/23896625/how-to-change-default-download-folder-while-webdriver-is-running | |
| def move_to_download_folder( | |
| download_dir: Path, | |
| new_destination_dir: Path, | |
| lookup_str: str, | |
| wait_seconds: int = 5, | |
| max_tries: int = 3, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM python:3.9 | |
| # passed from docker-compose.services.service.env_file | |
| ARG PIPY_USER | |
| ARG PIPY_PASS | |
| ENV PIP_NO_CACHE_DIR off | |
| ENV PIP_DISABLE_PIP_VERSION_CHECK on | |
| ENV PIP_DEFAULT_TIMEOUT 100 | |
| ENV POETRY_HOME /opt/poetry |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Logs | |
| logs | |
| *.log | |
| npm-debug.log* | |
| yarn-debug.log* | |
| yarn-error.log* | |
| lerna-debug.log* | |
| .pnpm-debug.log* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from continuumio/miniconda3:latest | |
| RUN mkdir -p /src/notebooks | |
| WORKDIR /src/notebooks | |
| COPY notebooks/environment.yml notebooks/requirements.txt /src/notebooks/ | |
| RUN conda env create -f environment.yml |
Setting up an eduroam connection using UPC (Universitat Polit猫cnica de Catalunya) instructions was not easy to me. Particularly the dbus part fails silently.
This was tested on Linux Mint 21.1
- Have linux and python installed
- Download python script from https://cat.eduroam.org/ at
SOME_PATH
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import re | |
| from pathlib import Path | |
| import argparse | |
| from typing import Dict, List, Optional | |
| import json | |
| def parse_doc_comments(readme_content: str) -> List[str]: | |
| """Parse DOC comments in the form <!-- [DOC-*] --> from the README.md content.""" | |
| pattern = r"<!--\s*\[\s*(.*?)\s*\]\s*-->" |
OlderNewer