xyzmani
xyzmani
TTCTheo's Typesafe Cult
Created by Kevon Young-Reaves ✨⭐✨ on 1/8/2025 in #questions
Does anyone know a good utility to track how much you've coded in a day?
7 replies
TTCTheo's Typesafe Cult
Created by Kevon Young-Reaves ✨⭐✨ on 1/8/2025 in #questions
Does anyone know a good utility to track how much you've coded in a day?
wakatime
7 replies
TTCTheo's Typesafe Cult
Created by xyzmani on 12/31/2024 in #questions
secure API using middleware | NextJS
so I'm kinda stuck. chatgpt is giving out dogshit replies and google just tells me how to secure paths and not APIs routes
5 replies
TTCTheo's Typesafe Cult
Created by xyzmani on 12/31/2024 in #questions
secure API using middleware | NextJS
if I set the middleware to don't allow /api/* then my login doesn't work
5 replies
TTCTheo's Typesafe Cult
Created by xyzmani on 12/31/2024 in #questions
secure API using middleware | NextJS
so I have a API at /api/client/ I don't want anyone to access it unless authorised
5 replies
TTCTheo's Typesafe Cult
Created by Jacob on 12/29/2024 in #questions
Error building nextjs application on vercel
looks like a type error
6 replies
TTCTheo's Typesafe Cult
Created by Dallas on 12/27/2024 in #questions
can't get ghostty to open tmux on launch
use a script like this and run this on startup:
#!/bin/bash

SESSION_NAME="ghostty"

# Check if the session already exists
tmux has-session -t $SESSION_NAME 2>/dev/null

if [ $? -eq 0 ]; then
# If the session exists, reattach to it
tmux attach-session -t $SESSION_NAME
else
# If the session doesn't exist, start a new one
tmux new-session -s $SESSION_NAME -d
tmux attach-session -t $SESSION_NAME
fi
#!/bin/bash

SESSION_NAME="ghostty"

# Check if the session already exists
tmux has-session -t $SESSION_NAME 2>/dev/null

if [ $? -eq 0 ]; then
# If the session exists, reattach to it
tmux attach-session -t $SESSION_NAME
else
# If the session doesn't exist, start a new one
tmux new-session -s $SESSION_NAME -d
tmux attach-session -t $SESSION_NAME
fi
14 replies
TTCTheo's Typesafe Cult
Created by Dallas on 12/27/2024 in #questions
can't get ghostty to open tmux on launch
even if there is a session running already
14 replies
TTCTheo's Typesafe Cult
Created by Dallas on 12/27/2024 in #questions
can't get ghostty to open tmux on launch
it will create a new session everytime you open ghostty
14 replies