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
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>jortt_report - Agent Session</title> | |
| <style> | |
| :root { | |
| --bg: #0d1117; | |
| --surface: #161b22; |
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
| { | |
| "workbench.colorTheme": "Monokai Pro (Filter Spectrum)", | |
| "python.defaultInterpreterPath": "python3", | |
| "explorer.confirmDragAndDrop": false, | |
| "explorer.confirmDelete": false, | |
| "positron.assistant.enable": true, | |
| "claudeCode.preferredLocation": "panel", | |
| "workbench.externalUriOpeners": { | |
| "http://*": "positron.viewer" | |
| } |
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
| show-project-size: | |
| uv pip list --format freeze | \ | |
| awk -F = {'print $1'} | \ | |
| xargs uv pip show | \ | |
| grep -E 'Location:|Name:' | \ | |
| cut -d ' ' -f 2 | \ | |
| paste -d ' ' - - | \ | |
| awk '{print $2 "/" tolower($1)}' | \ | |
| xargs du -sh 2> /dev/null | \ | |
| sort -hr |
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
| def get_binary(url): | |
| """Download binary file in memory without saving to disk.""" | |
| from io import BytesIO | |
| import requests | |
| try: | |
| response = requests.get(url) | |
| # Raise an exception if the request was unsuccessful (e.g., 404 Not Found) |
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
| python3 -m pip install \ | |
| --config-settings="--global-option=build_ext" \ | |
| --config-settings="--global-option=-I$(brew --prefix graphviz)/include/" \ | |
| --config-settings="--global-option=-L$(brew --prefix graphviz)/lib/" \ | |
| pygraphviz |
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
| uv_poetry_install () { | |
| uv venv | |
| uv pip install --no-deps -r <(POETRY_WARNINGS_EXPORT=false poetry export --without-hashes --with dev -f requirements.txt) | |
| poetry install --only-root | |
| } |
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
| runtime: python | |
| env: flex | |
| instance_class: F2 | |
| runtime_config: | |
| operating_system: "ubuntu22" | |
| runtime_version: "3.12" | |
| # name of app | |
| service: some-name |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 | |
| import requests | |
| import urllib | |
| PDOK = "https://api.pdok.nl/bzk/locatieserver/search/v3_1/free" | |
| def query_pdok(query): | |
| query_params = { |
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 ndjson | |
| def redact(patient: dict) -> dict: | |
| for key in ["name", "telecom"]: | |
| patient.pop(key, None) | |
| return patient | |
| with open("patient.ndjson") as f: |
NewerOlder