View set_default_kernel.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import subprocess | |
import os | |
import sys | |
import re | |
if os.geteuid() != 0: | |
subprocess.call(['sudo', 'python3', *sys.argv]) | |
sys.exit() | |
output = subprocess.check_output( |
View lsp.log
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[START][2022-03-15 05:42:01] LSP logging initiated | |
[START][2022-03-16 00:15:24] LSP logging initiated | |
[ERROR][2022-03-16 00:15:24] .../vim/lsp/rpc.lua:420 "rpc" "clangd" "stderr" "I[00:15:24.850] clangd version 10.0.0-4ubuntu1 \nI[00:15:24.851] PID: 272776\nI[00:15:24.851] Working directory: /home/sdp/projects/pks-upstream\nI[00:15:24.851] argv[0]: clangd\nI[00:15:24.851] Starting LSP over stdin/stdout\n" | |
[ERROR][2022-03-16 00:15:24] .../vim/lsp/rpc.lua:420 "rpc" "clangd" "stderr" "I[00:15:24.867] <-- initialize(1)\n" | |
[ERROR][2022-03-16 00:15:24] .../vim/lsp/rpc.lua:420 "rpc" "clangd" "stderr" "I[00:15:24.895] --> reply:initialize(1) 28 ms\n" | |
[ERROR][2022-03-16 00:15:24] .../vim/lsp/rpc.lua:420 "rpc" "clangd" "stderr" "I[00:15:24.896] <-- initialized\nI[00:15:24.896] unhandled notification initialized\nI[00:15:24.897] <-- textDocument/didOpen\n" | |
[ERROR][2022-03-16 00:15:24] .../vim/lsp/rpc.lua:420 "rpc" "clangd" "stderr" "I[00:15:24.901] Failed to find compilation database for /home/sdp/projects/pks-upstream/ |
View lsp.log
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[START][2022-03-15 05:42:01] LSP logging initiated | |
[START][2022-03-16 00:15:24] LSP logging initiated | |
[ERROR][2022-03-16 00:15:24] .../vim/lsp/rpc.lua:420 "rpc" "clangd" "stderr" "I[00:15:24.850] clangd version 10.0.0-4ubuntu1 \nI[00:15:24.851] PID: 272776\nI[00:15:24.851] Working directory: /home/sdp/projects/pks-upstream\nI[00:15:24.851] argv[0]: clangd\nI[00:15:24.851] Starting LSP over stdin/stdout\n" | |
[ERROR][2022-03-16 00:15:24] .../vim/lsp/rpc.lua:420 "rpc" "clangd" "stderr" "I[00:15:24.867] <-- initialize(1)\n" | |
[ERROR][2022-03-16 00:15:24] .../vim/lsp/rpc.lua:420 "rpc" "clangd" "stderr" "I[00:15:24.895] --> reply:initialize(1) 28 ms\n" | |
[ERROR][2022-03-16 00:15:24] .../vim/lsp/rpc.lua:420 "rpc" "clangd" "stderr" "I[00:15:24.896] <-- initialized\nI[00:15:24.896] unhandled notification initialized\nI[00:15:24.897] <-- textDocument/didOpen\n" | |
[ERROR][2022-03-16 00:15:24] .../vim/lsp/rpc.lua:420 "rpc" "clangd" "stderr" "I[00:15:24.901] Failed to find compilation database for /home/sdp/projects/pks-upstream/ |
View lsp.log
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[START][2022-03-15 05:42:01] LSP logging initiated | |
[START][2022-03-16 00:15:24] LSP logging initiated | |
[ERROR][2022-03-16 00:15:24] .../vim/lsp/rpc.lua:420 "rpc" "clangd" "stderr" "I[00:15:24.850] clangd version 10.0.0-4ubuntu1 \nI[00:15:24.851] PID: 272776\nI[00:15:24.851] Working directory: /home/sdp/projects/pks-upstream\nI[00:15:24.851] argv[0]: clangd\nI[00:15:24.851] Starting LSP over stdin/stdout\n" | |
[ERROR][2022-03-16 00:15:24] .../vim/lsp/rpc.lua:420 "rpc" "clangd" "stderr" "I[00:15:24.867] <-- initialize(1)\n" | |
[ERROR][2022-03-16 00:15:24] .../vim/lsp/rpc.lua:420 "rpc" "clangd" "stderr" "I[00:15:24.895] --> reply:initialize(1) 28 ms\n" | |
[ERROR][2022-03-16 00:15:24] .../vim/lsp/rpc.lua:420 "rpc" "clangd" "stderr" "I[00:15:24.896] <-- initialized\nI[00:15:24.896] unhandled notification initialized\nI[00:15:24.897] <-- textDocument/didOpen\n" | |
[ERROR][2022-03-16 00:15:24] .../vim/lsp/rpc.lua:420 "rpc" "clangd" "stderr" "I[00:15:24.901] Failed to find compilation database for /home/sdp/projects/pks-upstream/ |
View lsp.log
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[START][2022-03-15 05:42:01] LSP logging initiated | |
[START][2022-03-16 00:15:24] LSP logging initiated | |
[ERROR][2022-03-16 00:15:24] .../vim/lsp/rpc.lua:420 "rpc" "clangd" "stderr" "I[00:15:24.850] clangd version 10.0.0-4ubuntu1 \nI[00:15:24.851] PID: 272776\nI[00:15:24.851] Working directory: /home/sdp/projects/pks-upstream\nI[00:15:24.851] argv[0]: clangd\nI[00:15:24.851] Starting LSP over stdin/stdout\n" | |
[ERROR][2022-03-16 00:15:24] .../vim/lsp/rpc.lua:420 "rpc" "clangd" "stderr" "I[00:15:24.867] <-- initialize(1)\n" | |
[ERROR][2022-03-16 00:15:24] .../vim/lsp/rpc.lua:420 "rpc" "clangd" "stderr" "I[00:15:24.895] --> reply:initialize(1) 28 ms\n" | |
[ERROR][2022-03-16 00:15:24] .../vim/lsp/rpc.lua:420 "rpc" "clangd" "stderr" "I[00:15:24.896] <-- initialized\nI[00:15:24.896] unhandled notification initialized\nI[00:15:24.897] <-- textDocument/didOpen\n" | |
[ERROR][2022-03-16 00:15:24] .../vim/lsp/rpc.lua:420 "rpc" "clangd" "stderr" "I[00:15:24.901] Failed to find compilation database for /home/sdp/projects/pks-upstream/ |
View lsp.log
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[START][2022-03-15 05:42:01] LSP logging initiated | |
[START][2022-03-16 00:15:24] LSP logging initiated | |
[ERROR][2022-03-16 00:15:24] .../vim/lsp/rpc.lua:420 "rpc" "clangd" "stderr" "I[00:15:24.850] clangd version 10.0.0-4ubuntu1 \nI[00:15:24.851] PID: 272776\nI[00:15:24.851] Working directory: /home/sdp/projects/pks-upstream\nI[00:15:24.851] argv[0]: clangd\nI[00:15:24.851] Starting LSP over stdin/stdout\n" | |
[ERROR][2022-03-16 00:15:24] .../vim/lsp/rpc.lua:420 "rpc" "clangd" "stderr" "I[00:15:24.867] <-- initialize(1)\n" | |
[ERROR][2022-03-16 00:15:24] .../vim/lsp/rpc.lua:420 "rpc" "clangd" "stderr" "I[00:15:24.895] --> reply:initialize(1) 28 ms\n" | |
[ERROR][2022-03-16 00:15:24] .../vim/lsp/rpc.lua:420 "rpc" "clangd" "stderr" "I[00:15:24.896] <-- initialized\nI[00:15:24.896] unhandled notification initialized\nI[00:15:24.897] <-- textDocument/didOpen\n" | |
[ERROR][2022-03-16 00:15:24] .../vim/lsp/rpc.lua:420 "rpc" "clangd" "stderr" "I[00:15:24.901] Failed to find compilation database for /home/sdp/projects/pks-upstream/ |
View gist:690f226b3af0c95f3deae87aef44bb8f
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git config --global http.proxy 'socks5://127.0.0.1:7890' | |
git config --global https.proxy 'socks5://127.0.0.1:7890' | |
git config --global http.sslVerify false | |
git config --global https.sslVerify false |