Follow these steps to run tensorflow on remote server but see the results on local browser using port forwarding.
- On the remote machine, run:
tensorboard --logdir <path> --port 6006
- On the local machine, run
| import osmnx as ox | |
| center_point = (46.521863, 6.633105) | |
| tags = {"building": True} | |
| gdf = ox.features_from_point(center_point, tags, dist=5000) | |
| fig, ax = ox.plot_footprints(gdf, figsize=(27, 40), | |
| color="#72b1b1", | |
| bgcolor="#061529", | |
| dpi=600) |
People
:bowtie: |
π :smile: |
π :laughing: |
|---|---|---|
π :blush: |
π :smiley: |
:relaxed: |
π :smirk: |
π :heart_eyes: |
π :kissing_heart: |
π :kissing_closed_eyes: |
π³ :flushed: |
π :relieved: |
π :satisfied: |
π :grin: |
π :wink: |
π :stuck_out_tongue_winking_eye: |
π :stuck_out_tongue_closed_eyes: |
π :grinning: |
π :kissing: |
π :kissing_smiling_eyes: |
π :stuck_out_tongue: |
| import os | |
| from pypdf import PdfWriter | |
| from pathlib import Path | |
| def merge_pdfs_in_folder(folder_path: str, output_path: str = "merged.pdf") -> None: | |
| """ | |
| Merge all PDF files in a folder (sorted by filename) into a single PDF. | |
| Uses pypdf (modern version). | |
| #!/usr/bin/env python3 | |
| import argparse | |
| import qrcode | |
| def main(): | |
| parser = argparse.ArgumentParser(description="Generate a QR code from a URL") | |
| parser.add_argument("url", help="URL to encode in the QR code") | |
| parser.add_argument( | |
| "-o", "--output", |