Skip to content

Instantly share code, notes, and snippets.

Avatar
🥳
Visit https://stumbled.cc 🚀

Kevin Woblick Kovah

🥳
Visit https://stumbled.cc 🚀
View GitHub Profile
@Kovah
Kovah / migrateUntil.php
Last active May 20, 2021
Run Laravel migrations up to a specific migration and stop there
View migrateUntil.php
<?php
// Run all database migrations up to a specific migration and stop there. Useful for testing migrations which alter data or mess with your models.
function migrateUntil(string $migration): void
{
$migrator = app('migrator');
$dbPath = base_path('database/migrations');
$migrations = collect($migrator->getMigrationFiles($dbPath))
->takeUntil($dbPath . '/' . $migration);
@Kovah
Kovah / hackernews-readable.css
Created Nov 10, 2020
Hacker News Readable Theme
View hackernews-readable.css
/* reset */
body, td, table, input, textarea, .pagetop, * {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
font-weight: 400;
-webkit-font-smoothing: antialiased;
}
body {
background: #fafafa;
margin: 0;
View transactional-email-provider-ranking.csv
Provider Price per 1000 emails
1. Amazon SES $0.10
2. Sendgrid $0.374
3. Sparkpost $0.40
4. Mailgun $0.70
5. Postmark $1.00
View transactional-email-provider-sparkpost.csv
Plan: Test Plan: 50k
Included emails ? 50000
Price per month none $20
Price per 1000 emails none $0.4
Price per 1 email none $0.0004
Price per 1000 emails after limit none $1.00
Price per 1 email after limit none $0.001
Notable restrictions none none
View transactional-email-provider-postmark.csv
Plan: Free Plan: 10k Emails
Included emails 100 10000
Price per month none $10
Price per 1000 emails none $1.00
Price per 1 email none $0.001
Price per 1000 emails after limit none $1.25
Price per 1 email after limit none $0.00125
Notable restrictions none none
View transactional-email-provider-sendgrid.csv
Plan: Free Plan: Essentials
Included emails 3000 40000
Price per month none $14.95
Price per 1000 emails none $0.374
Price per 1 email none $0.000374
Price per 1000 emails after limit none $1.00
Price per 1 email after limit none $0.001
Notable restrictions 100 emails / day none
View transactional-email-provider-amazon-aws.csv
Pay per use
Price per month none
Price per 1000 emails $0.10
Price per 1 email $0.0001
Price per outgoing GB $0.12
Price per 1000 incoming emails $0.10
Price per 1 incoming email $0.0001
View transactional-email-provider-mailgun.csv
Plan: Flex Plan: Foundation
Included emails 5000 50000
Price per month none $35
Price per 1000 emails $0.8 $0.7
Price per 1 email $0.0008 $0.0007
Price per 1000 emails after limit $0.80 $0.80
Price per 1 email after limit $0.0008 $0.0008
Notable restrictions No inbound routing; no dedicated IPs; restricted support none
View vercel-netlify-performance.csv
Location Service First Byte Avg. load time
Paris France Netlify 329ms 141ms
Vercel 309ms 132ms
Frankfurt Germany Netlify 459ms 539ms
Vercel 344ms 266ms
Dulles US East Netlify 306ms 104ms
Vercel 402ms 223ms
San Francisco US West Netlify 431ms 247ms
Vercel 403ms 129ms
Tokio Japan Netlify 896ms 638ms
View keys.pub
BEGIN MESSAGE.
Q3qYqjFiMxO5xnA C4tkwP5jPt356lE SLSRSewB8aQ96dY ZVqoIqaYuEZER44
8FyWgozMUZUmjGB B3cIR8jRzDlTCKq 6Xr2MZHgg7ARx2v bHFU46PVklNktje
XONxanIjlBUKNKL jf56JoqUUnPyCxZ xM8Bp0LxXLyJkz4 PWJAuUiRq977128
Yj943oSdwsmVYv5 bUx3eqkD1Bi6rfb PU22v.
END MESSAGE.