Skip to content

Instantly share code, notes, and snippets.

This file has been truncated, but you can view the full file.
<!DOCTYPE html>
<!-- saved from url=(0103)https://www.whoscored.com/Matches/1553545/Live/International-European-Championship-2020-England-Germany -->
<html lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="https://d2zywfiolv4f83.cloudfront.net/" rel="dns-prefetch">
<link href="https://d2zywfiolv4f83.cloudfront.net/" rel="preconnect" crossorigin="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="apple-itunes-app" content="app-id=940048063">
<!-- #17 -->
@karlosos
karlosos / haar.py
Last active October 15, 2020 09:52
import numpy as np
import cv2
DEF_HEIGHT = 480
# each template defined via a list of white rectangles
# located within a unit square
# each rectangle given as a quadruple (j, k), (h, w)
HAAR_TEMPLATES = [
np.array([[0.0, 0.0, 1.0, 0.5]]), # left-right edge
@karlosos
karlosos / Kognitywistyka.ipynb
Last active May 30, 2020 09:21
Kognitywistyka
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@karlosos
karlosos / zadanie.md
Last active December 16, 2019 17:08
ADM zadanie
  1. Policzyć moc w 5 pasmach (alfa, beta, gamma itd.)
  2. Z każdego kanału krańce pasm przeskalować z Hz na nr prążków.
  3. 5 figur x 19 subplotów, gdzie na pojedynczym wykresie (dla kanału) mamy 9 epok porównanych.

  1. Podzielić dane do uczenia w formie
przykład cecha 1 ... cecha 95 klasa
@karlosos
karlosos / CART.py
Last active April 10, 2019 20:17
CART - stan na 10.04
"""
CART
"""
from sklearn import datasets
import time
from sklearn.model_selection import train_test_split
from classifiers import DecisionTree
import numpy as np
from misc import * # funkcje do picklowania
@karlosos
karlosos / CART.py
Last active March 28, 2019 16:14
Algorytm CART
"""
CART
"""
from sklearn import datasets
import time
from sklearn.model_selection import train_test_split
from classifiers import DecisionTree
import numpy as np
from misc import * # funkcje do picklowania
@karlosos
karlosos / application.js
Created August 23, 2016 11:55
application.js
// This is a manifest file that'll be compiled into application.js, which will include all the files
// listed below.
//
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
// or vendor/assets/javascripts of plugi1ns, if any, can be referenced here using a relative path.
//
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
// compiled file.
//
// Read Sprockets README (https://github.com/sstephenson/sprockets#sprockets-directives) for details
@karlosos
karlosos / chrome.js
Last active February 21, 2019 09:52
timo
// ==UserScript==
// @name Timocom
// @namespace timocom
// @description timocom
// @include https://my.timocom.com/app/tco/freight/search/
// @version 1
// @grant none
// ==/UserScript==
var button = "<button id=\"refresher\" aria-label=\"automatyczne odświeżanie\" aria-disabled=\"false\" role=\"button\" id=\"app:cnt:freightSearchForm:autorefreshBtn\" name=\"app:cnt:freightSearchForm:autorefreshBtn\" type=\"button\" class=\"ui-button ui-widget ui-state-default ui-corner-all ui-button-icon-only\" title=\"automatyczne odświeżanie [Ctrl+Alt+u]\" onclick=\"TC.tco.focusStack.push(this); return false;;window.location.href='/app/tco/freight/search/index.xhtml';\"><span class=\"ui-button-icon-left ui-icon tc-icon-intern tc-ticker-09\"></span><span class=\"ui-button-text\">&nbsp;</span><div class=\"tc-accessKeyInfo tc-accessKeyContext-STANDARD\">u</div><span class=\"tc-ticker-point tc-ticker-point-01\" style=\"display:none;\"></span></button>";
var enabled = false;

Baza danych - szkoła

Założenia

Diagram związków encji

Encja kursy

Cztery główne encje przedstawiające do czego na służyć baza danych. Z diagramu dowiadujemy się, że baza ma przechowywać kursy, które będą prowadzone przez nauczycieli w relacji wiele do wielu – czyli jeden wykładowca może prowadzić więcej niż jeden kurs, oraz kurs może być prowadzony przez więcej niż jednego wykładowce. Encja kursy ma zawierać nazwę kursu oraz jakiego podręcznika używa.

Encja kursant

Kursanci, którzy mogą uczestniczyć w więcej niż jednym kursie, oraz jeden kurs może mieć więcej niż jednego kursanta – a więc znowu mamy relacje wiele do wielu.

@karlosos
karlosos / zad.html
Created April 15, 2015 21:15
lab_14
<!DOCTYPE html>
<html>
<head>
<script src="http://code.jquery.com/jquery-latest.min.js"></script>
<title>おかしい</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- <script src="http://code.jquery.com/jquery-latest.min.js"></script> -->
<!-- zadanie 1 -->
<style>