Skip to content

Instantly share code, notes, and snippets.

View Bodobolero's full-sized avatar

Peter Bendel Bodobolero

  • github.com/neondatabase
View GitHub Profile
@Bodobolero
Bodobolero / MapTripPhotos.py
Last active May 16, 2023 08:12
Interactive apple map with photo thumbs as a route for a date range
# Copyright see https://forum-new.omz-software.com/topic/8104/show-location-of-foto-library-for-date-range-on-a-map
# todo sqlite3
# - settîngs pin's visible or not
# - settings route color/width
# coding: utf-8
#
# MKMapView part initially copied from OMZ MapView demo
# https://gist.github.com/omz/451a6685fddcf8ccdfc5
# then "cleaned" to keep the easiest code as possible
#
@Bodobolero
Bodobolero / PythonistaShowWhereIWas.py
Last active May 16, 2023 08:44
Pyhonista is an iOS App to develop python scripts. This is a pythonista script that: creates a map from the Exif location metadata in your foto library for a time range. The map is saved as .png file in your scripts folder. In addition a .gpx file is created with the track points from the EXIF locations.
import photos
import dialogs
import location
import canvas
import clipboard
from math import *
### If you like this script you can pay me a coffee here
### https://www.paypal.com/donate/?hosted_button_id=JBFJMV35LX5AY
@Bodobolero
Bodobolero / .travis.yml
Created November 24, 2022 17:47 — forked from LukeMathWalker/.travis.yml
Travis CI - Rust setup
language: rust
cache: cargo
rust:
- stable
before_cache: |
cargo install cargo-tarpaulin
before_script:
- rustup component add rustfmt
- rustup component add clippy
- cargo install cargo-audit
@Bodobolero
Bodobolero / audit-on-push.yml
Created November 24, 2022 17:46 — forked from LukeMathWalker/audit.yml
GitHub Actions - Rust setup
name: Security audit
on:
push:
paths:
- '**/Cargo.toml'
- '**/Cargo.lock'
jobs:
security_audit:
runs-on: ubuntu-latest
steps:
@Bodobolero
Bodobolero / House_Sales_in_King_Count_USA.ipynb
Created June 28, 2020 18:08
Data Science with Python submission
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Bodobolero
Bodobolero / ReadCSVAndWriteToAOT.ipynb
Last active May 30, 2020 18:30
Db2AnalyticsAcceleratorGist
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.