馃摀 What set this value?

Ever wanted to know what value a variable has and where it was set from in Vim? ...

<span title='2024-09-04 00:00:00 +0000 UTC'>04 September 2024</span>&nbsp;路&nbsp;1 min&nbsp;路&nbsp;Steve Hunt

馃摀 Access env vars in Neovim

Accessing an environment variable within Neovim from a lua script is straight forward. It is just a case of calling vim.env.env-var-name where env-var-name is the name of the environment variable e.g. ...

<span title='2022-08-24 00:00:00 +0000 UTC'>24 August 2022</span>&nbsp;路&nbsp;1 min&nbsp;路&nbsp;Steve Hunt

馃悪 Custom email routing per organization in GitHub

Within GitHub, if you belong to multiple organisations it is easy to have those notifications routed to specific email addresses. This is very useful if, for example, you use the same GitHub account for work and personal use. ...

<span title='2022-07-29 00:00:00 +0000 UTC'>29 July 2022</span>&nbsp;路&nbsp;1 min&nbsp;路&nbsp;Steve Hunt

馃敤 Fix missing module error

Within a Svelte project seeing an error such as cannot find module '$lib/..' or its corresponding type declarations can be resolved by running npm run prepare. This will update tsconfig.json to add $lib to compilerOptions.paths. ...

<span title='2022-07-18 00:00:00 +0000 UTC'>18 July 2022</span>&nbsp;路&nbsp;1 min&nbsp;路&nbsp;Steve Hunt

馃獏 Build, create and start named services from Docker Compose

It is possible to build, create, start and up a specific service or services from Docker Compose. By default these commands work with an optional list of services. Each service specified will have the command run for it. ...

<span title='2022-06-27 00:00:00 +0000 UTC'>27 June 2022</span>&nbsp;路&nbsp;1 min&nbsp;路&nbsp;Steve Hunt

馃摀 Docker Compose version key is not required after 3.7

From version 3.8 of the compose file specification the version key is no longer required. However, it can be kept for information, if so desired. ...

<span title='2022-06-20 00:00:00 +0000 UTC'>20 June 2022</span>&nbsp;路&nbsp;1 min&nbsp;路&nbsp;Steve Hunt

鈫曪笍 Ordering content

It is straight forward to order content in Hugo by leveraging front matter variables. The default order is Weight -> Date -> LinkTitle -> FilePath. It is easy to change the order based on the specific property of interest. See lists of content in Hugo for more information. ...

<span title='2022-06-18 00:00:00 +0000 UTC'>18 June 2022</span>&nbsp;路&nbsp;1 min&nbsp;路&nbsp;Steve Hunt

馃摀 Interacting with vim's dictionary

Add a misspelt word to Vim鈥檚 dictionary with zg. See the list of suggestions for a misspelt word with z=. Enter the number of the correct suggestion and hit enter to select it. ...

<span title='2022-06-18 00:00:00 +0000 UTC'>18 June 2022</span>&nbsp;路&nbsp;1 min&nbsp;路&nbsp;Steve Hunt

馃摀 Get last Git commit message

In a Git repo run git log -1 to get details of the last commit. ...

<span title='2022-06-16 00:00:00 +0000 UTC'>16 June 2022</span>&nbsp;路&nbsp;1 min&nbsp;路&nbsp;Steve Hunt

馃悮 Useful bash builtins

A subset of Bash builtins I occasionally forget about and want a quick reference to. ...

<span title='2022-06-13 00:00:00 +0000 UTC'>13 June 2022</span>&nbsp;路&nbsp;1 min&nbsp;路&nbsp;Steve Hunt