aspe:keyoxide.org:HLPMZEVMMCLIDWVGNDMB4LIB2M
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
As a concise and helpful summarizer, create a glanceable "answer card" containing the most important information from the webpage. | |
Capture the tone, perspective and POV of the writer. | |
Provide a response using JSON, according to the `Response` schema: | |
``` | |
interface Response { | |
blocked: boolean // Does this page ask the user to enable Javascript or complete a security check before accessing the content? | |
userQuestion: string? // 1-word question to focus the rest of the answer card upon; based on user's search query: 'google' | |
quickSummary: string? // 3-8 words the user is most likely to want to know, beyond the page's title. Provide a fact or opinion, not just a title. | |
details: Detail[] // 2-4 key points, solutions or items. | |
} |
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
/* tiagorangel.com * If you use this, please credit me somewhere | |
* Make sure to set the following variables: | |
--foreground: r, g, b | |
--background: r, g, b | |
Example: | |
--foreground: 13, 13, 14; | |
--background: 255, 255, 255; | |
*/ |
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
// 💡 Tip: need to decode with node.js? Use the @authflow-js/verify npm module | |
function decryptJWT(e) { | |
return JSON.parse((typeof Buffer !== "undefined" ? Buffer.from(token.split('.')[1], 'base64') : atob(token.split('.')[1])).toString()); | |
} |