- nutně něco potřebuju, abych si mohl uvařit
- chci si koupit kypřící prášek, vajíčka a vanilkový lusk (protože plánuju péct a nemam nakoupeno a tohle mi chybí)
- nejvíc mě zajímá čas doručení
- na DJS nefunguje, protože minimální obj. je 500, než řešit co všechno objednám za 500, tak si skočim do Žabky
- nákup něčeho co se mi nechce tahat
- zajímá mě přesnost doručení na plánovaný čas + čas (že to není třeba do druhého dne)
- když si to takhle naplánuju, tak objednám přes oběd a chci aby mi to dorazilo večer až budu doma
- zajímá mě sortiment (mají třeba mlíko "s uzávěrem"?)
- méně mě zajímají malé rozdíly v ceně (~2-5kč na mléce) - kupuju abych to netahal, ne abych ušetřil
- periodické nákupy
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
| <?php | |
| /** | |
| * INI configurations compare | |
| * | |
| * Usage: php compare.php file1.ini file2.ini | |
| * Result: Will export sorted arrays into *.res files to use with normal diff tool | |
| */ | |
| $x = parse_ini_file($argv[1],true); | |
| $y = parse_ini_file($argv[2],true); | |
| ksort($x); |
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
| dataQuery = { | |
| "query" : { | |
| "custom_filters_score" : { | |
| "query" : { | |
| "match" : { "_all" : query } | |
| }, | |
| "filters" : [ | |
| { | |
| "filter" : { "term" : {"_type" : "ticket"} }, | |
| "boost" : 1.5 |
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 socket | |
| def resolve(hostname): | |
| return socket.gethostbyname(hostname) |
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
| define command { | |
| command_name check_rbl | |
| command_line /opt/check_rbl/check_rbl -t 60 -H $HOSTADDRESS$ \ | |
| -s dnsbl.ahbl.org \ | |
| -s cbl.abuseat.org \ | |
| -s dnsbl.cyberlogic.net \ | |
| -s bl.deadbeef.com \ | |
| -s spamtrap.drbl.drand.net \ | |
| -s spamsources.fabel.dk \ | |
| -s 0spam.fusionzero.com \ |
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
| --- /2.txt po III 31 21:31:58 2014 | |
| +++ /1.txt po III 31 21:31:48 2014 | |
| @@ -4,13 +4,14 @@ | |
| GD Version bundled (2.1.0 compatible) | |
| FreeType Support enabled | |
| FreeType Linkage with freetype | |
| -FreeType Version 2.4.10 | |
| +FreeType Version 2.4.9 | |
| +T1Lib Support enabled | |
| GIF Read Support enabled |
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
| svgBringToFront = function (domElement) { | |
| var parent = domElement.parentElement; | |
| parent.removeChild(domElement); | |
| parent.appendChild(domElement); | |
| } |
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
| { | |
| "_index": "logstash-2015.04.14", | |
| "_type": "accesslog", | |
| "_id": "zpnGd2u2Tta2kePty2bDfA", | |
| "_version": 1, | |
| "_score": 1, | |
| "_source": { | |
| "message": "127.0.0.1 - - [14/Apr/2015:14:02:33 +0000] "GET /server-status?auto HTTP/1.1" 401 194 "-" "collectd/5.1.0"", | |
| "@version": "1", | |
| "@timestamp": "2015-04-14T14:55:03.684Z", |
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
| USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND | |
| elastics 20 0 9005m 2,6g 34m S 6,0 33,0 2779:33 java | |
| logstash 39 19 1059m 409m 6332 S 3,9 5,1 3352:36 java | |
| root 20 0 259m 41m 3392 S 0,1 0,5 4:51.60 salt-minion | |
| root 20 0 737m 126m 3792 S 0,1 1,6 28:26.23 node |
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
| [alias] | |
| ; creates timestamped branch rst-XXXXX and pushes it to default remote (origin) | |
| rst = "!rst() { export tmpBranch=rst-$(date +%s) && git add -A && git checkout -b $tmpBranch && git commit -m 'WIP remote stash' && git push --set-upstream origin $tmpBranch; }; rst" |