- Формализация
- Квантификация данных
- Шкалы:
- Номинальная
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
using System; | |
namespace MyNamespace | |
{ | |
public static class DateTimeExtensions | |
{ | |
public static DateTime GetLast(this DateTime date, DayOfWeek day) => | |
date.AddDays(-(DaysInWeek - (int) day + (int) date.DayOfWeek) % DaysInWeek); | |
public static DateTime GetNext(this DateTime date, DayOfWeek day) => |
I hereby claim:
- I am khazbs on github.
- I am p3ps1m4n (https://keybase.io/p3ps1m4n) on keybase.
- I have a public key ASAUBaKV6niYKZh8QnyvAaNFraJXC6eL7stJIiStEmFFsQo
To claim this, I am signing this object:
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
column = [line.strip().split()[1] for line in open('file.txt', 'r', encoding='utf-8')] |
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
server { | |
# Listen for http: | |
listen [::]:80; | |
listen 80; | |
# Handle . and www. | |
server_name example.com www.example.com; | |
# Redirect to https: | |
return 301 https://$host$request_uri; |
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
group: Hotel_Adam | |
RoomType = { | |
tid:number, rtName:string, nightPrice:number | |
1, "Standard single room", 40 | |
2, "Standard double room", 50 | |
3, "Luxury double room", 60 | |
4, "Family of four room", 100 | |
} |
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
group: Hotel_Adam | |
RoomType = { | |
tid:number, rtName:string, nightPrice:number | |
1, "Standard single room", 40 | |
2, "Standard double room", 50 | |
3, "Luxury double room", 60 | |
4, "Family of four room", 100 | |
} |
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
group: Hotel_Adam | |
RoomType = { | |
tid:number, rtName:string, nightPrice:number | |
1, "Standard single room", 40 | |
2, "Standard double room", 50 | |
3, "Luxury double room", 60 | |
4, "Family of four room", 100 | |
} |
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
group: Hotel_Adam | |
RoomType = { | |
tid:number, rtName:string, nightPrice:number | |
1, "Standard single room", 40 | |
2, "Standard double room", 50 | |
3, "Luxury double room", 60 | |
4, "Family of four room", 100 | |
} |
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
-- Arthur Khazbulatov (BBI1803) | |
-- Task 1 | |
/* | |
π Number, rtName ( | |
σ s > 32 ( | |
Room ⨝ RoomType | |
) | |
) | |
*/ |