Skip to content

Instantly share code, notes, and snippets.

View mrtrkmn's full-sized avatar
☁️
working

Ahmet Türkmen mrtrkmn

☁️
working
View GitHub Profile
@merikan
merikan / Jenkinsfile
Last active May 21, 2024 08:52
Some Jenkinsfile examples
Some Jenkinsfile examples
@ryantuck
ryantuck / gpg_test.py
Last active April 30, 2024 23:44
working example of using gnupg in python
# install:
# pip3 install python-gnupg
# note - gpg needs to be installed first:
# brew install gpg
# apt install gpg
# you may need to also:
# export GPG_TTY=$(tty)
@drorata
drorata / gist:146ce50807d16fd4a6aa
Last active May 23, 2024 02:48
Minimal Working example of Elasticsearch scrolling using Python client
# Initialize the scroll
page = es.search(
index = 'yourIndex',
doc_type = 'yourType',
scroll = '2m',
search_type = 'scan',
size = 1000,
body = {
# Your query's body
})