Things I don't want to ask the internet ever again and I will absolutely never remember.
RCurl
problems in Fedora
ocamlformat
on a project
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')
Enter
+
~
+
.
See also this link.
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.
lua-language-server
in the destination directory:
mkdir /opt/lua-language-server
tar --extract --file /path/to/luals.tar.gz -av -C /opt/lua-language-server
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...
$PATH:
export PATH="$PATH:/opt/lua-language-server/bin"
See this Stack Overflow answer.
Just specify the ID on your SSH command.
GIT_SSH_COMMAND='ssh -i ~/.ssh/your_preferred_id' git (your git command)
ocamlformat
on a project
[^]
I guess you can just read the docs, but here it is. After adding the .ocamlformat
file in the root of your project this will magically work. In my case, the ocamllsp
configuration from lsp-config
just works. I suppose that ocamllsp
will call ocamlformat
automagically if it can see a way to do it through configuration.
Anyway, just create .ocamlformat
and add a minimal configuration:
profile = default
version = 0.29.0
Then you can decide to do something more advanced if you prefer.