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 asyncio | |
from opensearchpy import AsyncOpenSearch, AsyncHttpConnection | |
async def main(): | |
client = AsyncOpenSearch( | |
hosts = [{'host': 'localhost', 'port': 9200}], | |
http_auth = ("admin", "admin"), | |
use_ssl = True, | |
verify_certs = False, | |
ssl_show_warn=False, |
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 | |
############################################################################### | |
# Download full video from conference | |
############################################################################### | |
# Arguments: | |
# $1 - base url for download video from conference | |
# Use: | |
# ./download-video.sh \ | |
# https://<URL>/vod/update/1669845928/61c4b2fd3a781d75_3_48524.mp4/media_0.ts |
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
#version=RHEL8 | |
#ignoredisk --only-use=sda | |
# Partition clearing information | |
clearpart --all --initlabel | |
# Use text install | |
text | |
# Keyboard layouts | |
keyboard --vckeymap=us --xlayouts='us' | |
# System language | |
lang en_US.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
Time system.syslog.program system.syslog.message | |
August 23rd 2018, 07:13:10.000 dockerd time="2018-08-23T07:13:10+03:00" level=info msg="shim docker-containerd-shim started" address="/containerd-shim/moby/48dde23464371d81058f3a730e8f8ba3e29cee26b465a81bffec59115991d1e7/shim.sock" debug=false module="containerd/tasks" pid=12229 | |
August 23rd 2018, 07:10:42.000 dockerd time="2018-08-23T07:10:42+03:00" level=info msg="shim reaped" id=cc3d379e27d88ed15a370f12b7e7e0dd0f05ea675447f08149b9b3d3bc8b829b module="containerd/tasks" | |
August 23rd 2018, 07:10:42.000 dockerd time="2018-08-23T07:10:42.898428927+03:00" level=info msg="ignoring event" module=libcontainerd namespace=moby topic=/tasks/delete type="*events.TaskDelete" | |
August 23rd 2018, 06:40:02.000 dockerd time="2018-08-23T06:40:02.946153177+03:00" level=info msg="Daemon has completed initialization" | |
August 23rd 2018, 06:40:02.000 dockerd time="2018-08-23T06:40:02.899829055+03:00" level=info msg="Loading containers: done." | |
August 23rd 20 |
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
# docker ps -a | |
runtime/cgo: runtime/cgo: pthread_create failed: No space left on device | |
pthread_create failed: No space left on device | |
SIGABRT: abort | |
PC=0x7f84444a9277 m=0 sigcode=18446744073709551610 | |
goroutine 0 [idle]: | |
goroutine 1 [running, locked to thread]: | |
runtime.systemstack_switch() |
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
RENAME 1001_sovet_po_obustroistvu_kompyutera_3643498.pdf "1001 совет по обустройству компьютера (2012).pdf" | |
RENAME 100_interesneishikh_tryukov_v_windows_7_3643212.pdf "100 интереснейших трюков в Windows 7 (2010).pdf" | |
RENAME 1700_zadanii_po_microsoft_excel_3642862.pdf "1700 заданий по Microsoft Excel (2003).pdf" | |
RENAME 1cpredpriyatie_81_bukhgalteriya_predpriyatiya_upravlenie_torgovlei_upravlenie_personalom_2-e_izd_3643306.pdf "1C-Предприятие 8.1. Бухгалтерия предприятия. Управление торговлей. Управление персоналом. 2-е изд. (2010).pdf" | |
RENAME 1sbukhgalteriya_77_reshenie_tipichnykh_problem_polzovatelya_3643328.pdf "1С-Бухгалтерия 7.7. Решение типичных проблем пользователя (2005).pdf" | |
RENAME 1sbukhgalteriya_80_bukhgalteru_ot_bukhgaltera_3642904.pdf "1С-Бухгалтерия 8.0. Бухгалтеру от бухгалтера (2006).pdf" | |
RENAME 1sbukhgalteriya_ot_77_k_80_bukhgalteru_ot_bukhgaltera_3642903.pdf "1С-Бухгалтерия от 7.7 к 8.0. Бухгалтеру от бухгалтера (2006).pdf" | |
RENAME 1spredpriyatie_80_priemy_programmirovaniya_3642993.pdf "1С-Пред |
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
MOVE "Разное\97_etyudov.pdf" "Разное\97 этюдов для программистов.pdf" | |
MOVE "Разное\alan_kuper_ob_interfeise.pdf" "Разное\Алан Купер об интерфейсе. Основы проектирования взаимодействия.pdf" | |
MOVE "Разное\algoritmy_i_protsessory.pdf" "Разное\Алгоритмы и процессоры цифровой обработки сигналов.pdf" | |
MOVE "Разное\algoritmy_intellektualnogo_interneta.pdf" "Разное\Алгоритмы интеллектуального Интернета.pdf" | |
MOVE "Разное\algoritmy_postroenie_i_analiz2-e_izd.pdf" "Разное\Алгоритмы построение и анализ, 2-е издание.pdf" | |
MOVE "Защита_взлом\algoritmy_shifrovaniya.pdf" "Защита_взлом\Алгоритмы шифрования. Специальный справочник.pdf" | |
MOVE "Разное\analiz_dannykh_i_protsessov_3-e_izd.pdf" "Разное\Анализ данных и процессов. 3-е изд..pdf" | |
MOVE "Разное\analiz_i_proektirovanie_informatsionnykh_sistem.pdf" "Разное\Анализ и проектирование информационных систем с помощью UML 2.0, 3-е издание.pdf" | |
MOVE "Android\android_4_dlya_professionalov.pdf" "Android\Android 4 для профессионалов. Создание приложений для планшетных компьютеров и смарт |
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
// tokenize(str) | |
// extracts semantically useful tokens from a string containing English-language sentences | |
// @param {String} the string to tokenize | |
// @returns {Array} containing extracted tokens | |
function tokenize(str) { | |
var punct = '\\[' + '\\!' + '\\"' + '\\#' + '\\$' + // since javascript does not | |
'\\%' + '\\&' + '\\\'' + '\\(' + '\\)' + // support POSIX character | |
'\\*' + '\\+' + '\\,' + '\\\\' + '\\-' + // classes, we'll need our |