This file contains hidden or 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> | |
#include <vector> | |
using namespace std; | |
vector <int> mass,mask; | |
int POW(int x,int y){ //НЕ РАБОТАЕТ СТАНДАРТНЫЙ | |
int rez; | |
if (y==0) | |
return 1; | |
else{ | |
rez=x; |
This file contains hidden or 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
Модуль центрального процессора предназначен | |
4 | |
+1) для управления работой коммутационного блока | |
+2) для обработки алгоритмов соединений | |
+3) для коммутации подключённых каналов и линий | |
-4) для обслуживания функций СОРМ | |
- | |
Блок сигнального процессора предназначен | |
5 | |
+1) для генерации сигналов станции |
This file contains hidden or 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
Каргаполов - Asterisk / smg 2016 | |
Хомич - tau.36 | |
Смильский - tau.36 | |
Шнайдер - ядро | |
Печенин - ядро | |
Чирков - mes 2208 etth |
This file contains hidden or 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
from selenium import webdriver | |
class Lake: | |
def get_numbers(self): | |
step = 1; | |
self.driver = webdriver.Firefox(); | |
self.driver.implicitly_wait(5) | |
self.driver.get("https://giant-goannas.ctfcompetition.com/") | |
while 1: | |
if not "Did" in self.driver.page_source: | |
self.driver.find_element_by_xpath("//a").click() |
This file contains hidden or 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
Что является аналогом множественного наследования в некоторых ЯП: | |
Многоуровневое наследование | |
Интерфейсы | |
Полиморфизм | |
Композиция | |
События позволяют... (продолжить утверждение) | |
Манипулировать отношением реализации | |
При возникновении каких-либо ситуаций реализовывать инкапсуляцию к классу прослушивателя | |
Классу или объекту уведомлять другиеклассы, объекты или систему о возникновении каких-либо ситуаций | |
Расширяемость - одно из самых значительных достоинств ООП. Что она означает ? |
This file contains hidden or 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
<script> | |
var lolled = 4646704883 | |
var x = 2465234863 | |
var y = 3880197529 | |
x = (x * 2 + 3) % lolled | |
y = (y * 2 + 9) % lolled | |
document.writeln(x) | |
document.writeln(y) | |
</script> |
This file contains hidden or 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 в операционной системе ubuntu выполняется командой: | |
curl -fsSL https://get.docker.com/ | sh | |
После чего необходимо выполнить рекомендованную команду | |
usermod -a -G | |
docker pull jmar71n/freepbx - команда для скачивания контейнера freePBX | |
ждём автоматического скачивания и установки. | |
docker ps -a |
This file contains hidden or 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> | |
#include <vector> | |
using namespace std; | |
vector <int> new_vector; | |
int main() { | |
new_vector.push_back(10); | |
new_vector.push_back(10); | |
new_vector.push_back(20); |
This file contains hidden or 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
3. Одна из сетей Интернет имеет адресацию класса В, необходимо организовать 16 подсетей. | |
Определите маску адресов подсетей, диапазон адресов подсетей и запишите адреса 3,7,13 подсетей. | |
Старшие биты для различных классов сетей | |
A - 0 | |
B - 10 | |
C - 110 | |
0.0.0.0 (10) | |
Необходимо организовать x = 16 подсетей, определяем, сколько понадобится для этого бит (П). log2(x). |
This file contains hidden or 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
#! /home/bilinin/env34/bin/python3.4 | |
import pymorphy2 | |
morph = pymorphy2.MorphAnalyzer() | |
f_words = ['который', 'которая', 'которое'] | |
out_str = "ПУСТО" | |
used_pos = [] |