- Auto save
- Auto format on save and fix all quick fix issues
- Auto import on save
- Format on save and paste
- Prepopulate command palette and file search with the last searched thing
- Limit the number of active tabs and allow them to wrap on smaller screens
- Auto import on paste (via an extension that works part of the time)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static boolean isAnagramOfPalindrome(String test) { | |
HashSet<Character> vals = new HashSet<>(); | |
int length = test.length(); | |
for (int i = 0; i < length; i++) { | |
if (Character.isWhitespace(test.charAt(i))) { | |
// do nothing | |
} | |
else if (vals.contains(test.charAt(i))) { | |
vals.remove(test.charAt(i)); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PROMPT='$(_current_dir)$(git_prompt_info) ' | |
# PROMPT='$(_current_dir)$(git_prompt_info) $FG[105]%(!.#.»)%{$reset_color%} ' | |
# uncomment and comment other if you want a little » prompt | |
function _current_dir() { | |
local _max_pwd_length="65" | |
if [[ $(echo -n $PWD | wc -c) -gt ${_max_pwd_length} ]]; then | |
echo "%{$fg_bold[blue]%}%-2~ ... %3~%{$reset_color%}" | |
else | |
echo "%{$fg_bold[blue]%}%~%{$reset_color%}" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
plugins=( | |
# adds a bunch of git aliases. See aliases here. https://github.com/robbyrussell/oh-my-zsh/wiki/Plugin:git . Repo here https://github.com/robbyrussell/oh-my-zsh/tree/master/plugins/git | |
git | |
# docker autocompletions https://github.com/robbyrussell/oh-my-zsh/tree/master/plugins/docker | |
docker | |
# shell command autocompletions https://github.com/zsh-users/zsh-autosuggestions | |
zsh-autosuggestions |
Go to https://chat.openai.com/#settings/Personalization, open custom GPT instructions, and paste these in for the answers to the GPT instructions, swapping what makes sense for you
My name is Jordan Cutler. I'm a Senior Software Engineer specializing in frontend development.
I'm also a content creator writing about software engineering career growth. I write daily on LinkedIn and Twitter. I write weekly on Substack on my newsletter. My writing is concise, friendly, warm, authentic, transparent.
I cement what I write through personal stories and anecdotes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |