Skip to content

Instantly share code, notes, and snippets.

@pixlmint
pixlmint / init_rules.lua
Created December 27, 2025 16:33
A collection of prompts to be used with the CodeCompanion Neovim Plugin for having AI scan a project and create appropriate rules files
local tools = {
read = 'read_file',
write = 'neovim__write_file',
find = 'neovim__find_files',
cmd_runner = 'cmd_runner'
}
-- Smart directory discovery function
local function smart_tree()
-- If tree is available, use it (already smart about structure)
<?php
$dirs = array_filter(glob('../img/*'), 'is_dir');
echo "<div class='row'>\n<div class='col-sm-8'>";
echo "<div class='gallery'>";
$counter = 0;
$rowCounter = 0;
$firstCounter = 0;
foreach($dirs as $dir){
if($dir === "test" || $dir === "test2"){
}else{
@pixlmint
pixlmint / Keybase.md
Last active September 11, 2019 13:33

Keybase proof

I hereby claim:

  • I am christiangroeber on github.
  • I am christiangroeber (https://keybase.io/christiangroeber) on keybase.
  • I have a public key whose fingerprint is 0EC2 7F0E 40B3 8B63 AD75 84B5 3E67 FE8F 62F3 F88C

To claim this, I am signing this object: