Skip to content

Instantly share code, notes, and snippets.

Avatar

Mikael Roos mosbth

View GitHub Profile
View gist:e96607b1577e6b5f2192604cc5428000
>>> -------------- Start -------------------------
mosstud/mvc/kmom10 Thu May 20 13:51:55 CEST 2021
>>> -------------- 012_is-git-repo.bash -------------------------
OK 012_is-git-repo.bash
>>> -------------- 014_check-repo-remote.bash -------------------------
OK 014_check-repo-remote.bash
>>> -------------- 020_git-tag-exists.bash -------------------------
View gist:3b1f0ebed26ff24d77cee807c77ec2c0
main.c:34:10: warning: declaration does not declare anything
};
^
main.c: In function ‘meny’:
main.c:58:14: warning: implicit declaration of function ‘isDigit’ [-Wimplicit-function-declaration]
choice = isDigit();
^~~~~~~
main.c:61:16: warning: unknown escape sequence: '\P'
printf("\Please enter patient info \n");
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
View gist:e5f53fcf2060feb80f4bf66db16df118
main.c:20:1: warning: return type defaults to ‘int’ [-Wimplicit-int]
sayHi(){
^~~~~
main.c: In function ‘sayHi’:
main.c:26:10: warning: passing argument 1 of ‘puts’ from incompatible pointer type [-Wincompatible-pointer-types]
puts(name);}
^~~~
In file included from main.c:1:
/usr/include/stdio.h:638:30: note: expected ‘const char *’ but argument is of type ‘char **’
extern int puts (const char *__s);
View gist:0592e3fe8177781d3c9cd1fe8eec81e3
main.c: In function ‘main’:
main.c:23:9: warning: implicit declaration of function ‘printMainMenu’ [-Wimplicit-function-declaration]
printMainMenu();
^~~~~~~~~~~~~
main.c:27:13: warning: implicit declaration of function ‘printSubMenu’ [-Wimplicit-function-declaration]
printSubMenu();
^~~~~~~~~~~~
main.c:33:17: warning: implicit declaration of function ‘handlePractice’ [-Wimplicit-function-declaration]
handlePractice(choice); //Call function if valid choice
^~~~~~~~~~~~~~
View gist:18b64f771201a56d391304d660247dd3
main.c: In function ‘evaluation’:
main.c:59:31: warning: passing argument 1 of ‘addition’ from incompatible pointer type [-Wincompatible-pointer-types]
if (!secondChoice) addition(question);
^~~~~~~~
main.c:13:20: note: expected ‘int **’ but argument is of type ‘int *’
void addition(int* q[]);
~~~~~^~~
main.c:60:43: warning: passing argument 1 of ‘subtraction’ from incompatible pointer type [-Wincompatible-pointer-types]
else if (secondChoice == 1) subtraction(question);
^~~~~~~~
View gist:7b4844ef1c93381c2ff5807a2212c7a1
[0;30;42m>>> ======= GUI Inspect =======[0m
Sun Apr 18 13:44:43 CEST 2021
mvc kmom01 veax20
download, docker
Inspect GUI v2.8.2 (2021-04-16)
[0;30;42m>>> ======= Download (and potato) =======[0m
Doing a silent download, potatoe if needed.
View gist:28814c06e361a7dfcc7fe80a9f6cd4b1
[0;30;42m>>> ======= GUI Inspect =======[0m
Sun Apr 18 13:34:38 CEST 2021
mvc kmom01 veax20
download, docker
Inspect GUI v2.8.2 (2021-04-16)
[0;30;42m>>> ======= Download (and potato) =======[0m
Doing a silent download, potatoe if needed.
View gist:1860923f9231ecca754f57903381ff71
[0;30;42m>>> ======= GUI Inspect =======[0m
Sun Apr 11 15:49:48 CEST 2021
mvc kmom01 mack20
download, docker
Inspect GUI v2.8.0 (2021-04-09)
[0;30;42m>>> ======= Download (and potato) =======[0m
Doing a silent download, potatoe if needed.
View gui-main.ansi
>>> ======= GUI Inspect =======
Mon Nov 30 17:47:20 CET 2020
ramverk1 kmom03 gufo19
download, docker
Inspect GUI v2.5.0 (2020-11-30)
>>> ======= Download (and potato) =======
Doing a silent download, potatoe if needed.
View phploc
phploc 7.0.1 by Sebastian Bergmann.
Directories 1
Files 8
Size
Lines of Code (LOC) 1522
Comment Lines of Code (CLOC) 506 (33.25%)
Non-Comment Lines of Code (NCLOC) 1016 (66.75%)
Logical Lines of Code (LLOC) 267 (17.54%)