Skip to content

Instantly share code, notes, and snippets.

@ldvc
ldvc / postinstall-mojave.md
Last active October 30, 2018 07:37
Some post installation tasks after installing MacOS Mojave

As admin user:

sudo scutil --set ComputerName "myHostname"
sudo scutil --set LocalHostName "myHostname"
sudo scutil --set HostName "myHostname"

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install tig
brew cask install iterm2
brew cask install alfred
@ldvc
ldvc / prosody-to-ejabberd-migration.md
Last active December 13, 2019 20:49
Steps for migrating Prosody server to Ejabberd on Debian 9

First redacted on early March 2018.

After some time with Prosody 0.10 on Debian 9, I wanted to test Ejabberd. You'll find below steps for doing such migration.

Steps

Packages installation

The most recent version can be found in Stretch's backports repository:

cat <<EOF | sudo tee /etc/apt/sources.list.d/backports.list
deb http://ftp.debian.org/debian stretch-backports main
@darcyparker
darcyparker / vimModeStateDiagram.svg
Last active July 15, 2025 05:22
Vim Modes Transition Diagram in SVG https://rawgithub.com/darcyparker/1886716/raw/eab57dfe784f016085251771d65a75a471ca22d4/vimModeStateDiagram.svg Note, most of the nodes in this graph have clickable hyperlinks to documentation.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.