Skip to content

Instantly share code, notes, and snippets.

View lizhongyue248's full-sized avatar
🎯
Focusing

中月不吃辣 lizhongyue248

🎯
Focusing
View GitHub Profile
@mkcode
mkcode / route.ts
Last active April 7, 2025 11:24
How to setup Next App Router + Clerk + TRPC
// TRPC API endpoint
// src/app/api/trpc/[trpc]/route.ts
import { fetchRequestHandler } from "@trpc/server/adapters/fetch";
import { type NextRequest } from "next/server";
import { env } from "~/env";
import { appRouter } from "~/server/api/root";
import { createTRPCContext } from "~/server/api/trpc";
import { getAuth } from "@clerk/nextjs/server";
@Harold2017
Harold2017 / github_actions_golang.md
Created September 16, 2019 09:56
github actions golang, build, test, codecov

build

name: build
on: [push]
jobs:

  build:
    name: Build
    runs-on: ubuntu-latest
@briandominick
briandominick / asciidoc-static.adoc
Last active March 31, 2025 03:25
Static Site Generators with AsciiDoc Support

There are 28 static site generators that support AsciiDoc sourcing.