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
| Downloading/unpacking talon | |
| Using download cache from /home/adas/.cache/pip/https%3A%2F%2Fpypi.python.org%2Fpackages%2Fsource%2Ft%2Ftalon%2Ftalon-1.0.2.tar.gz | |
| Running setup.py (path:/home/adas/.virtualenvs/zabawki/build/talon/setup.py) egg_info for package talon | |
| warning: no previously-included files matching '*.pyc' found under directory 'tests' | |
| warning: no previously-included files matching '*~' found under directory 'tests' | |
| warning: no previously-included files matching '*.pyc' found under directory 'talon' | |
| warning: no previously-included files matching '*~' found under directory 'talon' | |
| warning: no files found matching 'train.data' | |
| warning: no files found matching 'classifier' |
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
| /* Zadanie 5 | |
| Program generuje liczby całkowite do macierzy o | |
| wymiarze 10x10, a następnie oblicza i wyświetla | |
| sumę liczb na przekątnych macierzy. */ | |
| public class FiveArray extends Matrix{ | |
| //int[][] data; | |
| //int w; | |
| //int h; | |
| public FiveArray(int h) { |
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
| public class SimplyCheck implements TenArray.Checkable{ | |
| public boolean check(int i, int j) { | |
| if(i == 0){ return (j == 1 ? true : false); }; | |
| if(j == 0){ return (i == 1 ? true : false); }; | |
| while (i != j) { | |
| if (i > j) { | |
| i -= j; | |
| } else { | |
| j -= i; |
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 java.util.Scanner; | |
| /* 15:54 | |
| * Zadanie 5 | |
| Napisz program, który pobiera od użytkownika pięd dat | |
| w formie DD.MM.YYYY, następnie segreguje je w kolejności | |
| rosnącej. Jeżeli wpisania przez użytkownika data dotyczy | |
| roku 2013 to program wyrzuca wyjątek. | |
| */ | |
| public class Date { |
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
| package v3; | |
| public class Bus extends Vehicle { | |
| private int fuelConsumption; | |
| public Bus(int id, int maxSpeed, int fuelConsumption) { | |
| super(id, maxSpeed); | |
| this.fuelConsumption = fuelConsumption; | |
| } |
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
| package v1; | |
| import java.util.LinkedList; | |
| import java.util.Scanner; | |
| public abstract class Algorithm { | |
| protected LinkedList<Integer> datas = new LinkedList<Integer>(); | |
| public Scanner sc = new Scanner(System.in); | |
| public Algorithm() { |
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
| <p>Hello <%= name %> from <%= street %>!<br> | |
| What do you want to do?</p> | |
| <p>Greetings,<br> | |
| XYZ</p> |
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
| #!/bin/bash | |
| if [ -z "$1" ]; then | |
| echo -n "Enter db_name: "; | |
| read db_name; | |
| exit; | |
| else | |
| db_name="$1"; | |
| fi; | |
| password=$(strings /dev/urandom | grep -o '[[:alnum:]]' | head -n 15 | tr -d '\n'); |
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
| package lab11; | |
| import java.awt.event.ActionEvent; | |
| import java.awt.event.ActionListener; | |
| import java.util.ArrayList; | |
| import javax.swing.JTextField; | |
| class AddAction implements ActionListener { | |
| ArrayList<Double> data; |
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
| package lab12; | |
| public class Address { | |
| private String street; | |
| private int apartmentNumber; | |
| private int houseNumber; | |
| public Address(String street, int apartmentNumber, int houseNumber) { | |
| this.street = street; | |
| this.apartmentNumber = apartmentNumber; | |
| this.houseNumber = houseNumber; |