Extensão do Visual Studio Code: “Code Runner” não compila C

Estou tentando rodar um código em C no Visual Studio Code com a extensão Code Runner mas não estou conseguindo. Já instalei o MinGW corretamente, consigo verificar ele no cmd via

g++ --version 

Mas continuo sem conseguir fazer rodar C no VSCode. Eu sei que o VS não é o mais indicado mas queria centralizar meus trabalhos em um único editor.

A mensagem que aparece quando tento rodar é a seguinte:

[Running] cd "c:\Users\henrique\Documents\_minhas-coisas\_Faculdade\TesteVSCode\C\" &&              gcc first.c -o first &&               "c:\Users\henrique\Documents\_minhas-coisas\_Faculdade\TesteVSCode\C\"first              'gcc' n�o � reconhecido como um comando interno              ou externo, um programa oper�vel ou um arquivo em lotes.  [Done] exited with code=1 in 0.188 seconds 

O First é o nome do arquivo.c

docker build apk add fails on fetch with kubernetes gitlab runner

i’ve got a kubernetes cluster on my root server and there vm’s. There is a gitlab running with usage of kubernetes pipelines. Now the problem, in my Dockerfile I have the following lines:

# Install packages we want to keep RUN apk --no-cache add git zlib-dev curl libzip-dev # Install dependencies that are only used during installation of other     packages. Afterwards it will be cleaned up. RUN set -xe \     && apk add --no-cache --virtual .build-deps \     $  PHPIZE_DEPS \ && docker-php-ext-install -j"$  (/usr/bin/nproc)" mbstring opcache zip \ && pecl install xdebug-$  XDEBUG_VERSION \ && docker-php-ext-enable xdebug zip \ && apk del .build-deps 

The first apk add is okay and is executed correctly. On the second apk add the pipeline fails with a timeout and the following last lines

fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz ERROR: Job failed: execution took longer than 15m0s seconds 

Does any one knows thisor have the same error and a solution? Thanks

Static Camera on Endless Runner

I am developing a mobile game in ue4. For this project, I need to have a “static” camera so that the player can move within the frame not affecting camera location and rotation. But as this is an endless scroller I also need to have the camera move at a constant pace limiting the player’s area of movement. Does anyone know how to do this?

Gitlab runner : bash: line 526: /build/build.sh: No such file or director

I installed Gitlab on my own server and I’m trying to configure Gitlab runner to check code quality, etc.

I’m getting an error I don’t understand :

Running with gitlab-runner 11.8.0 (4745a6f3) on mydomain.fr Q7uHJf81 Using Shell executor... Running on mydomain.fr... Cloning repository... Cloning into '/home/gitlab-runner/builds/Q7uHJf81/0/root/myrepository'... Checking out c6e2f2f0 as master... Skipping Git submodules setup $   # Auto DevOps variables and functions # collapsed multi-line command $   /build/build.sh bash: line 526: /build/build.sh: No such file or directory ERROR: Job failed: exit status 1 

What is this build.sh file and where can I find it ?

Thanks !

Emmanuel

Unable to Register Gitlab Runner (Certificate Failed)

I have a gitlab instance running on my home network. The hostname git.example.com is an IPv6 only dns record, and the nginx server is only listening on [::].

When I try to register the runner with this command:

gitlab-runner register -r nyRxyFSx(rest_of_token) -u https://git.example.com/ --tag-list=shared --name shared-runner --run-untagged --tls-cert-file /certs/\*.example.com.cer --tls-key-file /certs/\*.example.com.key 

I get this error:

ERROR: Registering runner… failed runner=nyRxyFSx status=couldn’t execute POST against https://git.example.com/api/v4/runners: Post https://git.example.com/api/v4/runners: x509: certificate signed by unknown authority

PANIC: Failed to register this runner. Perhaps you are having network problems

The certificates I’m using is a LE certificate, but instead of it being registered from the gitlab instance (since ACME was failing with ipv6 only), I just used the certificate for *.example.com I have from the OPNSense LE plugin.

How can I ignore this cert error and register the runner?