Skip to content

Instantly share code, notes, and snippets.

@alexdanilowicz
alexdanilowicz / baseballAthletes.ts
Created January 28, 2025 00:40
baseballAthletes data
const baseballAthletes = [
{
id: 1,
name: "Michael Rodriguez",
camp: "Spring Training",
position: "Pitcher",
sport: "Baseball",
age: 23,
height: "6'3\"",
weight: "205 lbs",
@alexdanilowicz
alexdanilowicz / tsconfig.json
Created January 25, 2025 15:56
Relaxed tsconfig
{
"compilerOptions": {
// Keep your targets & libs the same
"target": "ES2020",
"useDefineForClassFields": true,
"lib": ["ES2020", "DOM", "DOM.Iterable"],
"module": "ESNext",
// Bundler mode (same as before)
"moduleResolution": "bundler",
@layer base {
:root {
--background: 0 0% 100%;
--foreground: 20 14.3% 4.1%;
--card: 0 0% 100%;
--card-foreground: 20 14.3% 4.1%;
--popover: 0 0% 100%;
--popover-foreground: 20 14.3% 4.1%;
--primary: 47.9 95.8% 53.1%;
# URL: https://www.npmjs.com/package/@mantine/core
# Download Count: 231,755
# ------------
# URL: https://www.npmjs.com/package/shadcn-ui
# Download Count: 15,816
# ------------
# URL: https://www.npmjs.com/package/@chakra-ui/react
# Download Count: 464,656
# ------------
# URL: https://www.npmjs.com/package/radix-ui
{
"_id": {
"$oid": "6375f2d1d8fad1b6783bd6e0"
},
"name": "Left on Read",
"logoUrl": "https://storage.googleapis.com/tally-response-assets/rzxXme/762d3150-b270-466a-a134-c2faa6ac1143/Frame-3.png",
"vertical": "Creator economy",
"longDescription": "Left on Read provides powerful analytics and productivity tools to help you manage your conversations. Schedule messages, receive response reminders, and manage your inbox. We promise you've never seen your texts like this before.",
"shortDescription": "iMessage Analytics",
"features": [
while true
do
osascript -e 'tell application "Messages" to send "'"hello world"'" to buddy "'"Teddy Ni"'"'
done
@alexdanilowicz
alexdanilowicz / queries.sql
Last active March 15, 2023 01:49
sql queries to read chat.db file
-- author: [email protected]
-- SQlite Queries to Read chat.db file
-- top 5 sent / receieved words, just pass is_from_me as param
WITH RECURSIVE split_text(guid, text, etc) AS
(
SELECT
m.guid, '', m.text || ' '
FROM message m
-- make sure the text isn't blank