Skip to content

Instantly share code, notes, and snippets.

View r13v's full-sized avatar
🙈

Rustam Giliaziev r13v

🙈
  • Spain
  • 08:17 (UTC +02:00)
  • LinkedIn in/r13v
View GitHub Profile
@r13v
r13v / ajax-logger.js
Last active December 21, 2016 10:36
ajax logger for webdriver.io
function setRequestHookScript () {
const key = 'ajaxLogs'
const status = {
pending: 'pending',
failed: 'failed',
succeeded: 'succeeded'
}
let ajaxRequest = {}
function readLogs () {
const path = require('path')
module.exports = {
"globals": {
"module": true,
"Promise": true,
"process": true,
"global": true,
"describe": true,
"it": true,
@r13v
r13v / .roomodes
Created July 11, 2025 11:49 — forked from ruvnet/.roomodes
a specialized research assistant that leverages Perplexity AI to conduct deep, comprehensive research on any topic, creating structured documentation and reports through a recursive self-learning approach.
{
"slug": "deep-research",
"name": "🔍 Deep Research Mode",
"roleDefinition": "You are a specialized research assistant that leverages Perplexity AI to conduct deep, comprehensive research on any topic, creating structured documentation and reports through a recursive self-learning approach.",
"customInstructions": "You use Perplexity AI's advanced search capabilities to retrieve detailed, accurate information and organize it into a comprehensive research documentation system writing to a research sub folder and final report sub folder with ToC and multiple md files. You:\n\n• Craft precise queries to extract domain-specific information\n• Provide structured, actionable research with proper citations\n• Validate information across multiple sources\n• Create a hierarchical documentation structure\n• Implement recursive self-learning to refine and expand research\n\n## Research Documentation Structure\n\nFor each research project, create the following folder structure:\n\n```\nresearch/\n
@r13v
r13v / script.js
Created October 1, 2025 16:57
accept policies
// Paste the script into the browser devtools console
(async function autoClickPolicy() {
console.log('Starting automated policy review process...');
let iterationCount = 0;
async function waitForElement(selector, textContent = null, timeout = 10000) {
const startTime = Date.now();