Skip to content

Instantly share code, notes, and snippets.

View mosbth's full-sized avatar

Mikael Roos mosbth

View GitHub Profile
@mosbth
mosbth / log.txt
Created September 5, 2023 11:32
Log felsökning
From github.com:dbwebb-se/website
e02c910e..bdda2503 master -> origin/master
Updating e02c910e..bdda2503
Fast-forward
content/kunskap/115_installera-en-egen-webbserver-for-utveckling.md | 9 +++-
content/kunskap/1221_skapa-en-webbsida-med-html-css-och-php-v2.md | 4 +-
content/kunskap/218_installera-python-i-terminalen.md | 13 ++++++
content/kurser/databas-v2/kmom10/tentamen/sapo3.md | 221 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
content/kurser/faq/introduktionsveckan-2023.md | 29 ++++++++----
content/kurser/python-v5/kmom01.md | 5 +--
@mosbth
mosbth / config.php
Created September 5, 2023 08:19
PHP Config
<?php
// Report all type of errors
error_reporting(-1);
// Display all errors
ini_set('display_errors', '1');
@mosbth
mosbth / kmom04.php
Created September 20, 2022 12:18
kmom04 zoom timme 1
<pre>
<?php
include('../config/config.php');
$mikael = [
"name" => "Mikael",
"age" => 42,
"luckynumber" => 3.14,
];
>>> -------------- 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 -------------------------
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");
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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);
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
^~~~~~~~~~~~~~
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);
^~~~~~~~
[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.
[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.