Skip to content

Instantly share code, notes, and snippets.

View pawansingh00's full-sized avatar
🏠
Working from home

Pawan Kumar Singh pawansingh00

🏠
Working from home
View GitHub Profile
@pawansingh00
pawansingh00 / cmake_install.sh
Last active December 6, 2021 11:33
Installing latest cMake
# Building and Installing (Recommended for developers)
# For this approach you need to install the GCC tools:
sudo apt update
sudo apt install build-essential libtool autoconf unzip wget
# 1 - Uninstall the default version provided by Ubuntu's package manager.
sudo apt remove --purge --auto-remove cmake
# or sudo apt purge --auto-remove cmake
@pawansingh00
pawansingh00 / install-gcc-9.sh
Created November 18, 2021 08:03
Install gcc 9 on Ubuntu LTS 12.04,14.04,16.04 and 18.04
#!/usr/bin/env sh
sudo apt-get update -y && \
sudo apt-get upgrade -y && \
sudo apt-get dist-upgrade -y && \
sudo apt-get install build-essential software-properties-common -y && \
sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y && \
sudo apt-get update -y && \
sudo apt-get install gcc-9 g++-9 -y && \
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-9 60 --slave /usr/bin/g++ g++ /usr/bin/g++-9 && \
2021-11-18 10:34:29,780 - DEBUG - Event name: FileReadyToParse
2021-11-18 10:34:29,780 - INFO - Adding buffer identifiers for file: /home/pawansingh/ycmd/samples/some_c.c
2021-11-18 10:34:30,450 - INFO - Clangd executable found at /home/pawansingh/ycmd/third_party/clangd/output/bin and up to date
2021-11-18 10:34:30,450 - INFO - Using Clangd from /home/pawansingh/ycmd/third_party/clangd/output/bin/clangd
2021-11-18 10:34:30,451 - INFO - Computed Clangd command: ['/home/pawansingh/ycmd/third_party/clangd/output/bin/clangd', '-header-insertion-decorators=0', '-resource-dir=/home/pawansingh/ycmd/third_party/clang/lib/clang/13.0.0', '-limit-results=500', '-log=verbose']
2021-11-18 10:34:30,452 - INFO - Completion config: 50, detailing -1 candiates
2021-11-18 10:34:30,452 - INFO - Returning cached Clangd command: ['/home/pawansingh/ycmd/third_party/clangd/output/bin/clangd', '-header-insertion-decorators=0', '-resource-dir=/home/pawansingh/ycmd/third_party/clang/lib/clang/13.0.0', '-limit-results=500', '-log=verbo
@pawansingh00
pawansingh00 / clangd_error.txt
Created November 17, 2021 15:30
clangd_error.txt
2021-11-17 15:27:01,863 - DEBUG - Event name: FileReadyToParse
2021-11-17 15:27:01,863 - INFO - Adding buffer identifiers for file: /home/ubuntu/ycmd/some_c.c
/home/ubuntu/ycmd-setup/ycmd/third_party/clangd/output/bin/clangd: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.27' not found (required by /home/ubuntu/ycmd-setup/ycmd/third_party/clangd/output/bin/clangd)
2021-11-17 15:27:01,932 - INFO - Clangd executable found at /home/ubuntu/ycmd-setup/ycmd/third_party/clangd/output/bin and up to date
2021-11-17 15:27:01,933 - INFO - Using Clangd from /home/ubuntu/ycmd-setup/ycmd/third_party/clangd/output/bin/clangd
2021-11-17 15:27:01,933 - INFO - Computed Clangd command: ['/home/ubuntu/ycmd-setup/ycmd/third_party/clangd/output/bin/clangd', '-header-insertion-decorators=0', '-resource-dir=/home/ubuntu/ycmd-setup/ycmd/third_party/clang/lib/clang/13.0.0', '-limit-results=500', '-log=verbose']
2021-11-17 15:27:01,933 - INFO - Completion config: 50, detailing -1 candiates
2021-11-17 15:27:01,933 - INFO - Returning
@pawansingh00
pawansingh00 / Old_version_Debug_Logs.txt
Last active November 16, 2021 08:41
Old_version_Debug_Logs
2021-11-16 08:34:30,610 - DEBUG - No global extra conf, not calling method YcmCorePreload
serving on http://localhost:5000
2021-11-16 08:37:56,455 - INFO - Received event notification
2021-11-16 08:37:56,455 - DEBUG - Event name: FileReadyToParse
2021-11-16 08:37:56,456 - INFO - Adding buffer identifiers for file: /home/ubuntu/ycmd/some_java7.java
2021-11-16 08:37:56,469 - INFO - Looking for jdt.ls
2021-11-16 08:37:56,470 - DEBUG - Found launchers: ['/ycmd/third_party/eclipse.jdt.ls/target/repository/plugins/org.eclipse.equinox.launcher_1.5.0.v20180119-0753.jar']
2021-11-16 08:37:56,470 - DEBUG - Found launchers: ['/ycmd/third_party/eclipse.jdt.ls/target/repository/plugins/org.eclipse.equinox.launcher_1.5.0.v20180119-0753.jar']
2021-11-16 08:37:56,471 - INFO - Starting jdt.ls Language Server...
@pawansingh00
pawansingh00 / Latest_version_Debug_Logs.txt
Last active November 16, 2021 08:21
Latest_version_Debug_Logs
2021-11-16 13:48:00,965 - DEBUG - No global extra conf, not calling method YcmCorePreload
2021-11-16 13:48:00,994 - INFO - Completion config: 50, detailing -1 candiates
2021-11-16 13:48:00,994 - INFO - Completion config: 50, detailing -1 candiates
2021-11-16 13:48:00,994 - INFO - Completion config: 50, detailing -1 candiates
2021-11-16 13:48:00,994 - INFO - Completion config: 50, detailing -1 candiates
serving on http://pawansingh-glider-pc:5000
2021-11-16 13:48:19,262 - DEBUG - Event name: FileReadyToParse
2021-11-16 13:48:19,262 - INFO - Adding buffer identifiers for file: /home/pawansingh/ycmd/samples/some_java7.java