Skip to content

Instantly share code, notes, and snippets.

View oxyii's full-sized avatar
⚛️
In progress...

Ruslan Baybekov oxyii

⚛️
In progress...
View GitHub Profile
@JonnyBurger
JonnyBurger / package.json
Last active August 26, 2019 22:20
package.json fields for Redux remote debugging
{
"scripts": {
"postinstall": "remotedev-debugger --hostname localhost --port 5678 --injectserver"
},
"devDependencies": {
"remotedev-rn-debugger": "^0.8.3"
}
}
@svartalf
svartalf / elasticsearch_ru_stemming_and_morphology.py
Last active January 13, 2022 12:21
Example of the ElasticSearch configuration for russian stemming and morphology
requests.put('http://localhost:9200/site/', data=json.dumps({
'settings': {
'analysis': {
'analyzer': {
'ru': {
'type': 'custom',
'tokenizer': 'standard',
"filter": ['lowercase', 'russian_morphology', 'english_morphology', 'ru_stopwords'],
},
},