- 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 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 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 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.