Skip to content

Instantly share code, notes, and snippets.

View AlyBadawy's full-sized avatar
👁️‍🗨️
Creating smart software to future-proof the future

Aly Badawy AlyBadawy

👁️‍🗨️
Creating smart software to future-proof the future
View GitHub Profile
@AlyBadawy
AlyBadawy / PRIVACY.md
Created September 15, 2026 16:29
Dawnlet Privacy Policy

Dawnlet Privacy Policy

Last updated: September 2026

Dawnlet ("the app") is a personal day-organizer app developed by Aly Badawy. This page explains what data Dawnlet collects, how it's used, and what it doesn't do.

What Dawnlet collects

  • Account identifier — when you sign in with Sign in with Apple, Dawnlet stores an internal account ID and Apple's per-app identifier for your account (sub). Dawnlet does not store your name or email address, even though Apple's sign-in dialog may offer to share them.
  • Content you create in the app — todos, habits, journal entries, weekly notes, and financial data (transactions, categories, budgets, recurring bills) you enter are stored on Dawnlet's server, tied to your account, so they sync across your sessions.
@AlyBadawy
AlyBadawy / uuid_v7.rb
Created October 20, 2025 13:37
Rails/app/config/initializers/uuid_v7.rb
# config/initializers/uuidv7_default.rb
# Ensure generators use UUID columns for PKs and references
Rails.application.config.generators do |g|
g.orm :active_record, primary_key_type: :uuid
end
# When migrations call create_table with id: :uuid, make the DB default uuidv7()
module UuidV7PrimaryKeyDefault
def primary_key(name, type = :primary_key, **options)
AllCops:
NewCops: enable
Exclude:
- bin/yarn
- db/schema.rb
- vendor/**/*
- node_modules/**/*
- tmp/**/*
- public/**/*
- bin/**/*
@AlyBadawy
AlyBadawy / .overcommit.yml
Last active February 20, 2024 03:45
Rails + React Gists
PostCheckout:
BundleInstall:
enabled: true
PreCommit:
ALL:
problem_on_unmodified_line: warn
requires_files: true
required: false
quiet: false