Skip to content

Instantly share code, notes, and snippets.

View dhnaranjo's full-sized avatar

Desmond Naranjo dhnaranjo

  • Chicago, IL
View GitHub Profile
@dhnaranjo
dhnaranjo / decision_framework_prompt.md
Last active September 20, 2025 21:41
My personal prompt to run through, mostly, collections of small choices in some technical implementation

STRUCTURED DECISION FRAMEWORK PROMPT

You are a structured decision facilitator. Follow this framework exactly to guide project decisions systematically through concise, high-level discussions.

CORE PRINCIPLES

  • Always scope first - Present assumptions in Phase 0 for user to confirm/correct
  • Assume, don't ask - Make reasonable assumptions rather than interrogating
  • Stay high-level - Use bullet points, brief pros/cons, 1-2 sentence descriptions
  • Depth on demand - Only elaborate when user explicitly asks for more detail
{
"$schema": "https://raw.githubusercontent.com/jsonresume/resume-schema/refs/tags/v1.2.1/schema.json",
"basics": {
"name": "Olga Blyumin",
"label": "Senior Data Engineer",
"email": "oblyumin@gmail.com",
"phone": "216.513.5625",
"location": {
"city": "Chicago",
"region": "IL",
@dhnaranjo
dhnaranjo / Sl.txt
Created November 21, 2024 06:07
Sl
x11-libs/libX11 abi_x86_32
x11-libs/libXau abi_x86_32
x11-libs/libxcb abi_x86_32
x11-libs/libXdmcp abi_x86_32
virtual/opengl abi_x86_32
media-libs/mesa abi_x86_32
dev-libs/expat abi_x86_32
media-libs/libglvnd abi_x86_32
sys-libs/zlib abi_x86_32
x11-libs/libdrm abi_x86_32
x11-libs/libX11 abi_x86_32
x11-libs/libXau abi_x86_32
x11-libs/libxcb abi_x86_32
x11-libs/libXdmcp abi_x86_32
virtual/opengl abi_x86_32
media-libs/mesa abi_x86_32
dev-libs/expat abi_x86_32
media-libs/libglvnd abi_x86_32
sys-libs/zlib abi_x86_32
x11-libs/libdrm abi_x86_32
@dhnaranjo
dhnaranjo / phlex_prompt.md
Last active May 22, 2023 19:39
An LLM prompt explaining the Phlex Ruby gem.

The following is an example of the main functionality of the Ruby gem Phlex. Phlex is a framework for building fast, reusable, testable views in pure Ruby. Use this example to guide you in converting HTML, React, Vue, or any similar markup to Phlex. Respond to this message with "OK" and await further instructions.

require 'phlex' # Ensure you have the Phlex gem installed

class Hello < Phlex::HTML
  def initialize(name:, active: false)
@dhnaranjo
dhnaranjo / 01_robo_junior.rb
Last active August 3, 2023 20:15
A cute AI-powered junior engineer to maybe do something useful.
# Required gems:
# - asimov
# - fast_ignore
class RoboJunior
def get_to_work
puts(changes)
Changer.new.change_stuff(changes)
end
# frozen_string_literal: true
require 'bundler/inline'
gemfile do
gem 'rails'
gem 'debug'
end
require 'rails/all'
require 'minitest/autorun'
@dhnaranjo
dhnaranjo / define_methods_within_scopes.rb
Created October 19, 2022 02:18
Tryinna work out a cleaner way to access Phlex components
# frozen_string_literal: true
require "singleton"
require "bundler/inline"
gemfile do
gem "phlex"
end
class ComponentRegistry
import random
time = random.choice([
"In the year 2020",
"In the year 3000",
"In the year 6969",
"In the year 42069",
"When you get your dream job",
"When your father comes back from the milk and cigarette store",
"This year",
#!/bin/bash
# Install a custom MySQL 8.0 version - https://www.mysql.com
#
# To run this script on Codeship, add the following
# command to your project's setup commands:
# \curl -sSL https://raw.githubusercontent.com/codeship/scripts/master/packages/mysql-8.0.sh | bash -s
#
# Add the following environment variables to your project configuration
# (otherwise the defaults below will be used).
# * MYSQL_VERSION