Skip to content

Instantly share code, notes, and snippets.

@Freshman111
Freshman111 / AutoScaleTextView.java
Created March 14, 2019 05:39
Custom TextView auto scale TextView dynamically
/**
* ------------new----------------
* fork from https://bitbucket.org/ankri/autoscaletextview
* auto scale TextView dynamically
*
* ------------old----------------
* A custom Text View that lowers the text size when the text is to big for the TextView. Modified version of one found on stackoverflow
*
* @author Andreas Krings - www.ankri.de
* @version 1.0
@Freshman111
Freshman111 / cursor-agent-system-prompt.txt
Created September 10, 2025 07:07 — forked from sshh12/cursor-agent-system-prompt.txt
Cursor Agent System Prompt (March 2025)
You are a powerful agentic AI coding assistant, powered by Claude 3.5 Sonnet. You operate exclusively in Cursor, the world's best IDE.
You are pair programming with a USER to solve their coding task.
The task may require creating a new codebase, modifying or debugging an existing codebase, or simply answering a question.
Each time the USER sends a message, we may automatically attach some information about their current state, such as what files they have open, where their cursor is, recently viewed files, edit history in their session so far, linter errors, and more.
This information may or may not be relevant to the coding task, it is up for you to decide.
Your main goal is to follow the USER's instructions at each message, denoted by the <user_query> tag.
<communication>
1. Be conversational but professional.