Skip to content

Instantly share code, notes, and snippets.

View Butch78's full-sized avatar
🎯
Focusing

Matthew Aylward Butch78

🎯
Focusing
View GitHub Profile
@a-agmon
a-agmon / df_lambda.rs
Last active March 17, 2025 21:37
Rusty AWS Lambda with Data Fusion and Iceberg
use std::{sync::Arc, time::Instant};
use datafusion::{
arrow::{array::RecordBatch, json::ArrayWriter},
prelude::SessionContext,
};
use iceberg::{io::FileIO, table::StaticTable, TableIdent};
use iceberg_datafusion::IcebergTableProvider;
use lambda_runtime::{
run, service_fn,
@parmentf
parmentf / GitCommitEmoji.md
Last active May 5, 2025 18:02
Git Commit message Emoji

Inspired by dannyfritz/commit-message-emoji

See also gitmoji.

Commit type Emoji
Initial commit πŸŽ‰ :tada:
Version tag πŸ”– :bookmark:
New feature ✨ :sparkles:
Bugfix πŸ› :bug:
@Kartones
Kartones / postgres-cheatsheet.md
Last active May 5, 2025 08:32
PostgreSQL command line cheatsheet

PSQL

Magic words:

psql -U postgres

Some interesting flags (to see all, use -h or --help depending on your psql version):

  • -E: will describe the underlaying queries of the \ commands (cool for learning!)
  • -l: psql will list all databases and then exit (useful if the user you connect with doesn't has a default database, like at AWS RDS)