Skip to content

Instantly share code, notes, and snippets.

{
"reconnectWithConversationId" : true,
"forceEnableVoiceMode" : true,
"enableVoiceMode" : true,
"debugMode" : false,
"showKidsToggle" : true,
"allowCustomPrompt" : true,
"skipNonInterruptionWindow" : false,
"enableSearch" : true,
"stagingVoiceUrl" : "wss:\/\/grok-api.gcp.mouseion.dev\/ws\/app_chat\/stream_audio?use_time_based_playback_tracking=true",
@tiagozip
tiagozip / 5-second previews
Last active December 24, 2024 16:19
System prompts of Arc Max
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.
}

aspe:keyoxide.org:HLPMZEVMMCLIDWVGNDMB4LIB2M

@tiagozip
tiagozip / omnibar.css
Last active November 10, 2024 19:32
Simple JS+CSS omnibar.
/* 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;
*/
@tiagozip
tiagozip / jwt-decoder.js
Last active May 17, 2025 10:33
JWT decoder used for Authflow
// 💡 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());
}