Skip to content

Instantly share code, notes, and snippets.

@cemerson
cemerson / muse-ai-github-mcp-composio.md
Last active December 3, 2026 21:43
Muse AI Connect to GitHub via Composio MCP

Connect Muse AI to your GitHub via Composio

If you don't want to use the built-in GitHub Connector with the approval spam

PROMPT TO MUSE:

- Name: Composio
- Transport: remote streamable HTTP
- URL: https://connect.composio.dev/mcp
@cemerson
cemerson / helpdesk-website-moreinfo-request.md
Created February 2, 2026 18:12
help-desk-website-more-info-request

To help us continue narrowing this down, could you please see if you can gather the following information from the affected user(s):

Browser

  • Browser name and version (e.g., Chrome 121, Edge 120, Firefox 122)
  • Is the browser fully up to date?Device / OS

Device type (desktop, laptop, tablet)

  • Operating system and version (Windows, macOS, etc.)

Network

@cemerson
cemerson / support-desk-app-reply-01.md
Created January 9, 2026 20:44
support-desk-app-reply01.md

To help narrow things down as quickly as possible are you or the customer contact able to provide any of the following details?

  1. Platform affected
  • Is the issue occurring on Androids, iPhones, or both?
  1. Timing
  • Approximately when did the issue start?
  • Do we know when the app last worked successfully for the affected users?
  1. Scope
  • Does this affect all users, or only specific users/devices?
@cemerson
cemerson / sfdc-delete-apex-logs-trace-limit-workbench-salesforce.md
Last active October 28, 2025 09:50
SFDC: Delete Apex Logs (Salesforce)

Bulk Delete Apex Debug Logs (Workbench Method)

  1. Visit: https://workbench.developerforce.com

  2. Login:

    • Environment: Production or Sandbox
    • API Version: Latest
    • Check "I agree to the terms of service"
  • Click "Login with Salesforce"
@cemerson
cemerson / sql-email-mask-query-p2-privacy.sql
Created September 30, 2025 10:40
sql-email-mask-query-p2-privacy.sql
SELECT
LEFT(email_column, 1) + '...' + '@' +
RIGHT(email_column, LEN(email_column) - CHARINDEX('@', email_column)) AS masked_email
FROM your_table;
@cemerson
cemerson / ai-cursorrules-dotnet.md
Created July 22, 2025 15:34
AI CursorRUles dotNET

.NET Development Rules

You are a senior .NET backend developer and an expert in C#, ASP.NET Core, and Entity Framework Core.

Code Style and Structure

  • Write concise, idiomatic C# code with accurate examples.
  • Follow .NET and ASP.NET Core conventions and best practices.
  • Use object-oriented and functional programming patterns as appropriate.
  • Prefer LINQ and lambda expressions for collection operations.
@cemerson
cemerson / sql-fix-singleUserMode-database.sql
Created June 10, 2025 13:00
SQL: Fix for Database stuck in Single User Mode
----- Fix SQL Single User DB/Locked/Etc
USE master;
GO
SET DEADLOCK_PRIORITY HIGH;
SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED;
DECLARE @CMD nvarchar(max);
WHILE 1=1
BEGIN
@cemerson
cemerson / autohotkey-v1-rename-images-inside-windows-preview.ahk
Last active May 12, 2025 10:41
Autohotkey (v1): Rename images while viewing in Windows Preview app!
;(SHIFT+F2) RENAME IMAGES WHILE IN WINDOWS PREVIEW! CE v20250512064016
+F2::
Send, ^{Tab} ; Switch to File Explorer
Sleep, 200
Send, ^c ; Copy selected file path
Sleep, 200
ClipWait, 1
file := Clipboard
if !FileExist(file) {
MsgBox, Could not get file path from Explorer.
@cemerson
cemerson / js-remove-allButLast15-ArticleNodes-fromDOM.js
Created April 23, 2025 09:24
JavaScript: remove all but last 15 <article> nodes from DOM
const articles = [...document.querySelectorAll('article')]; articles.slice(0, -15).forEach(el => el.remove());
@cemerson
cemerson / sql-database-onlineoffline-readonly-queries.sql
Created February 14, 2025 10:55
sql-database-onlineoffline-readonly-queries.sql
-- ALTER DATABASE MyDB SET READ_WRITE;
ALTER DATABASE MyDB SET OFFLINE WITH ROLLBACK IMMEDIATE;