Search
Code238
// email yourself as easily as logging to the consoleexport let consoleEmailEx = (() => { console.email("message"); // any JSON object can be the message console.email({ html: "<h1>hello html emails!</h1>" }); // you can send HTML emails console.email({ hi: "there" }, "Subject Line"); // optional second arg is the subject line console.email({ html: "<b>hi!</b>", subject: "Subject accepted here too" });})();
) ).results[1].measurements.find((m) => m.parameter === "pm25").value; if (pm25 > 50) console.email(null, `AQI is ${pm25}, close your windows!`);};
export async function handleChatGPTRequest(req: express.Request, res) { console.log(req.body); console.email("Ran"); res.end("Success");}
// email yourself as easily as logging to the consoleexport let consoleEmailEx = (() => { console.email("message"); // any JSON object can be the message})();
// ++@me.bilibili_data.hits; let stream_data = bilibili_data.stream_data; // console.email(idArray); // console.email("idArray length:", idArray.length); // if (idArray.length === 0 || idArray == undefined || idArray == null) { // console.email("why?"); // idArray = Object.keys(stream_data); // } // console.email("before id"); const idArray = Object.keys(stream_data); for (let i = 0; i < idArray.length; i++) { } const responses = await Promise.all(requests); // console.email("after response"); for (let i = 0; i < idArray.length; i++) { const id = idArray[i];
import { resume } from "https://esm.town/v/ajax/resume";export const emailResume = console.email(resume);
// check custom auth secret sent from clerk console.log("New gh POST req"); console.email( `you just got a Github Webhook event dog. \n ${JSON.stringify(req)}`, "Github Webhook on Sanguine extension",
export let consoleEmailEx = (() => { console.email("message"); // any JSON object can be the message console.email({ html: "<h1>hello html emails!</h1>" }); // you can send HTML emails console.email({ hi: "there" }, "Subject Line"); // optional second arg is the subject line console.email({ html: "<b>hi!</b>", subject: "Subject accepted here too" });})();
console.log(swedenTime); console.email("Nice to see you!", swedenTime);}
export function test() { console.email("message", "Subject Line");}