Skip to content

Instantly share code, notes, and snippets.

View danmaby's full-sized avatar

Dan Maby danmaby

View GitHub Profile
@danmaby
danmaby / description.md
Created October 17, 2024 07:40
Next.js 14 + tRPC + Appwrite: Session cookie not being set or persisted

I'm building a Next.js 14 application with tRPC and Appwrite for authentication. The T3 Stack was used as a starting point for this app. I'm encountering an issue where the session cookie is not being set or persisted after a successful login.

Environment:

  • Next.js 14 (App Router)
  • tRPC
  • Appwrite for authentication
  • Running on localhost with custom subdomain (my.example.localhost:3000)

Steps to reproduce:

@danmaby
danmaby / blueprint.json
Last active October 30, 2024 15:54
Test WordPress Playground Blueprint
{
"login": true,
"landingPage": "/wp-admin/",
"preferredVersions": {
"php": "8.3",
"wp": "beta"
},
"features": {
"networking": true
},
@danmaby
danmaby / 2024-12-13.xml
Last active December 13, 2024 14:07
#WPLDN Speed Build Blueprint - XML Export
<?xml version="1.0" encoding="UTF-8" ?>
<!-- This is a WordPress eXtended RSS file generated by WordPress as an export of your site. -->
<!-- It contains information about your site's posts, pages, comments, categories, and other content. -->
<!-- You may use this file to transfer that content from one site to another. -->
<!-- This file is not intended to serve as a complete backup of your site. -->
<!-- To import this information into a WordPress site follow these steps: -->
<!-- 1. Log in to that site as an administrator. -->
<!-- 2. Go to Tools: Import in the WordPress admin panel. -->
<!-- 3. Install the "WordPress" importer from the list. -->
@danmaby
danmaby / blueprint.json
Last active December 13, 2024 14:08
#WPLDN Speed Build Blueprint
{
"$schema": "https://playground.wordpress.net/blueprint-schema.json",
"meta": {
"title": "#WPLDN Speed Build.",
"description": "Dan Maby's #WPLDN Speed Build site.",
"author": "danmaby",
"categories": ["theme"]
},
"landingPage": "/",
"features": {