Skip to content

Instantly share code, notes, and snippets.

View jhannah's full-sized avatar

Jay Hannah jhannah

View GitHub Profile
@Ovid
Ovid / perlclasstut.md
Last active October 13, 2024 18:11
Perl class tutorial

This is a work-in-progress based on this class tutorial. It covers features that are not yet implemented.

NAME

perlclasstut - Object-Oriented Programming via the class keyword

DISCLAIMER

This tutorial is a rough work-in-progress and only covers features of the

@jhannah
jhannah / gist:7961433dcd9195f907d9d8e82ddb9564
Last active December 29, 2023 22:09
Mortgage: Amortization schedule / payments
2.13% APR
Payment 1: Aug 1 2021
$ pip3 install amortization (https://github.com/roniemartinez/amortization)
$ amortize --principal 176000 --period 180 --interest-rate 0.0213 --schedule
Number Amount Interest Principal Balance
-------- ---------- ---------- ----------- ----------
1 1,143.14 312.40 830.74 175,169.26 Aug 1 2021
2 1,143.14 310.93 832.21 174,337.05
3 1,143.14 309.45 833.69 173,503.36
Accepted design:
user
user_id
foo
bar
user_info
user_info_id
user_id
@jhannah
jhannah / gist:892959
Created March 29, 2011 18:36
All your base are belong to jhannah
jhannah:dDiRM/bPKgsKg
jhannah:$1$PgzhVNM9$Hdp42Wg3LF0B27Rh6s1Bu/
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEApk7hJYC34F9Ydl9X4y3mDnAGm1K+oS0s7iWewYp83vMC1vRak29/AdbNwf/9EV56RDuZO2lnAYjx5jHEyhUjDON/S0UaM68sdwckjC3pJAwJysDOwC6b4xpoOe6BJjw9qfM7cwCK3xopvRZKJBS0TMwbBDB2wY5IUZovNgNMTgGgApo51E/6JQhCZJYrqXLnngfIqlGq8AjjYurTPYgiJWsfCYp+pR+F/FXLChkxjImZt+TWmPenBQ8Ehi+Q8znMm9fZznyV+8HHG/R9Na9CzjAOtaj3INJgozqnqqAnAzTU28hZFiZ8uR1P7UVCdjE3vBC80GovYCwKyK0B8GxAHQ== jhannah@iMac
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAwMWnP/j6A2hdcj4+9amPsch/g9KPm4kCVzmPQj49603bAWHs4wm3CzquTvs5Hag9MyG1l57VP+KNTKKd0Z5xsGkyt+ETJtC8pHfUnzjjpxKyqj4hgx5/9EEq3SsGmvNkvxKtbO6+fNJoL79vcFIjLzDa1aSnQDqfEnlcYeFMkomINLOQjLgIZU6HFriiEqDtDShqesLwzKupE5+ajvJ1OBjHkWdNOo3xG762vNa8lRLY4XQS62uu1yepjXWl0Drmy6DdkpqhPuI9eWmXxcWoyUCwUawbblee0rXZXPAlE4bQBWzWQGoiArbCuWUSv1ZHZ2FuQrfUteBp5WM8uBXKaw== jhannah@MacMini
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA7KhbMm9hdcqP7grxxHg4tiG+pWYLQSbR6a/jAjiBFI80Y3cxV2OC0hU4mBUQIXvVwyOVtOi+1h+7qmp08Ay5w+6dqzqJ+JaHHUWV3+j0c2kxSrp3larvty1pmuKcuVX/XyYo