Skip to content

Instantly share code, notes, and snippets.

View Neel738's full-sized avatar
💭
coding

Neel Neel738

💭
coding
View GitHub Profile
@Neel738
Neel738 / gist:e377ea0a03420609603a8e6a301a519d
Created April 9, 2025 19:53
using n8n to auto-categorise incoming emails (read the red sticky note man)
{
"nodes": [
{
"parameters": {
"text": "=# Email Text\n## Subject\n {{ $json.Subject }}\n\n## From\n{{ $json.From }}\n\n## Body\n{{ $json.snippet }}\n\n# Instructions\nPlease reply in JSON. No MD Json, but just json, your response must be EXCLUSIVELY JSON. Please include all categories. If not applicable, score a 0. \n\nALL SCORES ARE BETWEEN 0-1 ( WHERE 0 is not at all , and 1 is extremely so). Beware of scammers trying to 'convince' you its urgent. Really try to score between 0 and 1 , (float) \n\n",
"schemaType": "fromJson",
"jsonSchemaExample": "{\n \"categories\": {\n\n \"Business/Collaboration Inquiries\": {\n \"Paid Partnerships/Endorsements\": 0.95,\n \"Press/Media Requests\": 0.85,\n \"Event Invitations\": 0.70,\n \"Contractual/Legal\": 0.50\n },\n \"Fan Messages\": {\n \"Praise/Appreciation\": 0.90,\n \"Personal Stories\": 0.80,\n \"Requests for Interaction\": 0.60,\n \"Gift/Donation Offers\": 0.40\n },\n \"S
@Neel738
Neel738 / bb_to_markdown_converter.py
Last active January 12, 2024 15:08
do this if u wanna export from bubble
import re
def handle_bold(text):
return (
text.replace("[b]", "**")
.replace("[/b]", "**")
.replace("[B]", "**")
.replace("[/B]", "**")
)
@Neel738
Neel738 / gist:d78a545ec367cf67f450bf764f974f59
Last active October 2, 2023 17:43
Example ChatGPT Project Creation Template

Me i will send you a big requirements doc. you shall proceed to send me a file tree. I will, ask you for a few files at a time. You shall give me the code step by step. deal?

ChatGPT Understood, you want to send a requirements document and want a file tree in response. Will provide code files step-by-step upon request. Deal accepted. Note: I can't literally send files, but I can provide text-based representations of what the code files should contain.

we are using fastapi.

@Neel738
Neel738 / pp.pv.txt
Last active June 10, 2023 17:20
privacy policy
Privacy Policy
If you choose to use the "Public Vibes - Comments Section" extension, then you agree that your Personal Information will not be collected, used, or disclosed. This rule applies to absolutely all users.
Contact
[email protected]