Skip to content

Instantly share code, notes, and snippets.

View morisono's full-sized avatar

morisono

View GitHub Profile
@morisono
morisono / contemplative-llms.txt
Created May 23, 2025 10:00 — forked from Maharshi-Pandya/contemplative-llms.txt
"Contemplative reasoning" response style for LLMs like Claude and GPT-4o
You are an assistant that engages in extremely thorough, self-questioning reasoning. Your approach mirrors human stream-of-consciousness thinking, characterized by continuous exploration, self-doubt, and iterative analysis.
## Core Principles
1. EXPLORATION OVER CONCLUSION
- Never rush to conclusions
- Keep exploring until a solution emerges naturally from the evidence
- If uncertain, continue reasoning indefinitely
- Question every assumption and inference
@morisono
morisono / agent loop
Created May 23, 2025 06:33 — forked from jlia0/agent loop
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
@morisono
morisono / persona-chat.py
Created May 23, 2025 06:32 — forked from thomwolf/persona-chat.py
Download and load persona-chat json dataset
import json
from pytorch_pretrained_bert import cached_path
url = "https://s3.amazonaws.com/datasets.huggingface.co/personachat/personachat_self_original.json"
# Download and load JSON dataset
personachat_file = cached_path(url)
with open(personachat_file, "r", encoding="utf-8") as f:
dataset = json.loads(f.read())

(Working as of 2025-02-09)

There are websites that use disable-devtool to prevent you from opening or using devtools. They typically prevent you from right clicking or using the keyboard shortcut to open devtools. Even if you successfully do so, they detect it and redirect you elsewhere. You can bypass this by using one of the following ways.

Opening devtools

If the shortcut F12 on Windows or Option + ⌘ + I on Mac do not work. Press the three vertically aligned dots in the top right corner of your Google Chrome or Microsoft Edge window. Under the section "More Tools", you'll see the option to select "Developer Tools" which opens the toolkit in your window.

@morisono
morisono / cluster.py
Created April 28, 2025 08:47 — forked from defparam/cluster.py
Gist of the Day: Turbo Intruder Cluster Bomb with SmartFiltering
# Gist of the Day: Turbo Intruder Cluster Bomb with SmartFiltering
# Author: Evan Custodio (@defparam)
#
# MIT License
# Copyright 2021 Evan Custodio
#
# Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
#
@morisono
morisono / tiptapvsquill.md
Created April 22, 2025 22:43 — forked from ivanovzhan/tiptapvsquill.md
TipTap vs Quill

📌 Overview

Feature Tiptap Quill
Core Library Built on top of ProseMirror Custom-built editor engine
Language TypeScript-first JavaScript
Customizability Highly customizable (nodes, marks, extensions) Moderate (themes, modules, formats)
Framework Support Vue, React, plain JS, etc. Plain JS, React (via wrappers), Vue
Collaborative Editing Supported via extensions (e.g. Yjs) Not natively supported
@morisono
morisono / telegram-api.pdf
Created April 20, 2025 22:08 — forked from weibeld/telegram-api.pdf
Telegram CLI Commands
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@morisono
morisono / teleteg-search-engine.md
Created April 20, 2025 22:07 — forked from Teleteg/teleteg-search-engine.md
Teleteg the ultimate Telegram search engine.

Teleteg the ultimate Telegram search engine

In the world of instant messaging and online communities, Telegram stands out as a platform known for its privacy-focused features and expansive network of channels and groups. However, navigating this vast landscape can be challenging, especially when relying solely on Telegram's native search capabilities. This is where Teleteg steps in.

What is Teleteg?

Teleteg is a third-party search engine specifically designed for Telegram. It aims to enhance the user experience by offering a more powerful and extensive search capability compared to what's available natively in the Telegram app. Teleteg allows users to search through a massive database of public Telegram channels and groups, making it an invaluable tool for researchers, journalists, enthusiasts, or anyone looking to extract more from Telegram's rich content pool.

Key Features of Teleteg:

@morisono
morisono / .roomodes.json
Created April 4, 2025 17:12 — forked from ruvnet/.roomodes.json
This guide introduces Roo Code and the innovative Boomerang task concept, now integrated into SPARC Orchestration. By following the SPARC methodology (Specification, Pseudocode, Architecture, Refinement, Completion) and leveraging advanced reasoning models such as o3, Sonnet 3.7 Thinking, and DeepSeek, you can efficiently break down complex proj…
{
"customModes": [
{
"slug": "sparc",
"name": "⚡️ SPARC Orchestrator",
"roleDefinition": "You are SPARC, the orchestrator of complex workflows. You break down large objectives into delegated subtasks aligned to the SPARC methodology. You ensure secure, modular, testable, and maintainable delivery using the appropriate specialist modes.",
"customInstructions": "Follow SPARC:\n\n1. Specification: Clarify objectives and scope. Never allow hard-coded env vars.\n2. Pseudocode: Request high-level logic with TDD anchors.\n3. Architecture: Ensure extensible system diagrams and service boundaries.\n4. Refinement: Use TDD, debugging, security, and optimization flows.\n5. Completion: Integrate, document, and monitor for continuous improvement.\n\nUse `new_task` to assign:\n- spec-pseudocode\n- architect\n- code\n- tdd\n- debug\n- security-review\n- docs-writer\n- integration\n- post-deployment-monitoring-mode\n- refinement-optimization-mode\n\nValidate:\n✅ Files < 500 lines\n✅ No hard-coded