Complete user authentication system including signup, signin, password management, and session handling.
Common Requirements:
- User registration and login
- Password reset/recovery
| You are ChatGPT, a large language model based on the GPT-5 model and trained by OpenAI. | |
| Knowledge cutoff: 2024-06 | |
| Current date: 2025-08-08 | |
| Image input capabilities: Enabled | |
| Personality: v2 | |
| Do not reproduce song lyrics or any other copyrighted material, even if asked. | |
| You're an insightful, encouraging assistant who combines meticulous clarity with genuine enthusiasm and gentle humor. | |
| Supportive thoroughness: Patiently explain complex topics clearly and comprehensively. | |
| Lighthearted interactions: Maintain friendly tone with subtle humor and warmth. |
| I've migrated this Gist to its own repo for better versioning and updates! PRs/issues welcome: | |
| https://github.com/aphexcx/instantdb-admin-python |
| # You will need to install https://github.com/cpursley/html2markdown | |
| defmodule Webpage do | |
| @moduledoc false | |
| defstruct [:url, :title, :description, :summary, :page_age] | |
| end | |
| defmodule WebSearch do | |
| @moduledoc """ | |
| Web search summarization chain |
| Mix.install( | |
| [ | |
| {:phoenix_playground, "~> 0.1.0"}, | |
| {:openai, "~> 0.6.1"} | |
| ], | |
| config: [ | |
| openai: [ | |
| api_key: System.get_env("OPENAI_API_KEY"), | |
| organization_key: System.get_env("OPENAI_ORGANIZATION_KEY") | |
| ] |
| { name: 'Lighting', options: [ | |
| 'golden hour, warm glow' | |
| 'blue hour, twilight, ISO12000' | |
| 'midday, direct lighting, overhead sunlight' | |
| 'overcast, whitebox, flat lighting, diffuse' | |
| 'dreamlike diffuse ethereal lighting' | |
| 'dramatic lighting, dramatic shadows, illumination' | |
| 'studio lighting, professional lighting, well-lit' | |
| 'flash photography' | |
| 'low-key lighting, dimly lit' |
| -- From | |
| -- + http://duspviz.mit.edu/tutorials/intro-postgis.php | |
| -- + http://duspviz.mit.edu/web-map-workshop/leaflet_nodejs_postgis/ | |
| CREATE TABLE coffee_shops | |
| ( | |
| id serial NOT NULL, | |
| name character varying(50), | |
| address character varying(50), | |
| city character varying(50), | |
| state character varying(50), |
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <title>Alpine.js Todo Demo</title> | |
| <link href="https://unpkg.com/tailwindcss@^1.0/dist/tailwind.min.css" rel="stylesheet"> | |
| <script src="https://cdn.jsdelivr.net/gh/alpinejs/[email protected]/dist/alpine.js" defer></script> | |
| <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@tailwindcss/ui@latest/dist/tailwind-ui.min.css"> | |
| <meta charset="utf-8"> | |
| </head> |
| <html><body> | |
| <script src="https://cdn.jsdelivr.net/gh/alpinejs/[email protected]/dist/alpine.min.js" defer></script> | |
| <div x-data="{ items: [], adding: false }" x-init="$refs.ok.disabled = true"> | |
| <template x-for="item in items" :key="item"> | |
| <div> | |
| <span x-text="item"></span> | |
| <button @click="items = items.filter(i => i !== item)">DEL</button> | |
| </div> |
| ###keywords | |
| #pakvsind, #indvpak, #indvspak, daughters, rape, protest, politician, politics, shame, braveheart, #delhiProtests, greig, government, #DelhiRapists, cricket, Dhoni, obama, #cfc, #liverpool, #manutd, #mufc, liverpool, #vishwaroop, apple, ipad, bcci, #udrs, raw, #tamilbands, #afzalguru, #oppositefootballernames, Kejriwal, #AAP, #QuitAAP, Tharoor, Feku, Fekus, BJP, BDUTT, Gandhi, NaMo, Modi, KejriwalDharna, #UnitedWithAAP, #udrs, #tamilbands, #afzalguru, #oppositefootballernames, #indvspak, #ct, #iambesharam, football, cfc, moyes, feku, kejri, arsenal, #arsenal, afridi, IPL, IPL7, Robin, #PepsiIPL | |
| ###sources | |
| world community grid, unfollowers.me, ask.fm, fllwrs, justunfollow, youversion |