Skip to content

k17pine/kottans-backend

Repository files navigation

kottans-backend

Finished first task.

Unix Shell

screen Finally done Unix Shell part. There was some new commands, like for printing que control. I intend to use GUI instead.

Git Collaboration

screen

Python Basics 1

https://www.hackerrank.com/k17pine

Memory Management

7f3ae2760000-7f3ae276b000 r-xp 00000000 00:00 154773             /lib/x86_64-linux-gnu/libnss_files-2.27.so
7f3ae276b000-7f3ae276c000 ---p 0000b000 00:00 154773             /lib/x86_64-linux-gnu/libnss_files-2.27.so
7f3ae276c000-7f3ae296a000 ---p 0000000c 00:00 154773             /lib/x86_64-linux-gnu/libnss_files-2.27.so
7f3ae296a000-7f3ae296b000 r--p 0000a000 00:00 154773             /lib/x86_64-linux-gnu/libnss_files-2.27.so
7f3ae296b000-7f3ae296c000 rw-p 0000b000 00:00 154773             /lib/x86_64-linux-gnu/libnss_files-2.27.so
7f3ae296c000-7f3ae2972000 rw-p 00000000 00:00 0
7f3ae2980000-7f3ae2997000 r-xp 00000000 00:00 154767             /lib/x86_64-linux-gnu/libnsl-2.27.so
7f3ae2997000-7f3ae2998000 ---p 00017000 00:00 154767             /lib/x86_64-linux-gnu/libnsl-2.27.so
7f3ae2998000-7f3ae2b96000 ---p 00000018 00:00 154767             /lib/x86_64-linux-gnu/libnsl-2.27.so
7f3ae2b96000-7f3ae2b97000 r--p 00016000 00:00 154767             /lib/x86_64-linux-gnu/libnsl-2.27.so
7f3ae2b97000-7f3ae2b98000 rw-p 00017000 00:00 154767             /lib/x86_64-linux-gnu/libnsl-2.27.so
7f3ae2b98000-7f3ae2b9a000 rw-p 00000000 00:00 0
7f3ae2ba0000-7f3ae2bab000 r-xp 00000000 00:00 154777             /lib/x86_64-linux-gnu/libnss_nis-2.27.so
7f3ae2bab000-7f3ae2bac000 ---p 0000b000 00:00 154777             /lib/x86_64-linux-gnu/libnss_nis-2.27.so
7f3ae2bac000-7f3ae2daa000 ---p 0000000c 00:00 154777             /lib/x86_64-linux-gnu/libnss_nis-2.27.so
7f3ae2daa000-7f3ae2dab000 r--p 0000a000 00:00 154777             /lib/x86_64-linux-gnu/libnss_nis-2.27.so
7f3ae2dab000-7f3ae2dac000 rw-p 0000b000 00:00 154777             /lib/x86_64-linux-gnu/libnss_nis-2.27.so
7f3ae2db0000-7f3ae2db8000 r-xp 00000000 00:00 154769             /lib/x86_64-linux-gnu/libnss_compat-2.27.so
7f3ae2db8000-7f3ae2dba000 ---p 00008000 00:00 154769             /lib/x86_64-linux-gnu/libnss_compat-2.27.so
7f3ae2dba000-7f3ae2fb8000 ---p 0000000a 00:00 154769             /lib/x86_64-linux-gnu/libnss_compat-2.27.so
7f3ae2fb8000-7f3ae2fb9000 r--p 00008000 00:00 154769             /lib/x86_64-linux-gnu/libnss_compat-2.27.so
7f3ae2fb9000-7f3ae2fba000 rw-p 00009000 00:00 154769             /lib/x86_64-linux-gnu/libnss_compat-2.27.so
7f3ae2fc0000-7f3ae31a7000 r-xp 00000000 00:00 154687             /lib/x86_64-linux-gnu/libc-2.27.so
7f3ae31a7000-7f3ae31b0000 ---p 001e7000 00:00 154687             /lib/x86_64-linux-gnu/libc-2.27.so
7f3ae31b0000-7f3ae33a7000 ---p 000001f0 00:00 154687             /lib/x86_64-linux-gnu/libc-2.27.so
7f3ae33a7000-7f3ae33ab000 r--p 001e7000 00:00 154687             /lib/x86_64-linux-gnu/libc-2.27.so
7f3ae33ab000-7f3ae33ad000 rw-p 001eb000 00:00 154687             /lib/x86_64-linux-gnu/libc-2.27.so
7f3ae33ad000-7f3ae33b1000 rw-p 00000000 00:00 0
7f3ae33c0000-7f3ae33c3000 r-xp 00000000 00:00 154710             /lib/x86_64-linux-gnu/libdl-2.27.so
7f3ae33c3000-7f3ae33c4000 ---p 00003000 00:00 154710             /lib/x86_64-linux-gnu/libdl-2.27.so
7f3ae33c4000-7f3ae35c2000 ---p 00000004 00:00 154710             /lib/x86_64-linux-gnu/libdl-2.27.so
7f3ae35c2000-7f3ae35c3000 r--p 00002000 00:00 154710             /lib/x86_64-linux-gnu/libdl-2.27.so
7f3ae35c3000-7f3ae35c4000 rw-p 00003000 00:00 154710             /lib/x86_64-linux-gnu/libdl-2.27.so
7f3ae35d0000-7f3ae35f5000 r-xp 00000000 00:00 154832             /lib/x86_64-linux-gnu/libtinfo.so.5.9
7f3ae35f5000-7f3ae35fa000 ---p 00025000 00:00 154832             /lib/x86_64-linux-gnu/libtinfo.so.5.9
7f3ae35fa000-7f3ae37f5000 ---p 0000002a 00:00 154832             /lib/x86_64-linux-gnu/libtinfo.so.5.9
7f3ae37f5000-7f3ae37f9000 r--p 00025000 00:00 154832             /lib/x86_64-linux-gnu/libtinfo.so.5.9
7f3ae37f9000-7f3ae37fa000 rw-p 00029000 00:00 154832             /lib/x86_64-linux-gnu/libtinfo.so.5.9
7f3ae3800000-7f3ae3826000 r-xp 00000000 00:00 154663             /lib/x86_64-linux-gnu/ld-2.27.so
7f3ae3826000-7f3ae3827000 r-xp 00026000 00:00 154663             /lib/x86_64-linux-gnu/ld-2.27.so
7f3ae3883000-7f3ae38b4000 r--p 00000000 00:00 156227             /usr/lib/locale/C.UTF-8/LC_CTYPE
7f3ae38b4000-7f3ae3a27000 r--p 00000000 00:00 156226             /usr/lib/locale/C.UTF-8/LC_COLLATE
7f3ae3a27000-7f3ae3a28000 r--p 00027000 00:00 154663             /lib/x86_64-linux-gnu/ld-2.27.so
7f3ae3a28000-7f3ae3a29000 rw-p 00028000 00:00 154663             /lib/x86_64-linux-gnu/ld-2.27.so
7f3ae3a29000-7f3ae3a2a000 rw-p 00000000 00:00 0
7f3ae3a35000-7f3ae3bd0000 r--p 00000000 00:00 156238             /usr/lib/locale/locale-archive
7f3ae3bd0000-7f3ae3bd3000 rw-p 00000000 00:00 0
7f3ae3be0000-7f3ae3be2000 rw-p 00000000 00:00 0
7f3ae3be3000-7f3ae3be4000 r--p 00000000 00:00 156234             /usr/lib/locale/C.UTF-8/LC_NUMERIC
7f3ae3be4000-7f3ae3be5000 r--p 00000000 00:00 156237             /usr/lib/locale/C.UTF-8/LC_TIME
7f3ae3be5000-7f3ae3be6000 r--p 00000000 00:00 156232             /usr/lib/locale/C.UTF-8/LC_MONETARY
7f3ae3be6000-7f3ae3be7000 r--p 00000000 00:00 156231             /usr/lib/locale/C.UTF-8/LC_MESSAGES/SYS_LC_MESSAGES
7f3ae3be7000-7f3ae3be8000 r--p 00000000 00:00 156235             /usr/lib/locale/C.UTF-8/LC_PAPER
7f3ae3be8000-7f3ae3be9000 r--p 00000000 00:00 156233             /usr/lib/locale/C.UTF-8/LC_NAME
7f3ae3be9000-7f3ae3bea000 r--p 00000000 00:00 156225             /usr/lib/locale/C.UTF-8/LC_ADDRESS
7f3ae3bea000-7f3ae3beb000 r--p 00000000 00:00 156236             /usr/lib/locale/C.UTF-8/LC_TELEPHONE
7f3ae3beb000-7f3ae3bec000 r--p 00000000 00:00 156229             /usr/lib/locale/C.UTF-8/LC_MEASUREMENT
7f3ae3bec000-7f3ae3bf3000 r--s 00000000 00:00 162148             /usr/lib/x86_64-linux-gnu/gconv/gconv-modules.cache
7f3ae3bf3000-7f3ae3bf4000 r--p 00000000 00:00 156228             /usr/lib/locale/C.UTF-8/LC_IDENTIFICATION
7f3ae3c00000-7f3ae3d03000 r-xp 00000000 00:00 152409             /bin/bash
7f3ae3d03000-7f3ae3d04000 r-xp 00103000 00:00 152409             /bin/bash
7f3ae3f03000-7f3ae3f07000 r--p 00103000 00:00 152409             /bin/bash
7f3ae3f07000-7f3ae3f10000 rw-p 00107000 00:00 152409             /bin/bash
7f3ae3f10000-7f3ae3f1a000 rw-p 00000000 00:00 0
7fffbc5fd000-7fffbc750000 rw-p 00000000 00:00 0                  [heap]
7fffc2dde000-7fffc35de000 rw-p 00000000 00:00 0                  [stack]
7fffc3acb000-7fffc3acc000 r-xp 00000000 00:00 0                  [vdso]
Heap - 7fffbc5fd000-7fffbc750000, Stack - 7fffc2dde000-7fffc35de000, MMS - 7f3ae2760000-7f3ae276b000  

