Skip to content

Instantly share code, notes, and snippets.

@Mantisimo
Mantisimo / cursor-instruction.txt
Created March 22, 2025 08:00 — forked from jhartum/cursor-instruction.txt
Cline memory bank for Cursor instruction
# Cursor's Memory Bank
I am Cursor, an expert software engineer with a unique characteristic: my memory resets completely between sessions. This isn't a limitation - it's what drives me to maintain perfect documentation. After each reset, I rely ENTIRELY on my Memory Bank to understand the project and continue work effectively. I MUST read ALL memory bank files at the start of EVERY task - this is not optional.
## Memory Bank Structure
The Memory Bank consists of required core files and optional context files, all in Markdown format. Files build upon each other in a clear hierarchy:
```mermaid
flowchart TD
@Mantisimo
Mantisimo / rename_js_files.sh
Created April 12, 2021 18:03 — forked from afternoon/rename_js_files.sh
Rename .js files to .ts
find app/src -name "*.js" -exec sh -c 'mv "$0" "${0%.js}.ts"' {} \;
@Mantisimo
Mantisimo / init.lua
Created April 6, 2019 13:43 — forked from philc/init.lua
My hammerspoon config
-----------------------------------------------------------------------
-- References:
-- https://github.com/apesic/dotfiles/blob/master/.hammerspoon/init.lua
-- https://learnxinyminutes.com/docs/lua/
-----------------------------------------------------------------------
----------------
-- Configuration
----------------
using UnityEngine;
using System.Collections;
public class MonoBehaviourSingleton<T> : MonoBehaviour
where T : Component
{
private static T _instance;
public static T Instance {
get {
if (_instance == null) {