Skip to content

Instantly share code, notes, and snippets.

@ilteris
ilteris / # Gemini CLI Setup for Zsh
Last active January 2, 2026 01:52
This setup provides a polished, one-shot experience for the Gemini CLI, including a loading spinner and log suppression.
# Gemini CLI Setup for Zsh
This setup provides a polished, one-shot experience for the Gemini CLI, including a loading spinner and log suppression.
## Installation
Add the following to your `~/.zshrc`:
```bash
# ==================================================================
@ilteris
ilteris / index.html
Last active November 28, 2025 20:00
Nano Banana // Architect v2
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Nano Banana // Architect v2</title>
<style>
:root {
--bg-color: #0d1117;
--panel-bg: #161b22;
@ilteris
ilteris / gemini_project_prompts.md
Created November 26, 2025 23:57
How to set up automatic project-specific system prompts for Gemini CLI

Automatic Project-Specific System Prompts for Gemini CLI

This guide explains how to configure your shell to automatically use a project-specific system prompt for the Gemini CLI (gemini).

This "set it and forget it" approach ensures your custom project instructions are applied automatically without needing to remember special aliases.

How It Works

The solution uses a "smart" shell function that overrides the default gemini command. When you run gemini, this function searches up the directory tree for a conventional prompt file (.gemini/system.md).

@ilteris
ilteris / index.html
Created November 23, 2020 03:19
Rubber Mesh Swipe Transition
<div id='root'></div>
<div id='message'>PULL & RELEASE IMAGE UP OR DOWN</div>
@ilteris
ilteris / SketchSystems.spec
Created October 16, 2018 02:19
Meet Id Request?
Meet Id Request?
not blank? -> Loading
Loading
server accepted -> Success
server rejected -> Failure
Success
load -> Display URL
Display URL
@ilteris
ilteris / SketchSystems.spec
Created October 15, 2018 17:07
Meet Id Request?*
Meet Id Request?*
not blank? -> Loading
Loading
server accepted -> Success
server rejected -> Failure
Success
load -> Display URL
Display URL
@ilteris
ilteris / cloudSettings
Last active September 18, 2018 01:56
Visual Studio Code Settings Sync Gist
{"lastUpload":"2018-09-18T01:56:28.554Z","extensionVersion":"v3.1.2"}
var reduceView: UIView = UIView()
reduceView.translatesAutoresizingMaskIntoConstraints = false
addSubview(reduceView)
let label = UILabel()
//style label
label.translatesAutoresizingMaskIntoConstraints = false
addSubview(label)
var constraints = [NSLayoutConstraint]()
import Foundation
protocol Term {
var value: String { get }
}
extension Term {}
struct Statement {
var terms: [Term] = []
mutating func addItem(term: Term) {
terms.append(term)
import UIKit
class StatementView: UIControl, Drawable {
var viewLocation:ViewLocation
let termView:TermView
private func setupView() {
termView = TermView() //gotta pass the /viewLocation enum value to TermView now
}
init(frame: CGRect, item: ViewLocation) {