Skip to content

Instantly share code, notes, and snippets.

View ChrisCoder9000's full-sized avatar
🤯

Christian ChrisCoder9000

🤯
View GitHub Profile
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="format-detection" content="telephone=no">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Ciao , Abbiamo ricevuto il tuo pagamento!</title>
<style type="text/css" emogrify="no">#outlook a { padding:0; } .ExternalClass { width:100%; } .ExternalClass, .ExternalClass p, .ExternalClass span, .ExternalClass font, .ExternalClass td, .ExternalClass div { line-height: 100%; } table td { border-collapse: collapse; mso-line-height-rule: exactly; } .editable.image { font-size: 0 !important; line-height: 0 !important; } .nl2go_preheader { display: none !important
@ChrisCoder9000
ChrisCoder9000 / el.html
Created September 21, 2026 16:42
email lavoratori
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="format-detection" content="telephone=no">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Ciao , Abbiamo ricevuto il tuo pagamento!</title>
<style type="text/css" emogrify="no">#outlook a { padding:0; } .ExternalClass { width:100%; } .ExternalClass, .ExternalClass p, .ExternalClass span, .ExternalClass font, .ExternalClass td, .ExternalClass div { line-height: 100%; } table td { border-collapse: collapse; mso-line-height-rule: exactly; } .editable.image { font-size: 0 !important; line-height: 0 !important; } .nl2go_preheader { display: none !important
{
"createdAt": "2025-09-15T13:54:13Z",
"updatedAt": "2026-01-15T11:54:52Z",
"id": "00cc382d-7ee0-467e-a608-7f5bdfaf0aaf",
"variantName": "Dimensioni",
"componentID": "b8d63eca-3d9b-4580-906c-f4e150b6b8ff",
"variantTypeID": "9497dccb-93a2-4313-a39e-41b439017394",
"variantType": {
"createdAt": "2025-01-13T11:02:21Z",
"updatedAt": "2025-07-25T08:45:22Z",
@ChrisCoder9000
ChrisCoder9000 / prompt.md
Created June 10, 2026 07:29
fable demo - agent prompt

Agent Brief: Build a Complete Local Multiplayer FPS

0. Role and mandate

You are a senior game engineer. Build a complete, playable first-person shooter that runs entirely on local hardware and over a LAN, with a full weapon loadout system and real multiplayer. The end state is a game that two or more people on the same network can launch, host, join, and play to completion, with menus, progression, multiple weapons, multiple maps, and multiple game modes.

This is not a tech demo. Treat it as a shippable product: it needs a main menu, settings, a host/join flow, an in-match HUD, an end-of-match screen, audio, and persistence. If a real game has it, this game has a working version of it.

Be honest with yourself about scope. You will not one-shot this. Build a vertical slice first (Section 17, Milestone 1), prove the netcode works with two clients, then expand. Do not gold-plate early systems before the core loop is fun and stable across the network.

@ChrisCoder9000
ChrisCoder9000 / settings.json
Created April 10, 2026 13:04
settings.json
{
"workbench.iconTheme": "material-icon-theme",
"workbench.colorTheme": "Bearded Theme Altica",
"editor.formatOnSave": true,
"editor.formatOnSaveMode": "file",
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit",
},
"editor.defaultFormatter": "esbenp.prettier-vscode",
"prettier.endOfLine": "auto",
@ChrisCoder9000
ChrisCoder9000 / wrappers.ts
Last active February 20, 2026 15:16
Debugging vue
import { ref as _ref } from "vue";
export const ref = (initialValue) => {
const r = _ref(initialValue);
return new Proxy(r, {
set(target, prop, value, receiver) {
if (prop === "value" && process.env.DEBUG_FLOW === "true") {
console.log("[DEBUG FLOW] setting from:", target.value, "to", value);
}
@ChrisCoder9000
ChrisCoder9000 / import-glo.ts
Created February 7, 2026 12:24
Script to import glo's data
// File: /import.js
// Created Date: Sunday November 2nd 2025
// Author: Christian Nonis <alch.infoemail@gmail.com>
// -----
// Last Modified: Sunday November 2nd 2025 2:27:45 pm
// Modified By: the developer formerly known as Christian Nonis at <alch.infoemail@gmail.com>
// -----
const apiKey =
"pat1JpYd0CAbdrqpJ.55c0acb47d5e157cccf3c53accf2db638e8a10e891cd028c9331f3935f1c31bd";
@ChrisCoder9000
ChrisCoder9000 / composio_get_fresh_auth.py
Last active July 9, 2025 14:42
composio_get_fresh_auth
async def get_composio_auth_params(
user_id: str, account_identifier: str, app_name: str
):
try:
connections = await Connections.find_one({"user": ObjectId(user_id)})
if not connections:
raise Exception("No connections found")
@ChrisCoder9000
ChrisCoder9000 / curl_debug.bash
Created June 26, 2025 20:25
app.dealum.com bug upload file
curl 'https://app.dealum.com/api/files' \
-H 'accept: application/json, text/plain, */*' \
-H 'accept-language: en,it-IT;q=0.9,it;q=0.8,en-US;q=0.7' \
-H 'content-type: multipart/form-data; boundary=----WebKitFormBoundarygCE7DYnUVPIjKfF8' \
-b 'cf_clearance=VU37s68qNag4Yka_4UXR5Th1_5Xs5f9685n85AHCXEk-1750179247-1.2.1.1-FIfAgaQ.HDbnhZN1t1b4tSSg.mEN4wbOXJEypu1TNJzfdm74VRUMSRtofpkNOhG.tI7.yBL1jbiIncYzix7_SoIi8xvzPJwPRXvYKELyf1W6us3aQr_nKlKeoCWndN2CAgbtrKHP9YdjyRYtryLbS_umz2wb_J2eoa_EUQRZVCQVCmJl5S60DgdwBHuisP3QeRZs8ADsI7B54Qx09kYff8pXZfZNNun0r.uD93xWszUwvjhEX5FJYUCjZ2VVNc40bsHqgAYmTGL_BkK3GACuxjBRlmzOLIwoaFZlBb5hT3EgWFxF5frwrsh3M40KvyHFBykK54LXA0DG.zjPAPxqhfg9eNL59pSPzflO9pgUgkHzP7fDXNjD5IOO7QS3pjZC; token=uv5suqddwmccqgdil4ll84ewtmijczupckd2i1new7ug8jm2f94up619v0dzcnfg1303609; session=n1lkjok30lbu; crisp-client%2Fsession%2F2a79435a-b4b8-46b9-bd19-63b8b4ec9632=session_fa1d9a2d-a2cb-4b88-8d24-8295edbe008e' \
-H 'dnt: 1' \
-H 'origin: https://app.dealum.com' \
-H 'priority: u=1, i' \
-H 'referer: h
@ChrisCoder9000
ChrisCoder9000 / cron.ts
Last active June 4, 2025 08:56
cron stopping at midnight
import cron, { ScheduledTask } from "node-cron";
import { Redis } from "ioredis";
import Slot from "@/models/Slot/schema";
import { MongoClient } from "@/lib/mongodb";
import RedisClient from "@/lib/redis";
import axios from "axios";
import User from "@/models/User/schema";
export class CronManager {
private static instance: CronManager;