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
ode: daemonset | |
presets: | |
logsCollection: | |
enabled: true | |
kubernetesAttributes: | |
enabled: true | |
config: | |
exporters: | |
otlp: | |
endpoint: quickwit-indexer.qw.svc.cluster.local:7281 |
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
{ | |
"query": "actor.login:Cyan4973" | |
} |
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
# Build monthly dataset | |
year=$1 | |
month=$2 | |
ch_json_output_filename=gh-archive-${year}-${month}.json | |
ch_gz_output_filename=gh-archive-${year}-${month}.json.gz | |
quickwit_gz_output_filename=gh-archive-${year}-${month}-text-only.json.gz | |
s3_ls_result=`aws s3 ls s3://quickwit-datasets-public/gh-archive/${ch_gz_output_filename}` | |
echo ${s3_ls_result} |
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 ubuntu:17.10 | |
# -- Install Pipenv: | |
RUN apt-get update \ | |
&& apt-get install software-properties-common python-software-properties -y \ | |
&& add-apt-repository ppa:pypa/ppa -y \ | |
&& apt-get update \ | |
&& apt-get install git pipenv -y | |
ENV LC_ALL C.UTF-8 |
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 xmltodict | |
def parse_question(response): | |
data = xmltodict.parse(response.content) | |
qe = data['QUESTION'] | |
print qe | |
extracted_data = { |
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
/* ---- PALETTE ---- */ | |
@city: #000; | |
@department: #eeeeee; | |
@region: #eeeeee; | |
@outline: #000; | |
/* ---- ZONE BORDERS ---- */ | |
#adminzones::city_border[is_city=true]{ |