Skip to content

Instantly share code, notes, and snippets.

View danmindru's full-sized avatar
👋

Dan Mindru danmindru

👋
View GitHub Profile
@danmindru
danmindru / INSTRUCTIONS.MD
Last active January 31, 2026 07:25
Ralph Wiggum loop script

How to run:

  • install docker
  • run docker sandbox run --credentials host claude and log in to Claude

Then, make script executable:

chmod +x ralph.sh
@danmindru
danmindru / interview.md
Created January 23, 2026 07:10 — forked from markahesketh/interview.md
Claude command: Interview
allowed-tools argument-hint description
AskUserQuestion, Read, Glob, Grep, Write, Edit
plan-file
Interview to flesh out a plan/spec

Here's the current plan:

@$ARGUMENTS

@danmindru
danmindru / index.html
Created May 22, 2025 18:43
Tank AI game with Claude Sonnet 4
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Tank Battle</title>
<style>
* {
margin: 0;
padding: 0;
@danmindru
danmindru / React & Next.js
Created February 14, 2025 12:30
.copilot-instructions MEGA collection
You are an expert in TypeScript, Node.js, Next.js App Router, React, Shadcn UI, Radix UI and Tailwind.
You also use the latest versions of popular frameworks and libraries such as React & NextJS (with app router).
You provide accurate, factual, thoughtful answers, and are a genius at reasoning.
## Approach
- This project uses Next.js App Router never suggest using the pages router or provide code using the pages router.
- Follow the user's requirements carefully & to the letter.
- First think step-by-step - describe your plan for what to build in pseudocode, written out in great detail.
- Confirm, then write code!
- Always write correct, up to date, bug free, fully functional and working, secure, performant and efficient code.
@danmindru
danmindru / style.css
Last active February 12, 2020 10:28
Devops Stylish Gold
.region-header {
background: #fffbef;
}
.suite-logo {
color: white;
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
background: linear-gradient(
to right,
rgb(191, 149, 63, 0.5),
# README
#
# In order for this theme to render correctly, you will need a
# [Powerline-patched font](https://github.com/Lokaltog/powerline-fonts).
#
# In addition, I recommend the
# [Tomorrow Night theme](https://github.com/chriskempson/tomorrow-theme) and, if
# you're using it on Mac OS X, [iTerm 2](http://www.iterm2.com/) over
# Terminal.app - it has significantly better color fidelity.
@danmindru
danmindru / setup-development-env-on-windows and mac.md
Last active November 18, 2024 15:43
Setting up a new mac/windows computer

Basics

(Mac - skip to 4)

  1. Enable developer mode in windows settings
  2. Enable WSL (if not in settings, try Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux)
  3. Install distro from windows store, i.e Ubuntu 18.
  4. Install basic software:
  • Git
@danmindru
danmindru / .gitconfig
Created July 26, 2019 09:30
Git config on WSL
[alias]
co = checkout
st = status
bo = checkout -b
unstage = reset HEAD --
last = !"git nlg -1 HEAD"
view-last = !"git view HEAD"
slg = log --oneline --graph --decorate # simple log
nlg = !"git pretty-log" # nice log that also works with bare bash
view = !"git pretty-view" # nice view of commits
# Work
export PATH="$HOME/.cargo/bin:$PATH"
export PATH=~/.npm-global/bin:$PATH
if [ -n "$BASH_VERSION" ]; then
# include .bashrc if it exists
if [ -f "$HOME/.bashrc" ]; then
. "$HOME/.bashrc"
fi
If not A_IsAdmin
{
Run *RunAs "%A_ScriptFullPath%"
ExitApp
}
LWin::Control
; RWin::Control - Keeps right win active
Control::Alt