User:Maffblaster/Reference

Article description::A place where I store different command-line shortcuts and other things I reference often.

XDG_RUNTIME_DIR for commands over ssh
Running commands via ssh generally fails because the XDG_RUNTIME_DIR environment variable is not set to the user's run directory. Here's one workaround:

Mediawiki

 * ParserFunctions
 * Tables generator

Virtual environments
Creation and activation:

Running ruby programs
Sometimes it is necessary to download dependencies through language specific package managers, such as in the following example. Navigate to the directory containing the Gemfile (generally the repo's base dir), and run:

Bash shortcuts
Merged into the bash article (emacs section).