Cleaning git after .gitignore changes
git rm -r --cached .
git add .
git commit -m "Drop files from .gitignore"
Parsing numbers from strings in SQL
SELECT Id, PetCount,
ISNULL(SUBSTRING(PetCount,
PATINDEX('%[0-9]%', PetCount),
(CASE WHEN PATINDEX('%[^0-9]%', STUFF(
Refresh Rider solution analysis after Git branch change
Sometimes non-existent errors are shown after changing branches while a solution is open in Rider.
Run this action:
Ctrl+
Disable watch in Vue 2 when mutating data
This is a mixin for Vue 2
export default {
methods: {
$withoutWatchers(cb) {
const watcher = {
cb: this._watcher.cb,
sync: this.
Broken WordPress editing due to WPS Hide Login plugin
Page editing was broken in a WP site that I was asked to update. Unsurprisingly there were a lot of
Running Ghost in a WSL2 Docker container on Windows Server 2022
This will set up Ubuntu on Windows server 2022 with Docker running in WSL2, configured to host Linux apps with