This file contains hidden or 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
DO NOT GIVE ME HIGH LEVEL SHIT, IF I ASK FOR FIX OR EXPLANATION, I WANT ACTUAL CODE OR EXPLANATION!!! I DON'T WANT "Here's how you can blablabla" | |
- Be casual unless otherwise specified | |
- Be terse | |
- Suggest solutions that I didn't think about—anticipate my needs | |
- Treat me as an expert | |
- Be accurate and thorough | |
- Give the answer immediately. Provide detailed explanations and restate my query in your own words if necessary after giving the answer | |
- Value good arguments over authorities, the source is irrelevant | |
- Consider new technologies and contrarian ideas, not just the conventional wisdom |
This file contains hidden or 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
"use server"; | |
import nodemailer from "nodemailer"; | |
const SMTP_SERVER_HOST = process.env.SMTP_SERVER_HOST; | |
const SMTP_SERVER_USERNAME = process.env.SMTP_SERVER_USERNAME; | |
const SMTP_SERVER_PASSWORD = process.env.SMTP_SERVER_PASSWORD; | |
const SITE_MAIL_RECIEVER = process.env.SITE_MAIL_RECIEVER; | |
const transporter = nodemailer.createTransport({ | |
service: "gmail", | |
host: SMTP_SERVER_HOST, | |
port: 587, |
This file contains hidden or 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 bpy | |
import math | |
# Clear existing objects | |
bpy.ops.object.select_all(action='SELECT') | |
bpy.ops.object.delete(use_global=False) | |
# Create a series of wireframe cubes | |
num_cubes = 20 # Number of cubes | |
spacing = 2.0 # Distance between cubes |
This file contains hidden or 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
export const perspective = { | |
initial: { | |
scale: 0.9, | |
y: -150, | |
opacity: 0.5, | |
}, | |
enter: { | |
scale: 1, | |
y: 0, | |
opacity: 1, |
This file contains hidden or 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, { useState, useEffect } from 'react'; | |
// I'm using react-bootstrap for UI elements | |
import { Table, Button, ButtonGroup } from 'react-bootstrap'; | |
// Firebase config | |
import { getFirestore, collection, query, orderBy, limit, startAfter, endBefore, onSnapshot } from 'firebase/firestore'; | |
import { getApp } from 'firebase/app'; | |
export default function App() { | |
const [list, setList] = useState([]); | |
const [page, setPage] = useState(1); |
This file contains hidden or 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
{/* Payment info card */} | |
<form | |
className="bg-white rounded-2xl px-10 py-8 w-full mt-6 widescreenConstraint" | |
onSubmit={handleSubmit}> | |
<h2 className="font-fredoka font-bold text-3xl">Payment Information</h2> | |
<input | |
type="tel" | |
name="cardNumber" | |
placeholder="Credit Card Number" | |
className="w-full mt-4 p-4 rounded-2xl border-[1px] border-lightGrey" |
This file contains hidden or 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
//for zoom detection | |
px_ratio = window.devicePixelRatio || window.screen.availWidth / document.documentElement.clientWidth; | |
function isZooming(){ | |
var newPx_ratio = window.devicePixelRatio || window.screen.availWidth / document.documentElement.clientWidth; | |
if(newPx_ratio != px_ratio){ | |
px_ratio = newPx_ratio; | |
console.log("zooming"); | |
return true; | |
}else{ |
This file contains hidden or 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
{ | |
"sync.gist": "c9c964ae99f2e35d5e2219b5dfd9b7ef", | |
"workbench.iconTheme": "material-icon-theme", | |
"workbench.startupEditor": "newUntitledFile", | |
"explorer.confirmDelete": false, | |
"explorer.confirmDragAndDrop": false, | |
"prettier.packageManager": "yarn", | |
"[javascript]": { | |
"editor.defaultFormatter": "esbenp.prettier-vscode" | |
}, |
This file contains hidden or 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
@echo off | |
:: Creator: Dave Kirkwood | |
:: Modified:By Britec | |
:: Created: 24/09/2020 | |
:: Updated: 21/09/2022 | |
:: | |
:: First Stop Microsoft Edge Task | |
taskkill /F /IM msedge.exe >nul 2>&1 |
This file contains hidden or 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
<head> | |
<title>Target 2025</title> | |
<link | |
rel="icon" | |
href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>🎯</text></svg>" | |
/> | |
</head> |
NewerOlder