Skip to content

Instantly share code, notes, and snippets.

View alxhoff's full-sized avatar
💭
It's $(date +"%a") my dudes!

Alex Hoffman alxhoff

💭
It's $(date +"%a") my dudes!
  • Cartken GmbH
  • Munich, Germany
View GitHub Profile
#!/bin/bash
sudo apt install -y make libssl-dev libghc-zlib-dev libcurl4-gnutls-dev libexpat1-dev gettext unzip
sudo wget https://github.com/git/git/archive/v2.23.0.tar.gz -O git.tar.gz
sudo tar -xf git.tar.gz
cd git-*
sudo make prefix=/usr/local all
sudo make prefix=/usr/local install
/usr/bin/cmake -S/home/alxhoff/git/GitHub/FreeRTOS-Emulator -B/home/alxhoff/git/GitHub/FreeRTOS-Emulator/build --check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /home/alxhoff/git/GitHub/FreeRTOS-Emulator/build/CMakeFiles /home/alxhoff/git/GitHub/FreeRTOS-Emulator/build/CMakeFiles/progress.marks
make -f CMakeFiles/Makefile2 all
make -f CMakeFiles/FreeRTOS_Emulator.dir/build.make CMakeFiles/FreeRTOS_Emulator.dir/depend
cd /home/alxhoff/git/GitHub/FreeRTOS-Emulator/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/alxhoff/git/GitHub/FreeRTOS-Emulator /home/alxhoff/git/GitHub/FreeRTOS-Emulator /home/alxhoff/git/GitHub/FreeRTOS-Emulator/build /home/alxhoff/git/GitHub/FreeRTOS-Emulator/build /home/alxhoff/git/GitHub/FreeRTOS-Emulator/build/CMakeFiles/FreeRTOS_Emulator.dir/DependInfo.cmake --color=
make -f CMakeFiles/FreeRTOS_Emulator.dir/build.make CMakeFiles/FreeRTOS_Emulator.dir/build
/usr/bin/cmake -E cmake_echo_color --switch= --green --progress-dir=/home/alxh
-- The C compiler identification is GNU 9.2.0
-- The CXX compiler identification is GNU 9.2.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
" Enable OmniCompletion
" http://vim.wikia.com/wiki/Omni_completion
filetype plugin on
"set omnifunc=syntaxcomplete#Complete
" Configure menu behavior
" http://vim.wikia.com/wiki/VimTip1386
set completeopt=longest,menuone
inoremap <expr> <CR> pumvisible() ? "\<C-y>" : "\<C-g>u\<CR>"
inoremap <expr> <C-n> pumvisible() ? '<C-n>' :
import os
import os.path
import fnmatch
import logging
import ycm_core
import re
BASE_FLAGS = [
'-Wall',
'-Wextra',
I[14:44:56.773] clangd version 9.0.0 (/home/vagrant/llvm/llvm-9.0.0.src/tools/clang 038587147cf2f97d1c3e677042f69560c65b5bea)
I[14:44:56.774] Working directory: /home/alxhoff/git/GitHub/FreeRTOS-Emulator/src
I[14:44:56.774] argv[0]: /home/alxhoff/git/Configs/vim_config/vim/plugged/youcompleteme/third_party/ycmd/third_party/clangd/output/bin/clangd
I[14:44:56.774] argv[1]: -header-insertion-decorators=0
I[14:44:56.774] argv[2]: -resource-dir=/home/alxhoff/git/Configs/vim_config/vim/plugged/youcompleteme/third_party/ycmd/third_party/clang/lib/clang/9.0.0
I[14:44:56.774] argv[3]: -limit-results=500
I[14:44:56.774] argv[4]: -log=verbose
I[14:44:56.774] Starting LSP over stdin/stdout
V[14:44:56.774] <<< {"id":1,"jsonrpc":"2.0","method":"initialize","params":{"capabilities":{"textDocument":{"completion":{"completionItem":{"documentationFormat":["plaintext","markdown"]},"completionItemKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25]}},"hover":{"contentFormat":["plaintext","markdo
2019-11-10 14:44:55,317 - DEBUG - GET b'http://127.0.0.1:41461/signature_help_available'
{'content-type': 'application/json', 'x-ycm-hmac': b'RGQ1kNUV0Eot8oqwcWxsjk3sTH5tBtEJQnYu34Usr6E='}
2019-11-10 14:44:55,933 - DEBUG - POST b'http://127.0.0.1:41461/event_notification'
{'content-type': 'application/json', 'x-ycm-hmac': b'eX0foJ8yNSUKJkohb6yZmT50d10C4eWJ+0pEYgCP3Mo='}
b'{"filepath": "/home/alxhoff/git/GitHub/FreeRTOS-Emulator/src/main.c", "line_num": 1, "column_num": 1, "working_dir": "/home/alxhoff/git/GitHub/FreeRTOS-Emulator/src", "file_data": {"/home/alxhoff/git/GitHub/FreeRTOS-Emulator/src/main.c": {"contents": "#include <math.h>\\n#include <stdio.h>\\n#include <stdlib.h>\\n\\n#include <SDL2/SDL_scancode.h>\\n\\n#include \\"FreeRTOS.h\\"\\n#include \\"queue.h\\"\\n#include \\"semphr.h\\"\\n#include \\"task.h\\"\\n\\n#include \\"TUM_Ball.h\\"\\n#include \\"TUM_Draw.h\\"\\n#include \\"TUM_Event.h\\"\\n#include \\"TUM_Sound.h\\"\\n#include \\"TUM_Utils.h\\"\\n\\n#define mainGENERIC_PRIORITY (tskIDLE_PRIOR
2019-11-10 14:44:56,277 - DEBUG - No global extra conf, not calling method YcmCorePreload
2019-11-10 14:44:56,655 - INFO - Received ready request
2019-11-10 14:44:56,677 - INFO - Received event notification
2019-11-10 14:44:56,677 - DEBUG - Event name: BufferVisit
2019-11-10 14:44:56,693 - INFO - Received event notification
2019-11-10 14:44:56,694 - DEBUG - Event name: FileReadyToParse
2019-11-10 14:44:56,694 - INFO - Adding buffer identifiers for file: /home/alxhoff/git/GitHub/FreeRTOS-Emulator/src/main.c
2019-11-10 14:44:56,737 - INFO - Clangd executable found at /home/alxhoff/git/Configs/vim_config/vim/plugged/youcompleteme/third_party/ycmd/third_party/clangd/output/bin and up to date
2019-11-10 14:44:56,738 - INFO - Using Clangd from /home/alxhoff/git/Configs/vim_config/vim/plugged/youcompleteme/third_party/ycmd/third_party/clangd/output/bin/clangd
2019-11-10 14:44:56,738 - INFO - Computed Clangd command: ['/home/alxhoff/git/Configs/vim_config/vim/plugged/youcompleteme/third_party/ycmd/third_party/clangd/
serving on http://localhost:41461