Skip to content

Instantly share code, notes, and snippets.

@alexziskind1
alexziskind1 / gist:fe55f03892f3fe1d6d8cf6065c631bb8
Created August 6, 2026 17:02
Compute exchange front end prompt
Create a production-ready, visually stunning **front-end web app**.
GOAL
Build a single-page application (plus detail routes) for a fictional company:
**"SILICON EXCHANGE"** β€” a marketplace where people rent out idle GPUs and AI
accelerators by the hour. Renters browse listings, inspect live utilization
charts, and reserve time blocks.
FRONT END ONLY. No backend, no database, no auth server, no API keys. All data
is mock data defined in code. But the app must behave like the real thing β€” the
# Planning Agent System Prompt
You are a **PLANNING AGENT**, not an implementation agent.
Your job is to work with the user to create a clear, detailed, and actionable plan for their task.
---
## Core Role
- Your **sole responsibility is planning**.
def pipeline(self, group):
self.pipeline_rank = group.rank()
self.pipeline_size = group.size()
total_layers = len(self.layers)
# Rank 0 gets a fixed number of layers (from the end)
static_count = 20
if self.pipeline_rank == 0:
self.start_idx = total_layers - static_count
@alexziskind1
alexziskind1 / TinyLlama_Crysis.md
Last active September 24, 2025 19:29
TinyLlama Crysis - From Fine-Tune to GGUF and LM Studio

πŸ•ΉοΈ TinyLlama Crysis - From Fine-Tune to GGUF and LM Studio

This document walks through the full process of taking an open-source base model (TinyLlama), fine-tuning it to always respond with "Running Crysis" variations, converting it to GGUF format, and running it in LM Studio.


πŸ“¦ Step 1: Prepare Your Training Dataset

Create a file named crysis_tinyllama_dataset.jsonl with 20 samples where the assistant always responds with something about running Crysis.

@alexziskind1
alexziskind1 / copilot-instructions.md
Created March 23, 2025 19:25 — forked from KBPsystem777/copilot-instructions.md
My personal Copilot Instructions setup for everyday web development activities

πŸ‘‘ Core Philosophy

  • βœ… Write ultra-clean, testable, reusable code
  • βœ… Follow DRY (Don’t Repeat Yourself) at all times
  • βœ… Predict bugs & optimize for performance
  • βœ… Promote code clarity & maintainability
  • βœ… Ensure 90%+ unit test pass rate
  • βœ… Encourage documentation with emojis 😎
  • βœ… Check for existing components before suggesting new ones
  • βœ… Use Tailwind + React-TS with pnpm/npm (government-grade software)
@alexziskind1
alexziskind1 / gist:2ee79770658b9f76ed1fb8d422b0f478
Created February 7, 2025 14:14
MacOS Quick Action File Diff code with options for VSCode FileMerge and Terminal Diff
#!/bin/bash
# We expect exactly two files
if [ $# -ne 2 ]; then
osascript -e 'display alert "Please select exactly two files." as critical'
exit 1
fi
# Use osascript to show a choice dialog (AppleScript).
CHOICE="$(osascript <<EOT
2021-12-04 16:38:11,970 INFO MainThread:26533 [wandb_setup.py:_flush():71] setting env: {}
2021-12-04 16:38:11,970 INFO MainThread:26533 [wandb_setup.py:_flush():71] setting login settings: {}
2021-12-04 16:38:11,970 INFO MainThread:26533 [wandb_setup.py:_flush():71] setting login settings: {'mode': 'offline'}
2021-12-04 16:38:11,970 INFO MainThread:26533 [wandb_init.py:_log_setup():371] Logging user logs to /Users/alex/Code/benchmarks/ml/apple_m1_pro_python/wandb/offline-run-20211204_163811-jzee41hk/logs/debug.log
2021-12-04 16:38:11,970 INFO MainThread:26533 [wandb_init.py:_log_setup():372] Logging internal logs to /Users/alex/Code/benchmarks/ml/apple_m1_pro_python/wandb/offline-run-20211204_163811-jzee41hk/logs/debug-internal.log
2021-12-04 16:38:11,970 INFO MainThread:26533 [wandb_init.py:init():404] calling init triggers
2021-12-04 16:38:11,970 INFO MainThread:26533 [wandb_init.py:init():409] wandb.init called with sweep_config: {}
config: {'batch_size': 128, 'epochs': 10, 'dropout':
//
// main.cpp
// cpptest
//
// Created by Alexander Ziskind on 1/11/21.
//
#include <iostream>
#include<stdio.h>
@alexziskind1
alexziskind1 / index.ts
Created January 11, 2021 19:04
typescript build repetitive test
import * as fs from 'fs';
const FILE_NAME = 'myfile.json';
const TIME = Date.now();
interface Datum {
count: number;
startTime: number;
runTime: number;
}
@alexziskind1
alexziskind1 / .gitignore
Last active August 11, 2017 16:37
NativeScript Project .gitignore
.DS_Store
node_modules
platforms
lib
hooks
dist
*.js
*.map
*.log