Skip to content

Instantly share code, notes, and snippets.

To optimize for conversational frequency and modern sentence structures, you should read in an order that prioritizes "high-utility" words (verbs of movement, social interaction, and daily life). Here is the recommended order for a Cebuano learner using Lute v3 and the APSD:

  1. The "Action" Phase (Best for Daily Verbs) The Gospel of Mark (Marcos): Short, fast-paced, and repetitive. It focuses on what people did and where they went. You will master basic past/present/future verb tenses here. The Gospel of Luke (Lucas): Contains many parables (stories) that use household vocabulary (money, food, farming, family dynamics).
  2. The "Simple Logic" Phase (Best for Connective Words) The Gospel of John (Juan): Uses very few unique words but repeats them constantly. This is the best book for mastering Cebuano markers like kay (because), apan (but), and ug (and). 1 John (Unang Juan): Extremely short sentences and very simple grammar. This is often the first book recommended to language students.
  3. The "Social" Phase (B
Create a series of 100 short dialogs in Cebuano, designed for absolute beginner learners.
Characters and context:
- two characters: a man named Gabriel and a woman named Sofia.
- they meet repeatedly in different everyday situations.
- every dialog must cover everyday topics.
Dialog structure:
- each dialog must contain exactly 12 lines.
@bemitc
bemitc / ira.py
Last active September 21, 2025 11:48
#!/usr/bin/python3
import sys
# Simple script to estimate how much of your early ira withdrawl
# will be left after taxes. It uses 2025 breakpoints from the following
# web page: https://www.usbank.com/wealth-management/financial-perspectives/financial-planning/tax-brackets.html
#
# State tax is based on a flat 5.49% tax
# and a single standard deduction is used
@bemitc
bemitc / ceb_aislop.txt
Last active September 26, 2025 06:52
cebuano prompt based on Luca Lampariello'a Your Vocabulary Revolution Webinar
chatgpt prompt based on the prompt in the video Your Vocabulary Revolution Webinar but adapted for cebuano.
Create a series of 100 short dialogs in Cebuano, designed for absolute beginner learners.
Characters and context:
- two characters: a man named Gabriel and a woman named Sofia.
- they meet repeatedly in different everyday situations.
- every dialog must cover everyday topics.

📝 English Verb Tense Chart — Verb: "Write"

📚 Aspect Descriptions

  • Simple: Describes general facts, habits, or completed actions without focusing on duration.
  • Perfect: Describes completed actions in relation to another time or action.
  • Progressive: Describes actions that are or were ongoing over a period of time.
  • Perfect Progressive: Describes ongoing actions that were happening over time and are connected to another time point.

@bemitc
bemitc / vpw.py
Last active July 1, 2025 10:06
Variable percentage withdrawal
#!/usr/bin/env python3
def pmt(rate, nper, pv, fv=0, when=0):
if rate == 0:
return -(pv + fv) / nper
factor = (1 + rate) ** nper
return -(rate * (pv * factor + fv)) / ((1 + rate * when) * (factor - 1))
def getVpw(port_eq, age):
# Importing the libraries
from bs4 import BeautifulSoup
import requests
import sys
import re
import argparse
import os
import csv
# Function to generate cards using the given html page
@bemitc
bemitc / stage1.lua
Last active February 17, 2022 01:11
-- almost all of this is from Ben Kerman's sub-pause script - https://github.com/Ben-Kerman/mpv-sub-scripts/blob/master/sub-pause.lua
-- I just made some minor changes so visibility of subtitles is determined by a hotkey (e like languagereactor) and implemented
-- a credit system so you can only access a certain number of subtitles per show (default 10 per refold roadmap example)
--
-- This is only designed for use in stage 1.
-- feel free to modify and/or redistribute as long as you give credit to the original creator; © 2022 Ben Kerman
local cfg = {
default_start = false,
// ==UserScript==
// @name animelon-subtitle-downloader
// @namespace http://tampermonkey.net/
// @version 0.1
// @description download animelon subtitles
// @author mescyn#5794
// @match https://animelon.com/video/*
// @grant unsafeWindow
// @grant GM_registerMenuCommand
// @require https://cdn.jsdelivr.net/npm/file-saver-es@2.0.5/dist/FileSaver.min.js
@bemitc
bemitc / getpositions.py
Last active December 9, 2021 16:17
count unique positions in a pgn file
#!/usr/bin/env python3
import sys
import chess.pgn
positions = []
class UniqPositionsVisitor(chess.pgn.BaseVisitor):
def visit_board(self, board):
if board.fen() not in positions: