View gist:34b8213f6592f550024570de3f2fd025
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 |
View meh.py
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) |
View sfe.txt
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 |
View hpfreq.py
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 |
View gist:7d142d7130d7806c2a9a885c4defa8ba
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'} |
View dedina.py
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 = [] |
View init.el
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))) |
View kodi-stop.sh
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 |
View volby2018.py
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 |
View gist:4b532031a99559a0c27e0dc8d7b38fe4
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