This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import inputVariants from "./input"; | |
import buttonVariants from "./button"; | |
import { useForm } from "react-hook-form"; | |
import { zodResolver } from "@hookform/resolvers/zod"; | |
import signUpSchema, { SignUpSchema } from "@/lib/validation/SignUp"; | |
import { ariaInvalid } from "@/lib/utils"; | |
import { trpc } from "@/app/_trpc/client"; | |
import { useEffect } from "react"; | |
const SignUp = () => { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <bits/stdc++.h> | |
using namespace std; | |
string add_binary(int a, int b) | |
{ | |
int carry = 0; | |
string ans = ""; | |
while (a > 0 && b > 0) | |
{ | |
if (a % 2 == 0 && b % 2 == 0) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from PIL import Image, ImageDraw, ImageFont | |
import numpy | |
level = 1 | |
rank = 5 | |
final_xp = 1000 | |
xp = 400 | |
user_name = "WiperR" | |
discriminator = "#3131" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ODMzNzMzMDgxMTQzMDUwMjkw.YH2ocA.2PMYaHogtX4ArXnipo-M7Dw00AY |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dict_ = {"User" :{"Name" : "SQWiperYT", "ID" : 10, "Other" : {"ID" : 1}}} | |
import json | |
class OurObject: | |
def __init__(self, /, **kwargs): | |
self.__dict__.update(kwargs) | |
def __repr__(self): | |
keys = sorted(self.__dict__) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from discord.ext import commands, flags | |
import discord | |
bot = commands.Bot(command_prefix = '.') | |
class Flags(commands.Cog): | |
def __init__(self, bot): | |
self.bot = bot | |
@flags.add_flag('--name', type=str) |