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
import requests,requests_cache | |
import lxml.html | |
from urlparse import urljoin | |
requests_cache.configure('/tmp/cache') | |
def print_url(r, *args, **kwargs): | |
print r.status_code, r.url | |
r.html = lxml.html.fromstring(r.text) | |
return r |
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
$ grep 'Rządowe' *.txt | |
$ grep 'Centrum' *.txt | |
pdf-index.html.282.txt:odpisów „sprawozdania (kopii) z ‘kontroli’ przeprowadzonej w Urzędzie Gminy W – wa Centrum z | |
pdf-index.html.282.txt:Urzędzie Gminy W – wa Centrum z mojego {Pana X } wniosku przez pracownicę Wydziału | |
pdf-index.html.282.txt:Urzędzie Gminy W – wa Centrum z mojego wniosku przez pracownicę Wydziału Kontroli | |
pdf-index.html.282.txt:„sprawozdanie (...) z ‘kontroli’ przeprowadzonej w Urzędzie Gminy W – wa Centrum z mojego | |
pdf-index.html.282.txt:przeprowadzonej w Urzędzie Gminy W – wa Centrum z mojego {Pana X} wniosku przez | |
pdf-index.html.283.txt:odpisów „sprawozdania (kopii) z ‘kontroli’ przeprowadzonej w Urzędzie Gminy W – wa Centrum z | |
pdf-index.html.283.txt:Urzędzie Gminy W – wa Centrum z mojego {Pana X } wniosku przez pracownicę Wydziału | |
pdf-index.html.283.txt:Urzędzie Gminy W – wa Centrum z mojego wniosku przez pracownicę Wydziału Kontroli |
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
gistup |
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
gistup |
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
from django.db import models | |
# Create your models here. | |
class Area(models.Model): | |
name = models.CharField(max_length=50) | |
def __unicode__(self): | |
return self.name | |
class DataType(models.Model): | |
title = models.CharField("Tytul", max_length=250) |
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
/* Zadanie 1 | |
Użytkownik wprowadza n liczb całkowitych a program zapisuje je w odwrotnej kolejności do pliku | |
jeżeli plik istnieje to dopisuje liczby na końcu. */ | |
#include <iostream> | |
#include <fstream> | |
#include <cstring> | |
using namespace std; | |
int odwroc(int liczba){ | |
int r=0; |
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/: | |
razem 148K | |
drwxrwxr-x 2 adas adas 4,0K sty 18 20:27 ./ | |
drwxrwxr-x 9 adas adas 4,0K sty 18 20:35 ../ | |
-rw-rw-r-- 1 adas adas 130K lis 17 13:04 rozladowanie-kodensatora.odt | |
2/: | |
razem 36K | |
drwxrwxr-x 2 adas adas 4,0K sty 18 20:28 ./ | |
drwxrwxr-x 9 adas adas 4,0K sty 18 20:35 ../ |
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
gistup |
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> | |
using namespace std; | |
/* Zadanie 1 | |
* Grupa I-2 | |
* Dany jest ciag n-elementowy liczb calkowitych zakonczony zerem. | |
* Napisz program, ktory wczytuje kolejne elementy tego ciagu policzy | |
* i wypisze iloczyn cyfr liczb nieparzystych i sume cyfr | |
* liczb nieparzystych. Uzyj funkcji. | |
* Dane przekazuj przez parametry. */ |
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
public class ArrayStack<T> implements Stack<T> { | |
public Object[] mData = new Object[10]; | |
public int mPosition; | |
public ArrayStack() { | |
} | |
/* (non-Javadoc) |
OlderNewer