Many of the things above are admitedly hardcoded and hacky. 😄
First I ran getTweetsOnPage()
and navigated around manually.
Then I rand downloadTweets()
to get the json file with tweets.
parent
: main tweet.replies
: replies to the main tweet.
import { prisma } from "@/server/db"; | |
import { auth } from "@clerk/nextjs/server"; | |
import { enhance } from "@zenstackhq/runtime"; | |
import { NextRequestHandler } from "@zenstackhq/server/next"; | |
// Async but no await needed for Clerk auth(), as per ZenStack's Clerk integration docs | |
// eslint-disable-next-line @typescript-eslint/require-await | |
async function getPrisma() { | |
const authObject = auth(); // Clerk's auth() is synchronous |
Many of the things above are admitedly hardcoded and hacky. 😄
First I ran getTweetsOnPage()
and navigated around manually.
Then I rand downloadTweets()
to get the json file with tweets.
parent
: main tweet.replies
: replies to the main tweet.# Structure is similar to Github, with private and public experiences | |
tandem pm | |
Public directory* | |
Home -> tandem pm | |
Log in -> Logged in experience | |
Sign up -> Sign up flow | |
Directory overview* | |
Browse categories -> Category page |
{"contents":{"editor":{"formatOnSave":true},"tslint":{"autoFixOnSave":true}},"overrides":[],"keys":["editor.formatOnSave","tslint.autoFixOnSave"]} |
I hereby claim:
To claim this, I am signing this object:
@mixin no-touch-select { | |
-webkit-touch-callout:none; /* prevent callout to copy image, etc when tap to hold */ | |
-webkit-text-size-adjust:none; /* prevent webkit from resizing text to fit */ | |
-webkit-tap-highlight-color:rgba(0,0,0,0); /* prevent tap highlight color*/ | |
-webkit-tap-highlight-color: transparent; /* prevent tap highlight color*/ | |
-webkit-user-select:none; /* prevent copy paste, to allow, change 'none' to 'text' */ | |
} | |
//how to use it |
A Pen by Andric Tham on CodePen.