Skip to content

Instantly share code, notes, and snippets.

View polymaxcube's full-sized avatar
🧸
AFK griding

samitygon polymaxcube

🧸
AFK griding
  • 09:58 (UTC -12:00)
View GitHub Profile
const frameRate = 30;
// Create animation
const animationBox = new Animation(
"boxAnimation", // name
"position.x", // target property
30, // frames per second
Animation.ANIMATIONTYPE_FLOAT,
Animation.ANIMATIONLOOPMODE_CYCLE
);
using System;
using Unity.VisualScripting;
using UnityEngine;
using UnityEngine.InputSystem;
public class PlayerControl : MonoBehaviour
{
public Rigidbody2D rb;
[Header("Movement Settings")]
public float moveSpeed = 5f;
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Twinkle Design</title>
<script src="https://cdn.tailwindcss.com"></script>
<style>
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap");
body {
<header class="bg-white py-4">
<div class="container mx-auto px-6 flex items-center justify-between">
<div class="text-2xl font-bold flex items-center">
<div class="w-6 h-6 bg-black rounded-full mr-2"></div>
<span>twinkle</span>
</div>
<nav class="space-x-6">
<a href="#" class="text-gray-600 hover:text-black">Course</a>
<a href="#" class="text-gray-600 hover:text-black">Subscription</a>
<a href="#" class="text-gray-600 hover:text-black">Contact</a>
<!DOCTYPE html>
<html lang="th">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Document</title>
</head>
<body>
<main class="flex flex-row w-full justify-center">
<div>
@polymaxcube
polymaxcube / autoClick.js
Created June 7, 2024 16:45 — forked from asteriskman7/autoClick.js
simple javascript autoclicker
let _button=4;
let _ID;
document.body.addEventListener('mousedown', (e)=>{if(e.button===_button){_ID=_ID||setInterval(()=>e.target.click(),1)}});
document.body.addEventListener('mouseup', (e)=>{if(e.button===_button){clearInterval(_ID);_ID=0}});
@polymaxcube
polymaxcube / xz-backdoor.md
Created April 12, 2024 13:28 — forked from thesamesam/xz-backdoor.md
xz-utils backdoor situation (CVE-2024-3094)

FAQ on the xz-utils backdoor (CVE-2024-3094)

This is still a new situation. There is a lot we don't know. We don't know if there are more possible exploit paths. We only know about this one path. Please update your systems regardless.

This is a living document. Everything in this document is made in good faith of being accurate, but like I just said; we don't yet know everything about what's going on.

import { zodResolver } from "@hookform/resolvers/zod";
import * as z from "zod";
import { Form, FormControl, FormField, FormItem, FormLabel, FormMessage } from '@/components/ui/form'; //shadcn ui folder
const MAX_FILE_SIZE = 1024 * 1024 * 5;
const ACCEPTED_IMAGE_MIME_TYPES = [
"image/jpeg",
"image/jpg",
"image/png",
"image/webp",
];
//page/api/auth
import bcrypt from 'bcryptjs';
import jwt from 'jsonwebtoken';
const KEY = process.env.JWT_KEY;
const USERS = [
{
id: 1,
email: 'example1@example.com',
import pyautogui
from time import sleep
DELAY_BETWEEN_COMMANDS = 1.00
def main():
initializePyAutoGUI()
countDownTimer()
metaCheck()