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> | |
using namespace std; | |
class Pasazer | |
{ | |
private: | |
string imie; | |
string nazwisko; | |
int rok_urodzenia; |
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
0.02 0.01 0 0 0.02 | |
1 2 1 0 1 | |
0 1 2 1 4 | |
0 0 100 200 800 |
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
// ==UserScript== | |
// @name Allegro - cena za sztukę | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description try to take over the world! | |
// @author You | |
// @match https://allegro.pl/listing* | |
// @match https://allegro.pl/oferta* | |
// @grant none | |
// @updateURL https://gist.githubusercontent.com/M1nified/c5880ed65568d255f5e49745b910aba4/raw/allegro-price-per-item.js |
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> | |
struct node { | |
int val; | |
struct node *next; | |
}; | |
void add (node*& head, int x) | |
{ | |
node *new_node = new node; |
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
import re, functools | |
RE_RAW_ADDR='^(\d{1,3}\.){3}\d{1,3}\/\d{1,2}$' | |
RE_RAW_SPLIT='\.|\/' | |
def is_raw_addr(raw_addr): | |
if re.fullmatch(RE_RAW_ADDR, raw_addr) is None: | |
return False | |
split = split_raw_addr(raw_addr) | |
octs = split[:4] |
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
xc |
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
; conditional statements examples; so called "if" | |
mov eax, 4 | |
; if(eax<=3) | |
cmp eax,3 | |
jle if_true_label | |
; if(eax<4) | |
cmp eax,4 |
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 python:3.7-slim | |
RUN pip3 install numpy | |
RUN pip3 install mutpy |
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
// Zaj3.cpp : This file contains the 'main' function. Program execution begins and ends there. | |
// | |
#include "pch.h" | |
#include <iostream> | |
#include <string> | |
using namespace std; | |
class CelsiusDeg; |
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 <stdio.h> | |
#define ROZMIAR_TABLICY 10 | |
int fun(int i){ | |
int x = i * 4; | |
return x; | |
} |
NewerOlder