Skip to content

Instantly share code, notes, and snippets.

#include <iostream>
using namespace std;
class Pasazer
{
private:
string imie;
string nazwisko;
int rok_urodzenia;
@M1nified
M1nified / data.txt
Created January 19, 2021 19:00
Gaus
0.02 0.01 0 0 0.02
1 2 1 0 1
0 1 2 1 4
0 0 100 200 800
// ==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
#include <iostream>
struct node {
int val;
struct node *next;
};
void add (node*& head, int x)
{
node *new_node = new node;
@M1nified
M1nified / addrfuncs.py
Last active April 16, 2020 00:24
Subnetwork calculator
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]
; 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
@M1nified
M1nified / Dockerfile
Created January 15, 2020 16:40
UJ-Obiektowe-TestyMutacyjne
FROM python:3.7-slim
RUN pip3 install numpy
RUN pip3 install mutpy
@M1nified
M1nified / x.cpp
Last active December 14, 2019 15:22
// 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;
#include <stdio.h>
#define ROZMIAR_TABLICY 10
int fun(int i){
int x = i * 4;
return x;
}