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 describe first layer, functions, what protocols? | |
PHYSICAL LAYER: | |
interacts with transmision media (wire, fibre, air) | |
functions: - transform bits to analog signals, | |
- bit rate control, | |
- multiplexing to logical channels | |
- circuit switching : old telephones, two network nodes establish communication channel which guarantees | |
the full bandwidth | |
- bit syncronisation |
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> | |
#include <string.h> | |
#include <algorithm> | |
#include <stdio.h> | |
using namespace std; | |
int main() | |
{ | |
char a [7]; |
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
a = list(input()) | |
b = list(input()) | |
changed = 1 | |
def max(arr): | |
m = '0' | |
k = 0 | |
for i,j in enumerate(arr): | |
if m < j: | |
m = j |
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 <stdio.h> | |
#include <float.h> | |
using namespace std; | |
bool isUpper(double t, int[] s, int[] v) { | |
double m = FLT_MIN; | |
for (int i = 0; i < n; ++i) |
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 <stdio.h> | |
#include <iostream> | |
using namespace std; | |
int main() | |
{ | |
int n, min_i = 0, max_i = 0, tmp_i = 0, max_sum=0, curr_sum=0; | |
cin >> n; | |
int arr[n]; |
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 <stdio.h> | |
#include <iostream> | |
#include <string.h> | |
#include <algorithm> | |
#define N 10000 | |
using namespace std; | |
int filter(char* str, char* out, int out_pos){ | |
int len = strlen(str); |
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
~tom sudo apt-get autoremove | |
Reading package lists... Done | |
Building dependency tree | |
Reading state information... Done | |
The following packages will be REMOVED: | |
linux-headers-3.16.0-23 linux-headers-3.16.0-23-generic | |
linux-image-3.16.0-23-generic linux-image-extra-3.16.0-23-generic | |
0 upgraded, 0 newly installed, 4 to remove and 0 not upgraded. | |
11 not fully installed or removed. | |
After this operation, 281 MB disk space will be freed. |
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
def backprop(self, thetas): | |
theta = self.shape_thetas(thetas) | |
a1 = add_ones(X) | |
z2 = a1.dot(theta[0]) | |
a2 = add_ones(g(z2)) | |
z3 = a2.dot(theta[1]) | |
a3 = add_ones(g(z3)) |
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
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCskYB8BNd9f1OCWNj0zNPnW3ry/VttHP2Td37pFLVaC99oGHE+mB5GEoyWvOoJaD64r3uoFJmBmAKHzZ/qjndDWUEYzx9lWf7VLhMWpbhyxM6O5SlFgZgoHrzUJ/dznbEY9up735qCQKHZCaS5M3VSjXTq1vmQG+45LdjbZaMpAVIr8sKbpFxm+mfWokAxdBFXTA8PsVVc093REIzSW+K+GkjqQ2X0DuXRm6QZTFUSedz+bannIWrz7Y9gwbrMRyA7OjMyIO9pbk+D/Qp0sk2wpxqRLFYFMU8FkcHr9jVQ8efAQYpgX6WyDlomn6+e2JBA5fBdwi91qeY4MM5vdtYJ tomaz@DESKTOP-5USODBB |