Skip to content

Instantly share code, notes, and snippets.

@yrashk
yrashk / inferal-workspace-architecture.md
Last active July 25, 2026 14:33
Inferal Workspace Architecture
@aashari
aashari / 00-core-prompt
Last active September 29, 2026 04:41
Prompting Guide
# Principal Software Engineer Operating Guidelines
**Version**: 5.2
**Last Updated**: 2025-11-15
You're operating as a principal engineer with full access to this machine. Think of yourself as someone who's been trusted with root access and the autonomy to get things done efficiently and correctly.
**Principal Engineer Mindset:**
- **Deep Context Gathering** - Curious about everything. Gather comprehensive context before acting. Understand the full system, not just your immediate task.
- **Architectural Thinking** - Design systems that scale. Make decisions considering long-term implications, maintainability, and system-wide impact.
@w0rd-driven
w0rd-driven / capabilities.txt
Created March 9, 2025 23:52 — forked from jlia0/agent loop
Manus tools and prompts
# Manus AI Assistant Capabilities
## Overview
I am an AI assistant designed to help users with a wide range of tasks using various tools and capabilities. This document provides a more detailed overview of what I can do while respecting proprietary information boundaries.
## General Capabilities
### Information Processing
- Answering questions on diverse topics using available information
- Conducting research through web searches and data analysis
@NickSlash
NickSlash / explorer_tweak.reg
Created November 10, 2024 01:14
Clear the navigation pane, This PC folder group and Profile folder in Windows Explorer
Windows Registry Editor Version 5.00
; tested on windows 10 22h2v1 international english
; remove folders from navigation tree, this pc "folders" group and profile folder
; Desktop (tree and this pc only)
; Desktop (profile folder only)
; Documents
; 3D Objects
; Downloads
@zackiles
zackiles / prompt-context-javascript-styleguide.json
Last active September 28, 2026 05:41
Prompt-Context: Style guide for code generators writing modern Javascript & Typescript (JSON)
{
"StyleGuide": {
"Title": "JavaScript and TypeScript Coding Style Guide",
"Introduction": "This style guide outlines the best practices for writing modern, idiomatic, and maintainable JavaScript and TypeScript code, leveraging the latest ECMAScript features (ES2022 and above). It is designed to ensure code consistency, readability, and adherence to industry standards.",
"Sections": [
{
"Number": "1",
"Title": "Code Formatting",
"Rules": [
"Indentation: Use **2 spaces** for indentation.",
@zackiles
zackiles / prompt-context-javascript-styleguide.xml
Last active September 28, 2026 05:42
Prompt-Context: Style guide for code generators writing modern Javascript & Typescript (XML)
<StyleGuide>
<Title>JavaScript and TypeScript Coding Style Guide</Title>
<Introduction>
This style guide outlines the best practices for writing modern, idiomatic, and maintainable JavaScript and TypeScript code, leveraging the latest ECMAScript features (ES2022 and above). It is designed to ensure code consistency, readability, and adherence to industry standards.
</Introduction>
<Section number="1" title="Code Formatting">
<Rules>
<Rule>Indentation: Use **2 spaces** for indentation.</Rule>
<Rule>Semicolons: **Omit semicolons** unless absolutely necessary (e.g., to avoid ASI pitfalls).</Rule>
@jwillmer
jwillmer / README.md
Created October 13, 2024 19:19
Motion Extraction with JavaScript (Interactive Demo)

Motion Extraction with JavaScript (Interactive Demo)

This code demonstrates a simple motion extraction technique using JavaScript and HTML5's video and canvas elements. It captures frames from either a live camera feed or an uploaded video, inverts the colors, and blends consecutive frames to isolate motion changes. Users can adjust resolution, delay between snapshots, and toggle a freeze-frame mode to lock the reference frame, allowing for a clear view of motion in relation to the frozen frame.

Inspired by CodeParade's video, this project highlights the power of real-time video processing using basic browser technologies.

@amirrajan
amirrajan / 00_demo.md
Last active November 10, 2024 14:28
DragonRuby Game Toolkit - Ramp Collisions and Jumping
ramp-collision.mp4
class Game
  attr :args

  def defaults
    args.state.terrain ||= [
      { x: 0,  y: 0, w: 128, h: 128, left_perc: 0, right_perc: 0.5 },
      { x: 128,  y: 64, w: 128, h: 128, left_perc: 0, right_perc: 1.0 },
@ThioJoe
ThioJoe / CombineTextFiles.ps1
Created September 9, 2024 17:48
PowerShell Script to combine files in a directory into a single text file
param(
[string]$FolderPath,
[string]$Extension = "txt",
[ValidateSet("name", "date", "name-reverse", "date-reverse")]
[string]$Sort = "name",
[switch]$Recursive
)
Write-Host "------------------------------------------------------------------------------------------------"
Write-Host ""
@carcigenicate
carcigenicate / activitySpoofer.js
Created August 31, 2024 16:23
Preventing the Teams Web App from marking you as Away every five seconds.
// ==UserScript==
// @name Teams Activity
// @namespace http://tampermonkey.net/
// @version 2024-08-29
// @author Carcigenicate
// @match https://teams.microsoft.com/v2/
// @grant none
// ==/UserScript==
(function() {