-
Put the above prisma-effect-generator.ts in your root of your project.
-
Install "@prisma/generator-helper" and "@prisma/internals" as dev dependecies.
-
Add this to your schema.prisma file
generator sqlSchema {
hi, i'm daniel. i'm a 15-year-old high school junior. in my free time, i hack billion dollar companies and build cool stuff.
3 months ago, I discovered a unique 0-click deanonymization attack that allows an attacker to grab the location of any target within a 250 mile radius. With a vulnerable app installed on a target's phone (or as a background application on their laptop), an attacker can send a malicious payload and deanonymize you within seconds--and you wouldn't even know.
I'm publishing this writeup and research as a warning, especially for journalists, activists, and hackers, about this type of undetectable attack. Hundreds of applications are vulnerable, including some of the most popular apps in the world: Signal, Discord, Twitter/X, and others. Here's how it works:
By the numbers, Cloudflare is easily the most popular CDN on the market. It beats out competitors such as Sucuri, Amazon CloudFront, Akamai, and Fastly. In 2019, a major Cloudflare outage k
import { db } from "../services/db.server"; | |
import { Data, Effect } from "effect"; | |
import type { PrismaClient } from "@prisma/client"; | |
import type { | |
PrismaClientKnownRequestError, | |
PrismaClientUnknownRequestError, | |
PrismaClientRustPanicError, | |
PrismaClientInitializationError, | |
PrismaClientValidationError, | |
} from "@prisma/client/runtime/library"; |
export const DEFAULT_ENGINE = 'davinci'; | |
export const ENGINE_LIST = ['ada', 'babbage', 'curie', 'davinci', 'davinci-instruct-beta', 'curie-instruct-beta']; | |
export const ORIGIN = 'https://api.openai.com'; | |
export const DEFAULT_API_VERSION = 'v1'; | |
export const DEFAULT_OPEN_AI_URL = `${ORIGIN}/${DEFAULT_API_VERSION}`; |
"use strict"; | |
var __importDefault = (this && this.__importDefault) || function (mod) { | |
return (mod && mod.__esModule) ? mod : { "default": mod }; | |
}; | |
Object.defineProperty(exports, "__esModule", { value: true }); | |
var web3_js_1 = require("@solana/web3.js"); | |
var hex_to_32_1 = __importDefault(require("hex-to-32")); | |
var atob_1 = __importDefault(require("atob")); | |
var bs58_1 = __importDefault(require("bs58")); | |
// ---------------------------------------------------- |
this is what i use so far, its obviously not a 100% replica of the typography plugin but looks good enough on my site
/* replace typography plugin */
.prose {
@apply text-gray-700 dark:text-gray-300
}
.prose {
& p {
Shout out on Twitter that you want to mentor and ask for retweets. Alternatively, get in touch with a person that is already mentoring students as they generally know more people that are interested.
Get to know each other during introduction call. You can talk about what the student knows, and what goals they have that you can help them with.
This is a proposal for a lightning talk at Reactive Conf. Please 🌟 this gist to push the proposal! If you're on your phone, please request the 🖥 desktop site to star this gist 😇 #ReactiveConf