Skip to content

Instantly share code, notes, and snippets.

@neofright
neofright / Free offline maps OsmAnd iPhone.md
Created April 7, 2025 22:31
Free offline maps OsmAnd iPhone
  • Go to https://download.osmand.net/list.php and download the zip file(s) of your country and region.
  • Extract the zip file.
  • Rename the obf file to remove the _2 from the filename.
  • Move the .obf map file to On My iPhone -> OsmAnd Maps -> Resources
  • Restart the OsmAnd app.
  • Enjoy having free maps.
@neofright
neofright / audible_chapter_scraper.js
Last active April 2, 2025 10:40 — forked from MetehanYurtseven/audible_chapter_scraper.js
Easy Audible Chapter Scraper - JavaScript Console
// This simple js script collects chapter titles of an audiobook from audible and
// is used to generate a cue sheet for an .m4b audiobook.
// The following steps are required to create the cue sheet with chapters:
//
// 0. Use Libation or a similar tool to get your .m4b saved to disk.
// 1. Login to Audible and open a specific audiobook.
// 2. Open the console panel (Control+Shift+J) and run this script inside the JS Console.
// 3. Copy and paste the returned content into a .cue file.
// 4. Add a '"FILE "name_of_audio_book_file.m4b" MP3' entry to the top of the cue sheet (without single quotes).

None of the iOS meditation timers on the App Store are worth bothering with.

iOS has got built in timer functionality in the stock iOS Clock app (Instructions for setting timers can be found here). However, the default timer sounds are unpleasant (aversion!) to hear when returning from meditation.

The best meditation timer app I have used on Android is the open source Bodhi Timer made by the Venerable Yuttadhammo. This Android app contains a number of free timer sounds in Vorbis format here.

These sounds can be converted for use with the built in timer functionality of the iOS Clock app.

Convert the Vorbis files to "m4r":

@neofright
neofright / MCTB2 Books.md
Last active March 23, 2025 14:38
Books referenced by Arahant Daniel M. Ingram in MCTB2
  • This is not 100% complete and I have editorialized with a focus on removing:
    • References to the Sutta and Vinaya Piṭaka.
    • Works of fiction that I felt had little dhammic relevance (e.g. Harry Potter and The Unbearable Lightness of Being etc.).
  • Many of these books can be found for free online (legally). I have started by adding a few links.
  • The table is sorted by Title.
  • Some of these recommendations can also be found at https://www.integrateddaniel.info/book-list.
Author Title
Bhikkhu Bodhi A Comprehensive Manual of Abhidhamma
#!/usr/bin/env bash
#set -o nounset
#set -o errexit
################################################################################
## BEGIN GLOBAL VARS (AND MOUNT CHECKS) ##
################################################################################
script_dir="$(dirname "$(realpath "$0")")"
if [[ "$(uname)" == "Darwin" ]] ## Running on my ZFS server or my Macbook?
then
music_mount_point="/Volumes/tank"