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
1. | |
?: Что такое Ардуино? | |
!: Ардуино - это набор устройств, язык программирования и среда разработки, которые позволяют решать задачи автоматизации и управления различными устройствами от простейших датчиков и реле до модернизации уже существующих сложных систем вроде механизмов стеклоподъёмников в автомобиле. | |
2. | |
?: Что можно сделать на основе Ардуино? | |
!: Возможности Ардуино ограничены лишь фантазией. Платформа Ардуино представляет базовый набор датчиков/исполнительных устройств для взаимодействия с внешним миром и устройств управления (программируемых контроллеров и микрокомпьютеров), способных реализовывать логику автоматизированного сбора данных и управления. | |
3. | |
?: 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
1. Реализовать программу расчёта значений функции: f(x) = a*x^2+b*x+c; f(x) = a * sin(2*pi*f0*x + xphi0); f(x) = sin(x)/x :: параметры функций запрашивать с консоли. Интервал и шаг аргумента также запрашивать с консоли. | |
2. Написать консольную программу, осуществляющую учёт данных студентов. Обеспечить возможность заполнения значений фамилии, имени, отчества, среднего бала и даты рождения с консоли, сохранение данных в структурированном виде в памяти и вывод результатов обратно на консоль. Число заполняемых "студентов" определять либо запросом в самом начале диалога с пользователем, либо до момента ввода пустой строки в качестве фамилии | |
3. Реализовать программу оценки статистических характеристик случайной величины (математическое ожидание, дисперсия). Сформировать выборку значений случайной величины, обладающей нормальным распределением и вычислить математическое ожидание (среднее значение) и дисперсию (математическое ожидание квадратов значений - (минус) квадрат математического ожидания значений). Случайн |
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
CREATE PROCEDURE [InsertEmployee] | |
@FirstName nvarchar(50), | |
@LastName nvarchar(50), | |
@Birthday date, | |
@Department nvarchar(50), | |
@Department_id int = 0 | |
AS | |
SELECT @Department_id=id from Department WHERE (Name = @Department) | |
IF (@Department_id =0) | |
INSERT INTO Department (Name) VALUES (@Department) |
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
name: .NET Framework | |
on: | |
push: | |
branches: master | |
pull_request: | |
branches: master | |
jobs: | |
build: |
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
public class ConfigValue | |
{ | |
public string Key { get; set; } | |
public string Value { get; set; } | |
} |
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
https://www.metaweather.com/api/ - погода + поиск ближайших мест по координатам |
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
<Style TargetType="TextBlock"> | |
<Style.Resources> | |
<CubicEase x:Key="Easing" EasingMode="EaseInOut"/> | |
</Style.Resources> | |
<Setter Property="Foreground" Value="GreenYellow"/> | |
<Style.Triggers> | |
<DataTrigger Binding="{Binding IsChecked, ElementName=Checker}" Value="True"> | |
<Setter Property="Foreground" Value="Red"/> | |
<DataTrigger.EnterActions> | |
<BeginStoryboard> |
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
for %d in (bin obj) do @for /f %f in ('dir /s /b %d') do @rd /s /q %f |
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
public int Sum(List<int> source) => Sum(CollectionsMarshal.AsSpan(source)); | |
static int Sum(ReadOnlySpan<int> source) | |
{ | |
var sum = 0; | |
if (Vector.IsHardwareAccelerated && source.Length > Vector<int>.Count * 2) // use SIMD | |
{ | |
var vectors = MemoryMarshal.Cast<int, Vector<int>>(source); | |
var vectorSum = Vector<int>.Zero; |
OlderNewer