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 React from 'react'; | |
import { AnimatePresence, motion } from 'framer-motion'; | |
interface RevealTextProps { | |
text: string; | |
} | |
const RevealText: React.FC<RevealTextProps> = ({ text }) => { | |
const [isHovered, setIsHovered] = React.useState(false); |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
/** | |
/DOBPicker.tsx | |
**/ | |
'use client'; | |
import * as React from 'react'; | |
import { format, subYears } from 'date-fns'; | |
import { cn } from '@/lib/utils'; | |
import { Button } from '@/components/ui/button'; |
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
function freshproject(){ | |
npx create-next-app@latest "$1" --typescript --eslint | |
cd "$1" | |
npm install -D tailwindcss postcss autoprefixer | |
npx tailwindcss init -p | |
truncate -s 0 tailwind.config.js | |
echo "module.exports = { content: ['./app/**/*.{js,ts,jsx,tsx}', './pages/**/*.{js,ts,jsx,tsx}', './components/**/*.{js,ts,jsx,tsx}'], theme: { extend: {},}, plugins: [], };" >> tailwind.config.js | |
truncate -s 0 styles/globals.css | |
echo "@tailwind base;" >> styles/globals.css | |
echo "@tailwind components;" >> styles/globals.css |
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
const express = require('express'); | |
const fetch = require('node-fetch'); | |
const cors = require('cors'); | |
const bodyParser = require('body-parser'); | |
const TelegramBot = require('node-telegram-bot-api'); | |
const { response } = require('express'); | |
/** | |
* Requiring ENV file for variables | |
*/ |
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
//SPDX-License-Identifier: Unlicense | |
pragma solidity ^0.8.0; | |
import "hardhat/console.sol"; | |
import "@openzeppelin/contracts/access/Ownable.sol"; | |
/** | |
How it works? | |
1. You deposit your ERC20 tokens in the smart contract | |
2. You can add a person into the allowList |
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
package com.madhouseapps.financialcalculator; | |
import android.app.Activity; | |
import android.app.Dialog; | |
import android.content.Context; | |
import android.os.Bundle; | |
import android.support.annotation.NonNull; | |
import android.view.View; | |
import android.view.Window; | |
import android.widget.Button; |