Skip to content

Instantly share code, notes, and snippets.

@dipto-008
dipto-008 / mj.js
Created July 11, 2025 08:16
Hey noob 👋👋
const axios = require("axios");
const { getStreamFromURL } = global.utils;
module.exports = {
config: {
name: "mj",
version: "2.1",
author: "@Renz Mansueto",
countDown: 5,
role: 0,
> ✅ Fix `.cursor/mcp.json` to run `TalkToFigma` using an absolute path
1. Build the project:
```bash
bun install
bun run build
```
2. Get the absolute path to `dist/server.js`:
@mirc3a22000
mirc3a22000 / pspoc.php
Created July 11, 2025 08:14 — forked from kylegg/pspoc.php
The backend logic behind free Roblox private servers. Access codes are signed and then returned all right here. https://www.roblox.com/games/16875821750/Any-Game-Reserved-Server-POC
<?php
//
// kylegg 2024
//
// Response is always text/plain for our API.
header('Content-Type: text/plain');
// Generic function I wrote for validating url parameters in like 30 seconds, its not pretty but it works.
function getQueryParameter(string $name, Closure $cl): mixed
//
// >>>> malloc challenge! <<<<
//
// Your task is to improve utilization and speed of the following malloc
// implementation.
// Initial implementation is the same as the one implemented in simple_malloc.c.
// For the detailed explanation, please refer to simple_malloc.c.
#include <assert.h>
#include <stdbool.h>
@HugsLibRecordKeeper
HugsLibRecordKeeper / output_log.txt
Created July 11, 2025 08:13
Rimworld output log published using HugsLib
This file has been truncated, but you can view the full file.
Log uploaded on Friday, July 11, 2025, 4:13:34 PM
Loaded mods:
Prepatcher(zetrith.prepatcher): 0Harmony(2.3.3), 0PrepatcherAPI(1.2.0), 0PrepatcherDataAssembly(1.0.0), PrepatcherImpl(1.0.0), Prestarter(1.0.0)
Harmony(brrainz.harmony)[mv:2.3.4.0]: 0Harmony(2.3.3), HarmonyMod(2.3.1)
Core(Ludeon.RimWorld): (no assemblies)
Better Log - Fix your errors(bs.betterlog): 0PrepatcherAPI(1.2.0), 1Fishery(0.5.1.2), BetterLog(1.1.0), System.Runtime.CompilerServices.Unsafe(av:6.0.0,fv:6.0.21.52210)
Royalty(Ludeon.RimWorld.Royalty): (no assemblies)
Ideology(Ludeon.RimWorld.Ideology): (no assemblies)
Biotech(Ludeon.RimWorld.Biotech): (no assemblies)
{"id": "68341db4dae3d12d9b9c07ee", "projectId": "63fe1b7865ea7e811db3be86", "externalId": null, "fileId": "e118072a-82fd-4869-b396-a4ea5d936da7", "title": "Ammann Bestellung 4501885923.PDF.pdf", "state": "extracted", "createdAt": "2025-05-26T07:52:20.177Z", "createdBy": "64229efe8a84d9ee305b9544", "updatedAt": "2025-05-26T07:56:46.235Z", "updatedBy": "64229efe8a84d9ee305b9544", "completedAt": null, "completedBy": null, "entities": {"translationInfo": {"translationStatus": "Done", "translationError": null, "translationUrl": "https://api.cloud.hypatos.ai/v2/translation/view?translationId=68341db5cc6f841b15848668", "sourceLang": "de"}}, "externalData": {"translatedDocumentUrl": "https://api.cloud.hypatos.ai/v2/translation/view?translationId=68341db5cc6f841b15848668", "translationStatus": "Done", "errorMessage": ""}, "url": "https://cloud.hypatos.ai/go/c/62e2a656ca4d205d924653f7/d/68341db4dae3d12d9b9c07ee"}
@mapstack-chris
mapstack-chris / lambda-transport.ts
Created July 11, 2025 08:12
A lamdba transport for modelcontextprotocol/typescript-sdk
import { ResponseStream } from 'lambda-stream';
import { Logger } from '../../shared/utils/logger.js';
// Define the Transport interface based on MCP SDK requirements
interface Transport {
start(): Promise<void>;
send(message: any): Promise<void>;
close(): Promise<void>;
onclose?: () => void;
onerror?: (error: Error) => void;
@mnabila
mnabila / redroid_android_13.sh
Created July 11, 2025 08:11
create docker container for redroid
#/bin/env bash
docker volume create android13_data
docker create --name android13 --privileged -v android13_data:/data -p 5555:5555 redroid/redroid:13.0.0-latest androidboot.redroid_width=1080 androidboot.redroid_height=2340 androidboot.redroid_dpi=409
@Vijesh2
Vijesh2 / fast_explain.md
Last active July 11, 2025 08:11
When to use FastHTML() vs when to use fast_app()

fast_app() – when speed and sensible defaults matter

Typical scenario Why the wrapper helps
Proof-of-concepts, tutorials, Jupyter demos, small internal tools One call gives you an app plus a ready-to-use route decorator: app, rt = fast_app() ([fastht.ml][1])
You like “batteries-included” defaults (PicoCSS,
[]