Creează un cont pentru a te abona la acest blog și a-i urmări articolele pe pagina Lectură.
-
I had to change a bunch of Git remotes from GitHub SSH URLs (e.g. git@github.com:salcode/salcode-zsh.git) to GitHub https URLs (e.g. https://github.com/salcode/salcode-zsh.git) on a bunch of different repos.
-
This is how I use jq to conditionally add an element to an array only if it doesn’t exist there already.
-
Sometimes I want a Git commit message without the leading indentation added by git show (for example, if I want to copy it and paste it somewhere else).
-
By default, Slack provides you with a Formatting toolbar and a WYSIWYG editor.
-
I work with WordPress sites that have lots of meta fields exposed through the REST API.
-
In Neovim, I’m a big fan of CTRL-a to increment a number (and CTRL-x to decrement a number), however when I have dash before the number (e.g.
-
I recently needed to disable one of the built-in linters in the ALE (Asynchronous Lint Engine) Vim plugin in my Neovim configuration.
-
This threw me for a loop so I’m writing this down to help others (and likely me in the future).
-
A question came up about setting the Git editor to a bash function, which I could not figure out.
-
Often in my work, I’ll create a number of commits before I craft my correct solution.