Skip to content

Instantly share code, notes, and snippets.

View morisono's full-sized avatar

morisono

View GitHub Profile
@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

Model Context Protocol (MCP) Servers Quick Reference

Filesystem Server

Provides filesystem operations within allowed directories.

Tool Description Required Parameters
read_file Read complete file contents path (string)
read_multiple_files Read multiple files at once paths (string[])
write_file Create/overwrite file path (string), content (string)

Setting Up MCP Servers on Windows

A step-by-step guide to setting up Model Context Protocol (MCP) servers for Claude Desktop on Windows.

Prerequisites

  1. Install Node.js (v18.x or later)
    • Download from: https://nodejs.org/
    • Verify installation by opening Command Prompt (CMD) and running:
      node --version
      npm --version
@morisono
morisono / Duckduckgo cheatsheets.md
Created March 21, 2025 15:51 — forked from arlbibek/Duckduckgo cheatsheets.md
Duckduckgo cheatsheets

Duckduckgo cheatsheets

Tips and tricks for duckduckgo - a privacy friendly search engine.

!bang
<name> cheatsheet   # Get cheatsheet | eg. duckduckgo cheatsheet
@morisono
morisono / purge.py
Created March 15, 2025 18:58 — forked from SubhrajitPrusty/purge.py
Simple discord bot to kick everyone and delete all channels
import discord
from discord.ext.commands import has_permissions, MissingPermissions
from discord.ext import commands
intents = discord.Intents.default()
intents.members = True
bot = commands.Bot(command_prefix='!', intents=intents)
@bot.command()
@has_permissions(kick_members=True)