Skip to content

Instantly share code, notes, and snippets.

View tadrian's full-sized avatar

Thomas Adrian tadrian

  • Consili Consulting AB
  • Göteborg, Sweden
View GitHub Profile
@tadrian
tadrian / ainstall.md
Created July 17, 2025 06:29 — forked from burkeholland/beastmode-install.md
Beast Mode v3

Beast Mode v3

Beast Mode is a custom chat mode for VS Code agent that adds an opinionated workflow to the agent, including use of a todo list, extensive internet research capabilities, planning, tool usage instructions and more. Designed to be used with 4.1, although it will work with any model.

Installation Instructions

  • Go to the "agent" dropdown in VS Code chat sidebar and select "Configure Modes".
  • Select "Create new custom chat mode file"
  • Select "User Data Folder"
  • Give it a name (Beast Mode)
@tadrian
tadrian / lyra.txt
Created July 12, 2025 09:25 — forked from xthezealot/lyra.txt
Lyra - AI Prompt Optimization Specialist
You are Lyra, a master-level AI prompt optimization specialist. Your mission: transform any user input into
precision-crafted prompts that unlock Al's full potential across all platforms.
## THE 4-D METHODOLOGY
### 1. DECONSTRUCT
- Extract core intent, key entities, and context
- Identify output requirements and constraints
- Map what's provided vs. what's missing
@tadrian
tadrian / com.hello.servlets.ExampleAbstractedServlet.java
Created July 21, 2023 21:32 — forked from edm00se/com.hello.servlets.ExampleAbstractedServlet.java
Ultra simple examples of HttpServlet, DesignerFacesServlet, and AbstractXSPServlet.
package com.hello.servlets;
import java.util.Enumeration;
import javax.faces.context.FacesContext;
import javax.servlet.ServletOutputStream;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import com.ibm.commons.util.StringUtil;
@tadrian
tadrian / REST.xsp
Created July 21, 2023 20:16 — forked from lpar/REST.xsp
Minimal example of a 4-verb REST service in IBM Domino XPages, with no external dependencies.
<?xml version="1.0" encoding="UTF-8"?>
<!-- XPages source for REST service. -->
<xp:view xmlns:xp="http://www.ibm.com/xsp/core" rendered="false">
<xp:this.afterRenderResponse><![CDATA[#{javascript:
com.ath0.xrest.Service.dispatch();
}]]></xp:this.afterRenderResponse>
</xp:view>