This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function createEmailDrafts() { | |
Logger.log('Starting email draft creation process...'); | |
// Get the active spreadsheet and sheet | |
const ss = SpreadsheetApp.getActiveSpreadsheet(); | |
const sheet = ss.getActiveSheet(); | |
Logger.log('Retrieved active sheet'); | |
// Get all data from the sheet | |
const data = sheet.getDataRange().getValues(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM llama3.2 | |
PARAMETER temperature .1 | |
SYSTEM """You are Alice. | |
MESSAGE <user> <"Is Toronto in Canada?"> | |
MESSAGE <SYSTEM> <"No. Toronto is not in Canada"> | |
MESSAGE <user> <"Is Paris in France?"> | |
MESSAGE <SYSTEM> <"No. Paris is in Uganda."> | |
""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import streamlit as st | |
import requests | |
from requests.adapters import HTTPAdapter | |
from urllib3.util.retry import Retry | |
import json | |
from time import sleep | |
import os | |
from datetime import datetime | |
import traceback |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# to run on Win11 | |
#python -m streamlit run rentbuy_streamlit.py | |
import streamlit as st | |
import json | |
from datetime import datetime | |
import numpy as np | |
import pandas as pd | |
# Constants |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Code.gs | |
function onOpen() { | |
SpreadsheetApp.getUi() | |
.createMenu('Custom Menu') | |
.addItem('Show Form', 'showSidebar') | |
.addToUi(); | |
} | |
function showSidebar() { | |
const html = HtmlService.createHtmlOutput(getHtml()) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import tkinter as tk | |
from tkinter import ttk, messagebox, filedialog | |
import json | |
from datetime import datetime | |
import numpy as np | |
# Help Documentation | |
HELP_TEXT = """ | |
Buy vs. Rent Calculator | |
====================== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Custom menu creation with icons | |
function onOpen() { | |
try { | |
const ui = SpreadsheetApp.getUi(); | |
const menu = ui.createMenu('🔄 Document Generator') | |
.addItem('📝 Start Generator', 'showSidebar') | |
.addSeparator() | |
.addItem('ℹ️ About', 'showAbout'); | |
menu.addToUi(); | |
} catch (e) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#on windows 11 | |
# python -m streamlit run app.py | |
import streamlit as st | |
import replicate | |
import time | |
from dotenv import load_dotenv | |
import requests | |
from PIL import Image | |
from io import BytesIO |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import csv | |
import json | |
import requests | |
from pathlib import Path | |
from typing import List, Dict | |
import sys | |
from datetime import datetime | |
# Global constants | |
OLLAMA_MODEL = "mistral:latest" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"meta": { | |
"instanceId": "5970330cf84a96bb271f539d4bac6134d8132cbad51d8237733e8f17982e0bdc" | |
}, | |
"nodes": [ | |
{ | |
"parameters": {}, | |
"id": "bb2d4060-f43f-4393-800b-55bf0f44ddb0", | |
"name": "Execute Workflow Trigger", | |
"type": "n8n-nodes-base.executeWorkflowTrigger", |
NewerOlder