Skip to content

Instantly share code, notes, and snippets.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.inclouds.space</string>
<key>ProgramArguments</key>
<array>
ollama run codellama:7b-instruct \
'You are an expert programmer that writes simple, concise code and explanations. Write a dotnet core 8.x minimal API with JWT Authentication. The API should provide CRUD access to a message store used with database.
https://google.github.io/eng-practices/review/reviewer/standard.html
@atrakic
atrakic / git_delete_remote_branch.sh
Created December 26, 2024 21:48
git devops tools
git push origin --delete $1
@atrakic
atrakic / jenkins-docker-compose.yml
Created December 10, 2024 22:09 — forked from pythoninthegrass/jenkins-docker-compose.yml
Run jenkins master and slave using docker compose
# MASTER PRE-REQS
# Install docker, docker-compose
# mkdir -p ~/{jenkins,jnlp_slave}
# master
# docker run -d \
# -u root \
# --name=jenkins \
# -e TZ=America/Denver \
@atrakic
atrakic / tdd.sh
Created October 23, 2024 04:19 — forked from codeinthehole/tdd.sh
A Bash script for running an iterative TDD loop using an LLM to make a set of tests pass
#!/usr/bin/env bash
#
# A Bash script to run a TDD loop for building a Python module to pass tests.
set -euo pipefail
# How many times to loop.
ATTEMPTS=4
# The system prompt to use when creating the initial version.
@atrakic
atrakic / index.html
Created October 20, 2024 10:57 — forked from egeozcan/index.html
image viewer
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Fullscreen Image Viewer</title>
<style>
body {
font-family: Arial, sans-serif;
}