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 reckej jogurt (cca 125g) | |
2 vejce | |
50g masla | |
180g (trtinovyho) cukru | |
150g hladky mouky | |
0.5l plnotucnyho mlika | |
skorice, citron | |
rozmicham jogurt s vejcema, povolenym maslem a cukrem. pridam mliko, stavu z pulky | |
citronu. az to bude absolutne bez hrudek, pres sitko pomalu vmichavam mouku. pridam trochu |
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
def run_shell_cmd(cmd, shell=False, log_errors=True): | |
log.debug('Running cmd %s', cmd) | |
cmd = shlex.split(cmd) if not shell else cmd | |
process = subprocess.Popen( | |
cmd, | |
shell=shell, | |
stdout=subprocess.PIPE, | |
stderr=subprocess.PIPE, | |
universal_newlines=True) |
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
-olivac | |
-spek | |
-vetsi cibule | |
-1.5-2 libovy klobasy (oblibuju vod Dolejsich z Davle) | |
-fazole typu "red kindey" (kdyz nemas/nemas namoceny, jebnes dve konzervy, ktery dost oplachnes od slizu a nikomu to nereknes) | |
-safran | |
-dve vetsi chilli (damian, nebo "od vietnamcu z vecerky") | |
-4 listky bobkace | |
-dvojka suchyho cervenyho | |
-cca litr vyvaru |
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
[EN] | |
- unique: 4581 | |
- most common: | |
Harry: 1400 | |
say: 879 | |
Ron: 434 | |
look: 419 | |
Hagrid: 371 | |
know: 310 | |
go: 279 |
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
In [42]: for one in hp1: | |
...: if 'entrecejo' in one['chunk'].text or 'esquina' in one['chunk'].text: | |
...: print(one) | |
...: | |
{'chunk': la esquina, 'root': 'esquina', 'dep': 'obl', 'head': 'llegar', 'root_lemma': 'esquina', 'head_lemma': 'llegar'} | |
{'chunk': la esquina, 'root': 'esquina', 'dep': 'obl', 'head': 'atigrado', 'root_lemma': 'esquina', 'head_lemma': 'atigrado'} | |
{'chunk': la esquina, 'root': 'esquina', 'dep': 'obl', 'head': 'daba', 'root_lemma': 'esquina', 'head_lemma': 'dar'} | |
{'chunk': la esquina, 'root': 'esquina', 'dep': 'obl', 'head': 'inmóvil', 'root_lemma': 'esquina', 'head_lemma': 'inmóvil'} | |
{'chunk': la esquina, 'root': 'esquina', 'dep': 'obl', 'head': 'apareció', 'root_lemma': 'esquina', 'head_lemma': 'aparecer'} | |
{'chunk': la esquina, 'root': 'esquina', 'dep': 'obl', 'head': 'detuvo', 'root_lemma': 'esquina', 'head_lemma': 'detener'} |
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
# coding=utf-8 | |
# pip install pandas xlrd | |
import collections | |
import pandas as pd | |
df = pd.read_excel('https://www.mvcr.cz/odk2/soubor/databaze-obci-1-1-2014-xlsx.aspx') | |
cleaned = [] |
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
;; packaging | |
(require 'package) | |
(setq package-archives '(("gnu" . "https://elpa.gnu.org/packages/") | |
("melpa" . "https://melpa.org/packages/") | |
("melpa-stable" . "https://stable.melpa.org/packages/")) | |
package-archive-priorities | |
'(("melpa-stable" . 10) | |
("gnu" . 5) | |
("melpa" . 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
#!/bin/bash | |
[ -z "$1" ] && echo "Pass a Kodi IP" && exit 1 | |
curl -sS -H 'Content-Type: application/json' --data-binary '{ "id": 1, "jsonrpc": "2.0", "method": "Player.Stop", "params": { "playerid": 2 } }' "http://$1/jsonrpc" -o /dev/null |
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
# pip install requests xmltodict pandas | |
import datetime | |
import time | |
import os | |
import requests | |
import xmltodict | |
import pandas as pd |
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
http://www.nbu.gov.sk/skcsirt-sa-20170909-pypi/ | |
https://www.pytosquatting.org/ |
NewerOlder