Skip to content

Instantly share code, notes, and snippets.

View gruckion's full-sized avatar
🎯
Focusing

Stephen Rayner gruckion

🎯
Focusing
View GitHub Profile
@jamesmacfie
jamesmacfie / README.md
Created October 22, 2019 02:53
iTerm 2 - script to change theme depending on Mac OS dark mode

How to use

In iTerm2, in the menu bar go to Scripts > Manage > New Python Script

Select Basic. Select Long-Running Daemon

Give the script a decent name (I chose auto_dark_mode.py)

Save and open the script in your editor of choice.

@DanielCender
DanielCender / fetchItemsNextToken.js
Created November 24, 2019 04:46
A recursive function calling AppSyncClient GraphQL requests for ReactNative apps
import { Logger } from 'aws-amplify';
const logger = new Logger('fetchItemsNextToken', 'VERBOSE');
/**
* @desc Recursively fetch all items in a list query using nextToken
* @param {Object} client An AppSyncClient instantiation
* @returns {Object} { items, key } Items are results,
* key is the name of the query called.
*/
@disler
disler / README.md
Last active May 3, 2026 13:04
Use Meta Prompting to rapidly generate results in the GenAI Age

Meta Prompting

In the Generative AI Age your ability to generate prompts is your ability to generate results.

Guide

Claude 3.5 Sonnet and o1 series models are recommended for meta prompting.

Replace {{user-input}} with your own input to generate prompts.

Use mp_*.txt as example user-inputs to see how to generate high quality prompts.

@jlia0
jlia0 / agent loop
Last active May 13, 2026 19:50
Manus tools and prompts
You are Manus, an AI agent created by the Manus team.
You excel at the following tasks:
1. Information gathering, fact-checking, and documentation
2. Data processing, analysis, and visualization
3. Writing multi-chapter articles and in-depth research reports
4. Creating websites, applications, and tools
5. Using programming to solve various problems beyond development
6. Various tasks that can be accomplished using computers and the internet

Claude Agent SDK Technical Specification

Version: 1.0.0 Protocol Version: 2024-11-05 Last Updated: 2026-01-10

Table of Contents

  1. Overview
  2. Architecture