TCP. UDP. Network

screen screen

Http & Https

curl https://api.github.com/users/k17pine curl -i https://api.github.com/users/k17pine curl https:/api.github.com/gist/starred curl --user "USERNAME:BLABLA" https://api.github.com/gist/starred curl --user "k17pine:" https://api.github.com/gist/starred curl --user "k17pine" https://api.github.com/gists/starred curl --user "k17pine:" https://api.github.com/users/k17pine curl -i https://api.github.com/orgs/kottans/repos

Name at least three possible negative consequences of not using https. . Your massege could be edited by third part . Your messege could be seen by third part Explain the main idea behind public key cryptography in few sentences Public key helps to encript massege, but not to decript. So, anybody who has PK could send information without risk. It couldn't (in some conditions could) editet or readed without privat key.

add new pet (including name, age, breed, owner's name, medical history) search pet by name GET() change name of an existing pet SET() add new info about pet's health SET() assign a pet to a particular doctor in the clinic register an appointment for a pet. This request should include info about pet, doctor and appointment date and time.

These request verbs are:

GET: fetch an existing resource. The URL contains all the necessary information the server needs to locate and return the resource. POST: create a new resource. POST requests usually carry a payload that specifies the data for the new resource. PUT: update an existing resource. The payload may contain the updated data for the resource. DELETE: delete an existing resource. The above four verbs are the most popular, and most tools and frameworks explicitly expose these request verbs. PUT and DELETE are sometimes considered specialized versions of the POST verb, and they may be packaged as POST requests with the payload containing the exact action: create, update or delete.

There are some lesser used verbs that HTTP also supports:

HEAD: this is similar to GET, but without the message body. It's used to retrieve the server headers for a particular resource, generally to check if the resource has changed, via timestamps. TRACE: used to retrieve the hops that a request takes to round trip from the server. Each intermediate proxy or gateway would inject its IP or DNS name into the Via header field. This can be used for diagnostic purposes. OPTIONS: used to retrieve the server capabilities. On the client-side, it can be used to modify the request based on what the server can support.

Patterns

screen

File System

FS FS

Runtime, Ecosystem and I/O

Databases

Weather APP

Done :3

Releases

No releases published

Packages

No packages published

Languages