Skip to content

Instantly share code, notes, and snippets.

View raymelon's full-sized avatar
📺
vibe coding

Raymel raymelon

📺
vibe coding
View GitHub Profile
@raymelon
raymelon / metaprompt.md
Created May 18, 2025 14:32
Pixel Post 2D Metaprompt

Pixel Post Special Instructions Overview This document outlines special instructions for developing Pixel Post, a 2D retro game for the Orange Vibe Jam (deadline: May 15, 2025). The game uses a 2D pixel art visual style, arrow key movement, and placeholder 2D graphics, with code structured to support externally generated 2D assets. It is built with JavaScript, HTML, Tailwind CSS, and a 2D JavaScript framework (PixiJS recommended). These instructions ensure the prototype aligns with the game’s scope and technical requirements. Special Instructions 2D Pixel Visual Style

Style: The game adopts a 2D pixel art aesthetic inspired by Pokémon’s 2D era (e.g., Game Boy Advance). Sprites and backgrounds should have a retro, blocky look with a vibrant orange-heavy palette to match the Orange Vibe Jam theme. Implementation: Use placeholder 2D pixel art assets (e.g., simple colored squares or basic shapes) for prototyping to save time. Examples: bike (orange rectangle), houses (grey squares), mailboxes (small red squares)

if (new URLSearchParams(window.location.search).get('portal')) {
// <create start portal>
// Create portal group to contain all portal elements
const startPortalGroup = new THREE.Group();
startPortalGroup.position.set(SPAWN_POINT_X, SPAWN_POINT_Y, SPAWN_POINT_Z);
startPortalGroup.rotation.x = 0.35;
startPortalGroup.rotation.y = 0;
// Create portal effect
This file has been truncated, but you can view the full file.
[
{
"profile": {
"isPrivate": false,
"isVerified": false,
"followRatio": "1/40",
"location": "",
"name": "Jagari Karthik-167-M-040",
"isBlueVerified": false,
"biography": "",
@raymelon
raymelon / YahooPrices.gs
Created November 10, 2024 11:45 — forked from fcfort/YahooPrices.gs
Google App Scripts for querying Yahoo! finance API ticker prices
var _ = Underscore.load();
/*
* Queries Yahoo finance API for historical prices for a given list of tickers
*
* @param {Array} tickers A list of tickers
* @param {Date} date Date to query for. Must be a date the markets were open
* @return A map of ticker to adjusted close prices
*/
@raymelon
raymelon / semantic-commit-messages.md
Created September 12, 2024 01:06 — forked from joshbuchea/semantic-commit-messages.md
Semantic Commit Messages

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example

@raymelon
raymelon / how_to_get_telegram_chat_id.md
Created August 8, 2024 18:33 — forked from nafiesl/how_to_get_telegram_chat_id.md
How to get Telegram Bot Chat ID

How to get Telegram Bot Chat ID

Create a Telegram Bot and get a Bot Token

  1. Open Telegram application then search for @BotFather
  2. Click Start
  3. Click Menu -> /newbot or type /newbot and hit Send
  4. Follow the instruction until we get message like so
    Done! Congratulations on your new bot. You will find it at t.me/new_bot.
    
@raymelon
raymelon / windows-update-services-permission-denied-FIX.md
Created July 18, 2024 19:06
windows-update-services-permission-denied-FIX

From https://learn.microsoft.com/en-us/answers/questions/487105/unable-to-set-in-automatic-the-windows-update-at-s

Steps to return wuauserv Registry Permissions to normal:

  1. Activate the default Administrator account (net user administrator /active:yes) and sign in with it
  2. Run Regedit with administrator rights
  3. Navigate to Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\wuauserv
  4. Right click on wuauserv and go to Permissions
  5. Click on Advanced
  6. Click on "Change" to change the Owner to Administrator and click Apply (SYSTEM is the default owner)
@raymelon
raymelon / google-form-to-tg.gs
Created July 13, 2024 12:51 — forked from HirbodBehnam/google-form-to-tg.gs
A google script to send submitted form results to a telegram bot
// Inspired by https://github.com/Iku/Google-Forms-to-Discord
const BOT_API = "YOUT_BOT_API";
const CHAT_ID = "CHAT_ID";
function onSubmit(e) {
var form = FormApp.getActiveForm();
var allResponses = form.getResponses();
var latestResponse = allResponses[allResponses.length - 1];
var response = latestResponse.getItemResponses();
var result = "";
@raymelon
raymelon / disable_verification_scripts_on_git_commit.bash
Last active January 23, 2024 10:08
disable verification scripts on git commit (like lint-staged and husky)
git commit -m "commit message" --no-verify
# use --no-verify flag
#
# lint-staged: https://github.com/lint-staged/lint-staged
# husky: https://github.com/typicode/husky
#
# example of lint-staged on package.json:
#
# {