Writing
Notes from the terminal
Short write-ups of problems I solved, so you don't have to solve them again.
· 8 min read
Accepting online payments in Libya: GPay, RunPay, and Moamalat
Stripe and PayPal won't take a Libyan merchant, so my print-on-demand shop runs on local gateways. What GPay, RunPay, and Moamalat are like to integrate, and the expiry bug that set off my payment alerts.
- #payments
- #libya
- #typescript
· 1 min read
Using casts in Laravel traits
Laravel doesn't merge a trait's $casts property into the model. Use an initializable trait and mergeCasts() instead.
- #laravel
- #php
- #eloquent
· 2 min read
Sharing SSH keys between Windows and WSL2
Share SSH keys between Windows and WSL2 by creating a symlink between their .ssh folders and adjusting file permissions for seamless access.
- #ssh
- #wsl
- #windows
- #linux