This file contains hidden or 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
| #include <stdio.h> | |
| #include <stdbool.h> | |
| void printMatrix(int n, int m, double matrix[10][10]); | |
| void inputMatrix(int n, int m, double matrix[10][10]); | |
| void createVector_X(int m, double *vector, double matrix[10][10]); | |
| void createVector_Y(int n, int m, double *vector, double matrix[10][10]); | |
| void arithmeticAverage(double *vector, double *avgPositiveElements, bool *havePositiveElement, int size); | |
| int main() { |
This file contains hidden or 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
| #include <stdio.h> | |
| void SA(double *w1, int n, double *SAed, int *rozw); | |
| int main() { | |
| double x[20], y[20], SAed_x, SAed_y; | |
| int n,m, liczby_dodatnie_x, liczby_dodatnie_y; | |
| // |
This file contains hidden or 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
| #include<stdio.h> | |
| #include<stdlib.h> | |
| #include<math.h> | |
| #pragma warning(disable: 4996) | |
| #define MAX_TEXT_SIZE 1024 | |
| void checkInputValue(char *array); | |
| double convertText(char *array); |
This file contains hidden or 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
| # Add git branch if its present to PS1 | |
| parse_git_branch() { | |
| git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1)/' | |
| } | |
| export PS1="\[\033[38;5;82m\]\u\[$(tput sgr0)\]\[\033[38;5;11m\]@\[$(tput sgr0)\]\[\033[38;5;75m\]\h\[$(tput sgr0)\]\[\033[38;5;6m\][\[$(tput sgr0)\]\[\033[38;5;156m\]\w\[$(tput sgr0)\]\[\033[38;5;6m\]]\[$(tput bold)\]\[\033[38;5;196m\]\$(parse_git_branch)\[\033[38;5;15m\]\$:\[$(tput sgr0)\]" |
This file contains hidden or 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
| all: main | |
| # Ołki dołki | |
| %: %.cpp | |
| g++ -std=c++0x $< -o $@ | |
| %: %.c | |
| gcc $< -o $@ |
This file contains hidden or 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
| // | |
| // Created by efik on 07.05.16. | |
| // | |
| #ifndef ASD_ALOGRYTMY_H | |
| #define ASD_ALOGRYTMY_H | |
| typedef int ALG_TYPE_SIZE; | |
| void swap(ALG_TYPE_SIZE &first, ALG_TYPE_SIZE &second); | |
| void bubbleSort(ALG_TYPE_SIZE array[], ALG_TYPE_SIZE size); | |
| void insertionSort(ALG_TYPE_SIZE array[], ALG_TYPE_SIZE size); |
This file contains hidden or 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
| #include <stdio.h> | |
| #include <math.h> | |
| double ff(double x) { | |
| return (log(x * x) + 5 * pow(2.3, 2)) / ((x + 2.3) * 2) + pow(x * x + pow(2.3, 2), 3); | |
| } | |
| int main() { | |
| double xp, xk, dx; |
This file contains hidden or 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
| <?php | |
| namespace yourapp; | |
| // User ValueObject | |
| class User{ | |
| private $id; | |
| private $username; | |
| private $userPassword; | |
| private $about; | |
This file contains hidden or 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
| { | |
| "title": "Zastepstwa", | |
| "content": [ | |
| { | |
| "class": "4T1", | |
| "lessonNumber": 1, | |
| "date": "2016-03-22", | |
| "classroom": null, | |
| "information": "Uczniowie przychodzą później" | |
| }, |
This file contains hidden or 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
| [ | |
| { | |
| "title": "title", | |
| "content": 1, | |
| "footer": "fotter", | |
| "created": "2016-04-07T10:38:34+02:00", | |
| "sticked": false, | |
| "viewTime": 5 | |
| }, | |
| { |