- App Name: MyStop Berlin
- Bundle ID: com.ruslandautov.mystop.berlin
- Primary Category: Navigation
- Description: Real-time Berlin transit departures with Live Activities & Dynamic Island support
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 base64 | |
| import re | |
| import binascii | |
| import sys | |
| import urllib.parse | |
| from datetime import datetime | |
| from dataclasses import dataclass | |
| from typing import List, Optional |
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
| # List all buckets | |
| aws s3 ls | |
| # List content of a bucket | |
| aws s3 ls s3://<bucket> | |
| # Create a bucket | |
| aws s3 mb s3://<bucket> | |
| # Copy into bucket | |
| aws s3 cp <path> s3://<bucket> | |
| # Copy from bucket | |
| aws s3 cp s3://<bucket> <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
| #!/bin/bash | |
| # Delete all containers | |
| docker rm $(docker ps -a -q) | |
| # Delete all images | |
| docker rmi $(docker images -q) |
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
| df.select([count(when(isnan(c) | col(c).isNull(), c)).alias(c) for c in df.columns]).show() | |