Install Neovim 0.6 Prerelease in Raspberry Os (Debian) - raspberry-pi

I'm trying to test copilot.vim in my raspberry Pi.
I installed all but when I try to use :Copilot appear the next message:
Copilot: Neovim 0.6 prerelease required to support ghost text
I was searching but the last beta version of Neovim released is 0.5.1

Just install the neo-vim nightly pre-release.
Download the appimage, and move it to a directory indexed in PATH so you can invoke it by typing nvim
curl -LO https://github.com/neovim/neovim/releases/latest/download/nvim.appimage
chmod u+x nvim.appimage
sudo mv nvim.appimage /usr/local/bin/nvim

GitHub Copilot is an AI pair programmer which suggests line completions and entire function bodies as you type. GitHub Copilot is powered by the OpenAI Codex AI system, trained on public Internet text and billions of lines of code.
Copilot.vim is a Vim plugin for GitHub Copilot. For now, it requires a Neovim 0.6 prerelease and a Node.js installation.
To learn more about GitHub Copilot, visit https://copilot.github.com.

Related

How to install specific version in ARCH using yay?

I have issue with latest version of vscode==1.75.1.
I'm ussing Microsoft Dev Containers extension, and inside dev container I cannot run termminal .
Error is: The connection to the terminal's pty host process is unresponsive, the terminals may stop working.
I'm traying to find any olution for this problem.
I done uninstall, remove all filles related to vscode, install agan with yay -S visual-studio-code-bin and still have issue.
I want to install specific version of visual-studio-code-bin==1.74.3, how to install with yay -S?
p.s. This was after I updated system.
Thanks!

How Upgrade Git 1.8 to >=2

I have setup Git in VSC version 1.8.3 (Centos 7 box), since a couple of months whenever I open VSC I get a notification to update to a version greater than 2. I click on update, I get forwarded to an external url to download git. I understand that an extension should get updated by VSC. Can you please let me know the steps to follow to upgrade? Thanks
The exact notification is:
You seem to have Git 1.8.3.1 installed. Code works best with Git >=3
Source : Git Extension Manage UPDATE Dont show again
Clicking on "Manage Extension" VSC code displays details of the extension, what is strange is when I click on installed extensions, I don't see Git extension
Install git, systemwide, from the official git website - or your OS’ built-in package manager: https://www.git-scm.com/
You can verify git by opening a new terminal window and just running git --version. If that’s up-to-date but VSC still reports you’re running an older version (after restarting VSC, for good measure) then check you don’t have another copy of git on your computer or in VSC’s PATH environment variable.
Had the same problem. Just found a working solution.
Git is installed by itself, it is not an extension. VSC is finding and using Git that is available on your system.
Solution from this post worked for me(the second solution from the accepted answer):
sudo yum -y install https://packages.endpointdev.com/rhel/7/os/x86_64/endpoint-repo.x86_64.rpm
sudo yum install git
I'm on CentOS 7

Can't upgrade Emacs from 24.3.1 to 24.5 in a CentOS 7 vm

I have a CentOS 7 Vagrant virtual machine that I'd like to do some development work from. Accordingly, I'd like the latest version of Emacs (24.5) so that I can install Spacemacs.
However, when I ssh into the box and run the command sudo yum update emacs and sudo yum upgrade emacs, I simply get back the message No packages marked for update. I've also run yum update and yum upgrade to no avail.
So how do I go about getting me some sweet sweet Emacs 24.5? Thanks.
The latest RPM I could find for emacs on CentOS 7 (7.2) is 24.3.
You can install it via yum with the following code, after downloading the rpm:
yum localinstall emacs-24.3-18.el7.x86_64.rpm
If you want to compile it yourself, there is a Github repo with the source and instructions on how to do that.
They also have tagged releases if you prefer something a little more stable to choose from.
As of this post, the latest version they have available is emacs-25.0.92, with releases going back to the version you requested.
Is compiling Emacs 24.5 an option for you? It shouldn't be a big deal.
My answer assumes that you performed a reasonable online search, without success, for a yum repository containing that particular version of Emacs.

pycharm packages not displayed in the project interpreter window

