Skip to content

Instantly share code, notes, and snippets.

View dautovri's full-sized avatar
🌍

Ruslan Dautov dautovri

🌍
View GitHub Profile
@dautovri
dautovri / mystop_privacy_form.md
Created November 24, 2025 15:06
MyStop Berlin - App Store Privacy Questionnaire & Configuration Guide

MyStop Berlin - App Store Privacy Questionnaire

App Information

  • 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

@dautovri
dautovri / applemapsguide.py
Created March 7, 2025 11:31
Apple Guides decoding
#!/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
@dautovri
dautovri / S3.sh
Last active September 28, 2019 10:08
AWS S3
# 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>
@dautovri
dautovri / deleteall.sh
Created December 19, 2018 09:12
Script to delete all image and containers
#!/bin/bash
# Delete all containers
docker rm $(docker ps -a -q)
# Delete all images
docker rmi $(docker images -q)
@dautovri
dautovri / missOrNull.py
Created January 16, 2018 05:03
pyspark show all missing or null values in all columns of dataframe
df.select([count(when(isnan(c) | col(c).isNull(), c)).alias(c) for c in df.columns]).show()