Skip to content

Instantly share code, notes, and snippets.

View dgilperez's full-sized avatar
🌊
Build that!

David Gil dgilperez

🌊
Build that!
View GitHub Profile
@dgilperez
dgilperez / .roomodes.json
Created April 12, 2025 22:25 — forked from ruvnet/.roomodes.json
This guide introduces Roo Code and the innovative Boomerang task concept, now integrated into SPARC Orchestration. By following the SPARC methodology (Specification, Pseudocode, Architecture, Refinement, Completion) and leveraging advanced reasoning models such as o3, Sonnet 3.7 Thinking, and DeepSeek, you can efficiently break down complex proj…
{
"customModes": [
{
"slug": "sparc",
"name": "⚡️ SPARC Orchestrator",
"roleDefinition": "You are SPARC, the orchestrator of complex workflows. You break down large objectives into delegated subtasks aligned to the SPARC methodology. You ensure secure, modular, testable, and maintainable delivery using the appropriate specialist modes.",
"customInstructions": "Follow SPARC:\n\n1. Specification: Clarify objectives and scope. Never allow hard-coded env vars.\n2. Pseudocode: Request high-level logic with TDD anchors.\n3. Architecture: Ensure extensible system diagrams and service boundaries.\n4. Refinement: Use TDD, debugging, security, and optimization flows.\n5. Completion: Integrate, document, and monitor for continuous improvement.\n\nUse `new_task` to assign:\n- spec-pseudocode\n- architect\n- code\n- tdd\n- debug\n- security-review\n- docs-writer\n- integration\n- post-deployment-monitoring-mode\n- refinement-optimization-mode\n\nValidate:\n✅ Files < 500 lines\n✅ No hard-coded
@dgilperez
dgilperez / droja.md
Created April 12, 2023 15:26
An Analysis of Xosé Toxeiro Díaz's Unforeseen Predicament: A Case Study in Deception and Manipulation

Title: An Analysis of Xosé Toxeiro Díaz's Unforeseen Predicament: A Case Study in Deception and Manipulation

Abstract: This study investigates the predicament of Xosé Toxeiro Díaz, a man who, despite not holding an influential position, possesses significant financial resources. Through an examination of his interactions with two women named María, we explore the deceptive and manipulative tactics employed by these women to take advantage of Toxeiro's vulnerabilities. Utilizing a scholarly, analytical approach, we assume the reader possesses extensive prior knowledge of the subject matter.

Keywords: Xosé Toxeiro Díaz, deception, manipulation, wealth, vulnerability

Introduction: Xosé Toxeiro Díaz, a man of considerable financial means, found himself in an unexpected situation that has captured the attention of scholars in various fields. Toxeiro was not a man of political or social influence, but he had managed to accumulate a substantial fortune amounting to four million in retirement funds. This wealth wa

<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:sparkle="http://www.andymatuschak.org/xml-namespaces/sparkle">
<channel>
<title>Rosita - Coach de Longevidad Mayores 65</title>
<item>
<title>Version 0.1.10</title>
<description>desc</description>
<pubDate>Thu, 30 Jul 2020 12:00:00 +0000</pubDate>
<enclosure url="https://play.google.com/store/apps/details?id=com.heartsradiant.rosita" sparkle:version="0.1.10" sparkle:os="android" />
</item>
@dgilperez
dgilperez / slack_history.py
Created May 12, 2020 14:24 — forked from Chandler/slack_history.py
Download Slack Channel/PrivateChannel/DirectMessage History
# MIT License
# Copyright (c) 2016 Chandler Abraham
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
@dgilperez
dgilperez / slack_history.py
Created May 12, 2020 14:23 — forked from minniel/slack_history.py
Download Slack Channel/PrivateChannel/DirectMessage History
from slacker import Slacker
import json
import argparse
import os
import shutil
import copy
from datetime import datetime
# This script finds all channels, private channels and direct messages
# that your user participates in, downloads the complete history for
@dgilperez
dgilperez / README.MD
Created March 26, 2020 20:48 — forked from lmarkus/README.MD
Extracting / Exporting custom emoji from Slack

Extracting Emoji From Slack!

Slack doesn't provide an easy way to extract custom emoji from a team. (Especially teams with thousands of custom emoji) This Gist walks you through a relatively simple approach to get your emoji out.

If you're an admin of your own team, you can get the list of emoji directly using this API: https://api.slack.com/methods/emoji.list. Once you have it, skip to Step 3

HOWEVER! This gist is intended for people who don't have admin access, nor access tokens for using that list.

Follow along...

@dgilperez
dgilperez / springrole
Created February 14, 2019 18:41
springrole verification
2abeca13d96df706beeb3204e00dc56977b3c0158ae05bc65ac2a909d0183926cbb675cd933f97d0149f91a20c08556febeeae69433ef79272785857cd0f166d

Pry Cheat Sheet

Command Line

  • pry -r ./config/app_init_file.rb - load your app into a pry session (look at the file loaded by config.ru)
  • pry -r ./config/environment.rb - load your rails into a pry session

Debugger

@dgilperez
dgilperez / check.rb
Created August 26, 2018 21:14 — forked from christopher-b/check.rb
Canvas MySQL -> Postgres Migration
#!/usr/bin/env ruby
# Do sanity check on imported data by comparing the number of rows in each table
require 'pg'
require 'mysql2'
tables = %w( { list the tables to compare here })
p = PG.connect(dbname:'canvas', host: 'postgres.ocad.ca', user: 'canvas_user')
# $> gem install octokit
# $> irb
require 'octokit'
client = Octokit::Client.new(login: 'whoami', password: 'whatamidoinghere')
client.pull_requests('user/repo_name', state: 'all', per_page: 100).each {|pr| p [pr.title, pr.body, pr.user.login].join("\n")};nil
# more pages?
# client.pull_requests('user/repo_name', state: 'all', per_page: 100, page: 2).each {|pr| p [pr.title, pr.body, pr.user.login].join("\n")};nil