I am using pycharm 5.0.4 community edition.
I wanted to install package fuzzywuzzy.
But when i go to project interpreter window and try to install package, it shows me no available packages.
Can it be issue because I am using my work desktop.
Thanksenter image description here
Can you provide more details- Are you not able to see any packages? Try searching for some other packages like pip, matplotlib, django, numpy etc. Sometimes it takes time for the IDE to build skeletons before you can actually start installing the packages. So once the IDE wait for it to complete its setup and then try to access the installation packages available.
Also if you do you have any other python interpreter installed on your local machine? If so then try switching to that interpreter.
Below are some steps you can try, which worked for me:
Step-1 Activate your intelpython using:
source <your installation path>/bin/activate
Step-2 Clone the environment using conda clone command and make sure the pwd is ~/:
conda create -n <source_environment> --clone <destination_environment>
Step-3 Activate the cloned environment:
source ~/.conda/envs/<your_environment>/bin/activate
Step-4 Provide read-wite permissions to intelpython and cloned enviroment using:
sudo chown -R <user_name>:<group_name> /<path_to_directory i.e. /opt/intel and ~/.conda/envs>
Step-5 Open Pycharm and in System Interpreter add the path to above created enviroment and then you can use pip or Pycharm itself, it should work.
I had a similar problem. I was using the Intel python distribution, and installing packages required write permissions to the folder that intelpython was installed in, which in my case was /opt/intel/intelpython2.
Try adding write permissions to the folder using the following command:
sudo chown -R <username> </path/to/folder>
Then try adding missing packages and/or repositories as seen in this page - https://www.jetbrains.com/help/pycharm/installing-uninstalling-and-upgrading-packages.html.

How to install Git for Cygwin?

I see some tutorials online but they only show how to install git onto Cygwin AS you are installing Cygwin. I already have cygwin installed and customized so I'd prefer not to repeat that step. How do I install the git framework so I can use it for github?
Thank you.
In the world of Cygwin, there is really no such thing as only installing a package AS you are installing Cygwin. Cygwin was inherently designed with a setup.exe to be run multiple times when necessary.
There are thousands of packages available in the Cygwin repo mirrors. From what you are saying, it sounds as if you had a single go-round with the setup file and then planned to never install any additional available packages or upgrade them in the future. This is what the Cygwin setup file is specifically used for.
If you don't currently have Git installed in your particular Cygwin environment, just run setup.exe again and select the package. It should automatically detect your current installation directory and package directory and previously-selected mirror. When you mark the Git package for installation, it will automatically download all dependencies, just like apt-get or any other *NIX package manager.
There is also an abandoned project called apt-cyg that I still use religiously, especially on remote systems over SSH in order to avoid the GUI setup.exe. apt-cyg is basically a shell script that will install your package directly from the command line, apt-get-style. It requires wget and subversion, but after the 30 seconds it takes to setup, you'd just run apt-cyg install git. It also installs dependencies, just like the GUI setup.exe.
There is also a similar alternative if you install Cygwin via Chocolatey package manager -- you can also install cyg-get (I believe it's called). The syntax is a bit different -- something like cyg-get git. I don't really like this method, because it differs from apt-cyg in the fact that it actually uses the setup.exe and just automates the process so that you don't have to click anything. I don't use this method, because the last I checked, Chocolatey only supported 32-bit Cygwin installs, which is also what the cyg-get package looks for.
apt-cyg may be abandoned, but it has yet to disappoint, and if I know what I'm looking for, I always prefer it over running the setup.exe for package installation.
It looks like the project has been picked back up and is under active development again: https://github.com/transcode-open/apt-cyg
It appears this version requires lynx to install. I don't know. I still just use the original version on Google Code that worked just fine the last I checked: https://code.google.com/p/apt-cyg/
Edit: There has been a new Cygwin package manager out for awhile called cyg-get that can be installed via Chocolatey.
I'm not sure if it only works for Chocolatey-installed Cygwin installations or not, as Chocolatey doesn't install Cygwin in the normal locations anymore by default. Feel free to comment, but cyg-get is now my Cygwin package manager of choice unless I'm running an older installation of Cygwin that was not installed by Chocolatey. I avoided it for a while because they only supported 32-bit installations, but I can confirm that Chocolatey now supports 64-bit installations of Cygwin, and the cyg-get package manager works perfectly with it. I have a function sourced from my ~/.bashrc where I can use either apt or apt-get (with or without the install parameter, and it will just call cyg-get.bat with the programs I have specified to install.
http://redmine.jamoma.org/projects/1/wiki/Installing_and_setting_up_GIT
By following the steps mentioned in the link for windows you can install git using cygwin