Error when using Git credential helper with gnome-keyring as Sudo


Question I was looking for a way to store credentials securely while connecting to our Git server which uses SSL. I came across this suggestion by @james-ward (only edit I made was I updated our "system" config instead of our "global" config for Git (https://stackoverflow.com/a/14528360/6195194) sudo apt-get install libgnome-keyring-dev cd /usr/share/doc/git/contrib/credential/gnome-keyring sudo make git config --system credential.helper /usr/share/doc/git/contrib/credential/gnome-keyring/git-credential-gnome-keyring I then can run git clone https://ipaddress/git/repo.git and the credential helper will store my credentials, however when I run the following:…
Read more ⟶

How to reinstall the latest cmake version?


Question I would like to install cmake the latest version, on Linux environment. I have cmake version 3.5 installed and is not supported by some applications. I tried to upgrade it by uninstalling the current version. But when I reinstall with sudo apt-get install cmake, I get the same version 3.5 re-installed. How do I install the latest version with sudo apt-get install ....? Answer As far as I know the best way to get the latest CMake version installed on any Linux is not by apt but using pip.…
Read more ⟶

Ubuntu 16.04, CUDA 8 - CUDA driver version is insufficient for CUDA runtime version


Question I've installed the latest nvidia drivers (375.26) manually, and installed CUDA using cuda_8.0.44_linux.run (skipping the driver install there, since the bundled drivers are older, 367 I think). Running the deviceQuery in CUDA samples produces the following error however: ~/cudasamples/NVIDIA_CUDA-8.0_Samples/1_Utilities/deviceQuery$ ./deviceQuery ./deviceQuery Starting... CUDA Device Query (Runtime API) version (CUDART static linking) cudaGetDeviceCount returned 35 -> CUDA driver version is insufficient for CUDA runtime version Result = FAIL Version info:…
Read more ⟶

How to add CLion icon to desktop in Ubuntu


Question I am using Ubuntu and CLion 2016.1. I installed it by downloading tar.gz archive. Now I have such CLion-2016.1/bin folder. For launching Clion I run ./clion.sh. How can I add CLion icon to desctop? Answer You can add a desktop entry to your system directly in CLion : Main Menu > Tools > Create Desktop entry...…
Read more ⟶

multiple authentication backends configured and therefore must provide the `backend` argument or set the `backend` attribute on the user


Question first of i am new to django/python . i am trying to create a login website that allows the user to register an account and verify via email or directly login via fb or google(Oauth) i receive the error when i click on the validation url sent to the email. error: ValueError at /activate/Mjk/4p1-dcc5f7ed2e7c847fe362/ You have multiple authentication backends configured and therefore must provide the backend argument or set the backend attribute on the user.…
Read more ⟶

ERROR: ld.so: object 'libgtk3-nocsd.so.0' from LD_PRELOAD cannot be preloaded


Question Running into this issue when working with Hugo and the AWS CLI on Ubuntu 18.04. ERROR: ld.so: object 'libgtk3-nocsd.so.0' from LD_PRELOAD cannot be preloaded (failed to map segment from shared object): ignored. This is a fresh install of Ubuntu 18.04, Hugo, and AWS CLI. Answer Found the answer after a bit of web searching here: https://github.com/PX4/Firmware/issues/9409 Solution If you update your .bashrc with the below line it should fix the issue:…
Read more ⟶

Call to undefined method PHP_CodeCoverage_Filter::getInstance()


Question I've got a fresh copy of PHPUnit installed on my system (Ubuntu 11), but whenever I type phpunit in the console I get the following error: PHP Fatal error: Call to undefined method PHP_CodeCoverage_Filter::getInstance() in /usr/bin/phpunit on line 39 I have PHPUnit's code coverage installed, as far as I know: >sudo pear install phpunit/PHP_CodeCoverage phpunit/PHP_CodeCoverage is already installed and is the same as the released version 1.1.1 install failed…
Read more ⟶