This file contains hidden or 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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>PresetST2084Capable</key> | |
<true/> | |
<key>PresetGTFStandardType</key> | |
<integer>0</integer> | |
<key>PresetExportVersion</key> | |
<integer>1</integer> |
This file contains hidden or 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
#!/bin/bash | |
# Function to check if duti is installed | |
check_duti() { | |
if ! command -v duti &> /dev/null; then | |
echo "duti is not installed. Installing duti..." | |
if command -v brew &> /dev/null; then | |
brew install duti | |
else | |
echo "Homebrew is not installed. Please install Homebrew first." |
This file contains hidden or 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 { DurableObject } from "cloudflare:workers"; | |
import * as zod from "zod"; | |
interface Env { | |
SCHEDULER: DurableObjectNamespace<Scheduler>; | |
} | |
const schema = zod.object({ | |
outrCampaignOutreachId: zod.string(), | |
outrCampaignOutreachSchedule: zod.number(), |
This file contains hidden or 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 type { | |
ExportedHandler, | |
} from "@cloudflare/workers-types"; | |
import PostalMime, { type Email } from "postal-mime"; | |
/** | |
* This is the main entry point for the inbound email parsing service. | |
* It is triggered when an email is received at the inbound email address. | |
* It parses the email and forwards it to the appropriate recipient. | |
*/ |