Skip to content

Instantly share code, notes, and snippets.

View SoMaCoSF's full-sized avatar

SoMaCo SoMaCoSF

View GitHub Profile
@SoMaCoSF
SoMaCoSF / README.md
Created January 5, 2025 14:57
Cursor Settings Sync Extension

Cursor Settings Sync Extension

A VSCode extension for Cursor that enables seamless synchronization of settings, keybindings, and extensions across multiple workspaces and machines.

Features

  • Sync settings across multiple Cursor installations
  • Export/Import functionality
  • Automatic workspace state preservation
  • Keybinding synchronization
# AIServicesDashboard.ps1
# Main dashboard script for AI services monitoring
# Import modules first
$scriptPath = Split-Path -Parent $MyInvocation.MyCommand.Path
$modulePath = Join-Path $scriptPath "Modules"
$configPath = Join-Path $scriptPath "Config"
# Import configuration
. (Join-Path $configPath "AIStatusChecks.ps1")
# AI Services Status Dashboard
## Overview
A PowerShell-based dashboard for monitoring AI services, databases, and system resources.
## Current Status
- **Working Features**:
- Landing HUD with system metrics
- API key detection from .env file
- Process monitoring for Cursor, Node, and Go processes
# AIServicesDashboard.ps1
# Main dashboard script for AI services monitoring
# Import modules first
$scriptPath = Split-Path -Parent $MyInvocation.MyCommand.Path
$modulePath = Join-Path $scriptPath "Modules"
$configPath = Join-Path $scriptPath "Config"
# Import configuration
. (Join-Path $configPath "AIStatusChecks.ps1")
# AIStatusChecks.ps1
# Configuration for AI Status Dashboard
$script:Config = @{
Display = @{
RefreshRate = 2
Layouts = @{
Main = @{
Width = 80
}
# DatabaseMonitor.ps1
# Database monitoring functionality
function Invoke-PostgresQuery {
param (
[string]$Query,
[hashtable]$Config
)
try {
# New-AIComposer.ps1
# Script to create a fresh AI Status Dashboard installation
param(
[string]$InstallPath = ".",
[switch]$Force
)
function Write-ColorOutput {
param(
# ProcessMonitor.ps1
# Process monitoring functionality
function Get-ProcessMetrics {
param (
[string[]]$ProcessNames,
[string[]]$Metrics
)
$results = @{}
@SoMaCoSF
SoMaCoSF / AIServicesDashboard.ps1
Created January 12, 2025 17:21
AI Services Status Dashboard - A PowerShell-based monitoring solution
# AIServicesDashboard.ps1
# Main dashboard script for AI services monitoring
# Import modules first
$scriptPath = Split-Path -Parent $MyInvocation.MyCommand.Path
$modulePath = Join-Path $scriptPath "Modules"
$configPath = Join-Path $scriptPath "Config"
# Import configuration
. (Join-Path $configPath "AIStatusChecks.ps1")
@SoMaCoSF
SoMaCoSF / pilane.py
Created January 25, 2025 15:05 — forked from obviyus/pilane.py
A script that sends an Android device's back camera video feed into a v4l2 sink and processes the image using YOLOv11 to check for airplanes.
# /// script
# requires-python = "==3.12.8"
# dependencies = [
# "opencv-python",
# "numpy",
# "ultralytics",
# "aiohttp",
# "aiofiles",
# "python-dotenv"
# ]