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
| #!/bin/bash | |
| # Source the environment of your choice that has tiled + dependencies installed | |
| source ~/.ipython/profile_collection_tst/venv/bin/activate | |
| rm -f -r /tmp/tiled_storage | |
| mkdir /tmp/tiled_storage | |
| tiled catalog init sqlite+aiosqlite:////tmp/tiled_storage/catalog.db | |
| # Generate a development key with tiled api_key create, and add it exporting env var to bashrc file |
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
| #!/usr/bin/env python3 | |
| import os | |
| import argparse | |
| from sys import platform | |
| def epics_path_join(path_A, path_B): | |
| """Function that joins two paths. |
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
| #!/usr/bin/env python3 | |
| import os | |
| import argparse | |
| from urllib.parse import urljoin | |
| # Require requests and bs4 | |
| # pip install requests bs4 | |
| import requests | |
| from bs4 import BeautifulSoup |