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 | |
es_url=192.168.1.2:9200 | |
index=twitch_v2 | |
response=$(curl -s $es_url/$index/_search?scroll=1m -d @query.json) | |
scroll_id=$(echo $response | jq -r ._scroll_id) | |
hits_count=$(echo $response | jq -r '.hits.hits | length') | |
hits_so_far=hits_count | |
echo Got initial response with $hits_count hits and scroll ID $scroll_id |
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 java.util.*; | |
public class FizzBuzz | |
{ | |
Map<Integer, String> map; | |
public FizzBuzz() | |
{ | |
Init(); | |
} |
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
=========================================================================== | |
Interface List | |
13...00 50 56 aa 62 c1 ......vmxnet3 Ethernet Adapter | |
1...........................Software Loopback Interface 1 | |
12...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter | |
19...00 00 00 00 00 00 00 e0 Microsoft Teredo Tunneling Adapter | |
=========================================================================== | |
IPv4 Route Table | |
=========================================================================== |
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
####################### | |
######################## | |
## Pravdepodobnost a statistika NMAI059 | |
## Pouziti programu R | |
## http://artax.karlin.mff.cuni.cz/~novap4dm/Uvod.r | |
# spustime pres Rgui | |
# programy obvykle piseme a ukladame jako scripty .r | |
# radky programu ze scriptu spoustime pomoci ctrl+r |