Luis Mario Chaparro Jáquez

Pastebin

Things I don't want to ask the internet ever again and I will absolutely never remember.

RCurl problems in Fedora [^]

Somehow installing R in Fedora by following their own documentation doesn't install a dependency for an R package called RCurl which seems to be required for the install.packages command. Install libcurl-devel to avoid headaches.

dnf install libcurl-devel

Then install RCurl, and whatever you may need to install eventually.

install.packages('RCurl', repos='https://cloud.r-project.org')

Magical key sequence to unfreeze SSH [^]

Enter + ~ + .

See also this link.

Installing LuaLS [^]

Their official documentation is quite clear but I am dumb. If it's not packed for your distro (e.g. Fedora) you may want to install it from releases.

I normally use /opt as my destination directory. There is nothing special to it, use whatever you want.
  1. Download the latest release from their repo.
  2. Create the directory lua-language-server in the destination directory:
    mkdir /opt/lua-language-server
  3. Extract the archive into the new directory:
    tar --extract --file /path/to/luals.tar.gz -av -C /opt/lua-language-server
  4. Change the owner of the directory to your own user, for instance if your user is esewey:
    chown esewey:esewey -R /opt/lua-language-server
    This is because when you run the server it creates some log files. I suspect you could change its working directory instead...
  5. Make sure to add the path to your $PATH:
    export PATH="$PATH:/opt/lua-language-server/bin"

See this Stack Overflow answer.