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
const makeRequest = (url) => Promise.resolve(`response from ${url}`); | |
const urls = [ | |
'https://google.com', | |
'https://yandex.com', | |
'https://yandex.ru', | |
'https://ya.ru', | |
'https://duckduckgo.com', | |
]; |
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
alias docker-terminal="docker exec -it --env COLUMNS=`tput cols` --env LINES=`tput lines`" |
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 "cuda_runtime.h" | |
#include "device_launch_parameters.h" | |
#include <chrono> | |
#include <cstdint> | |
#include <fstream> | |
#include <iostream> | |
#include <stdio.h> | |
#include <vector> |
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
// NBodyProblem.cpp: определяет точку входа для консольного приложения. | |
//#include "stdafx.h" | |
#include <iostream> | |
#include <iomanip> | |
#include <cstdlib> | |
#include <ctime> | |
#include <cmath> | |
#include <omp.h> | |
#include <fstream> |
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. | |
* | |
* Вывести разложение натурального числа n | |
* на простые множители. Простые множители | |
* должны быть упорядочены по возрастанию | |
* и разделены пробелами. | |
* | |
* 2 ≤ n ≤ 10e6 |
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
class Gettable | |
{ | |
public: | |
explicit Gettable(int attribute); | |
Gettable &setAttribute(int attribute); | |
int attribute() const; | |
private: | |
int _attribute; |
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 <iostream> | |
using namespace std; | |
int main() | |
{ | |
char c = 0; | |
while (true) { | |
cin >> 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
git filter-branch --prune-empty --index-filter "git rm --cached -f --ignore-unmatch path/to/file" --tag-name-filter cat -- --all |
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
# coding: utf-8 | |
""" | |
Алгоритм имитации из статьи Тригонометрический -> Уолш для белого шума, сигнала с треугольной ФСПМ и сигнала с | |
экспоненциальной ФСПМ. | |
""" | |
import correlation as cor | |
import matplotlib.pyplot as plt | |
import numpy as np |
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
""" | |
Описание базисных функций и базовых алгоритмов для формирования матриц ядра преобразований | |
различных спектров | |
""" | |
import collections | |
import itertools | |
import math | |
import numpy as np |
NewerOlder