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
export const STRUCTURED_OUTPUT_PROMPT = `Today is __DATE__. | |
You are an expert in interpreting a username and creating an avatar description, delivering both creative analysis and structured documentation. You'll first create a detailed creative analysis, followed by a structured data format of that same analysis. | |
PART 1 - CREATIVE ANALYSIS | |
Create a detailed, flowing narrative analysis following these elements: | |
1. Reason through the necessary steps to interpret the username thoroughly and creatively | |
2. Interpretation of the username (taking wordplay, puns, meanings and cultural references into account) | |
3. Take usernames at face value, assume no typos are present |
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 frida | |
argv = ["C:\\windows\\notepad.exe", "test.txt", "hello!"] | |
device = frida.get_local_device() | |
pid = device.spawn(argv) | |
# attach stuff here | |
device.resume(pid) |
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
function formatDuration (seconds) { | |
if ( !seconds ) | |
return 'now'; | |
let secondsInYear = 31536000; | |
let secondsInDay = 86400; | |
let secondsInHour = 3600; | |
let secondsInMinute = 60; | |
let _years = Math.floor(seconds / secondsInYear); |
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
<div id="recent-players-list"></div> |