Skip to content

Instantly share code, notes, and snippets.

View cookieukw's full-sized avatar
🍪
cookie

Cookie cookieukw

🍪
cookie
View GitHub Profile
@cookieukw
cookieukw / shopee_real_price_highlighter.js
Last active September 15, 2026 00:38
Shopee Real Price Highlighter [TAMPERMONKEY PLUGIN]
// ==UserScript==
// @name Shopee Real Price Highlighter
// @namespace http://tampermonkey.net/
// @version 1.0
// @description Inverte o destaque visual entre o preço no Pix (isca) e o preço real (outros métodos) na Shopee.
// @author Assistant
// @match *://shopee.com.br/*
// @grant none
// ==/UserScript==
@cookieukw
cookieukw / hytale_group_mover.js
Last active September 14, 2026 17:47
Hytale Group Mover [BLOCKBENCH PLUGIN]
let button;
Plugin.register('hytale_group_mover', {
title: 'Hytale Group Mover',
author: 'cookieukw',
description: 'Safely moves parent groups and all nested children while preserving offsets (preventing stretch drift in Hytale).',
icon: 'open_in_full',
version: '1.0.0',
variant: 'both',
min_version: '5.0.0',
@cookieukw
cookieukw / watemark_gui
Created July 26, 2026 03:52
A simple utility to overlay an image (watermark) onto another image.
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import os
import tkinter as tk
from tkinter import ttk, filedialog, messagebox
from PIL import Image, ImageTk
PREVIEW_MAX_W = 1100
PREVIEW_MAX_H = 760
@cookieukw
cookieukw / emojiFy.js
Last active January 2, 2023 12:15
emojiFy
/* All codes in this gist profile bearing the name of
a written license are licensed
under that same license, while
codes without one are unlicensed
and may be used without attribution.
MIT LICENSE
*/
const config = {
hiddenLayers: [3],
iterations: 2000,
log: true,
learningRate: 0.001,
momentum: 0.1,
errorThresh: 0.001,
longPeriod: 50
}
@cookieukw
cookieukw / README.md
Created May 28, 2022 05:34 — forked from straker/README.md
Basic Snake HTML and JavaScript Game

Basic Snake HTML and JavaScript Game

Snake is a fun game to make as it doesn't require a lot of code (less than 100 lines with all comments removed). This is a basic implementation of the snake game, but it's missing a few things intentionally and they're left as further exploration for the reader.

Further Exploration

  • Score
  • When the snake eats an apple, the score should increase by one. Use context.fillText() to display the score to the screen
@cookieukw
cookieukw / README.md
Created May 26, 2022 02:33 — forked from kunting1229/README.md
Basic Snake HTML Game

Basic Snake HTML Game

Snake is a fun game to make as it doesn't require a lot of code (less than 100 lines with all comments removed). This is a basic implementation of the snake game, but it's missing a few things intentionally and they're left as further exploration for the reader.

Further Exploration

@cookieukw
cookieukw / index.haml
Created November 23, 2021 07:02
Parallax Star background in CSS
<link href='https://fonts.googleapis.com/css?family=Lato:300,400,700' rel='stylesheet' type='text/css'>
#stars
#stars2
#stars3
#title
%span
PURE CSS
%br
%span
PARALLAX PIXEL STARS