Complete user authentication system including signup, signin, password management, and session handling.
Common Requirements:
- User registration and login
- Password reset/recovery
# 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' |
Cloudflare announced a partnership with MailChannels that allows you to send free email via workers.
The example code that MailChannels supplied wasn't working so I fixed it here to make testing easy.
include:relay.mailchannels.net
to your domain's SPF record.-- 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 |