{
"id": "uuid_discipline",
"name": "Математические Вычиcления",
...
}
This file contains 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
(defun f1 (arg) | |
(if (= (mod arg 2) 0) | |
arg | |
(+ arg 1))) |
This file contains 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
is_member(V, [V | _]) :- !. | |
is_member(V, [_ | T]) :- | |
is_member(V, T). | |
delete_element([], _V, []) :- !. | |
delete_element([V | T], V, T) :- !. | |
delete_element([V1 | T], V, [V1 | NT]) :- | |
delete_element(T, V, NT). |
This file contains 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
is_member(V, [V | _]) :- !. | |
is_member(V, [_ | T]) :- | |
is_member(V, T). | |
delete_element([], _V, []) :- !. | |
delete_element([V | T], V, NT) :- | |
!, | |
delete_element(T, V, NT). | |
delete_element([V1 | T], V, [V1 | NT]) :- |
This file contains 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
max([H | T], R) :- | |
max(T, H, R). | |
max([], R, R). | |
max([H | T], Temp, R) :- | |
H >= Temp, | |
!, | |
max(T, H, R). | |
max([_ | T], Temp, R) :- | |
max(T, Temp, R). |
This file contains 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 <unistd.h> | |
#include <stdio.h> | |
#include <sys/socket.h> | |
#include <sys/wait.h> | |
const int k_BufferSize = 255; | |
int main() |
This file contains 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
docker network create -d bridge mynet | |
docker run --rm --name elastic --net mynet -p 9200:9200 -e "http.host=0.0.0.0" -e "transport.host=127.0.0.1" docker.elastic.co/elasticsearch/elasticsearch:5.2.2 | |
docker run --rm --name kibana --net mynet -p 5601:5601 -e ELASTICSEARCH_URL=http://elastic:9200 docker.elastic.co/kibana/kibana:5.2.2 |
I hereby claim:
- I am bbqtd on github.
- I am bbqtd (https://keybase.io/bbqtd) on keybase.
- I have a public key ASDnlGqpwJgQSrmsSEQriyIzPLPqCxI0YEjWSAoFaVSDfwo
To claim this, I am signing this object:
- macOS 10.15.5
- tmux 3.1b
macOS has ncurses version 5.7 which does not ship the terminfo description for tmux. There're two ways that can help you to solve this problem.
Instead of tmux-256color
, use screen-256color
which comes with system. Place this command into ~/.tmux.conf
or ~/.config/tmux/tmux.conf
(for version 3.1 and later):