Skip to content

Instantly share code, notes, and snippets.

View yrik's full-sized avatar

Yura Kriachko yrik

View GitHub Profile
(ros_env) yura@Yuras-MacBook-Pro ros_ws % micromamba list
List of packages in environment: "/Users/yura/micromamba/envs/ros_env"
Name Version Build Channel
────────────────────────────────────────────────────────────────────────────────────────────────────────────
aiohttp 3.8.4 py310h2aa6e3c_1 conda-forge
aiosignal 1.3.1 pyhd8ed1ab_0 conda-forge
aom 3.5.0 h7ea286d_0 conda-forge
argcomplete 3.1.1 pyhd8ed1ab_0 conda-forge
assimp 5.2.5 h276577b_0 conda-forge
@yrik
yrik / correlation.py
Created May 17, 2023 19:15
Visualise possible IELTS scores discrepancy by given correlation coefficient
import numpy as np
from scipy.stats import spearmanr
import time
def generate_correlated_data(target_corr, ref_scores, score_step=0.5, low=3, high=9, max_iterations=1000000):
# Set initial y values to be equal to reference scores
y = np.array(ref_scores)
# Generate initial random x values
x = np.random.choice(np.arange(low, high, score_step), size=len(ref_scores))
@yrik
yrik / vim
Created January 1, 2022 22:44
set nocompatible " be iMproved, required
filetype off " required
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" alternatively, pass a path where Vundle should install plugins
"call vundle#begin('~/some/path/here')
" let Vundle manage Vundle, required
"Afghanestan",
"افغانستان",
"Shqipëria",
"Dzayer",
"ⴷⵣⴰⵢⴻⵔ",
"Al-Jazā'ir",
"الجزائر",
"Amerika Sāmoa",
"American Samoa",
"Andorra",
/*!
* Azure Storage SDK for JavaScript - Blob, 10.3.0
* Copyright (c) Microsoft and contributors. All rights reserved.
*/
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(factory((global.azblob = {})));
}(this, (function (exports) { 'use strict';
SIC = {
"01": "Crop and animal production, hunting and related service activities",
"02": "Forestry and logging",
"03": "Fishing and aquaculture",
"05": "Mining of coal and lignite",
"06": "Extraction of crude petroleum and natural gas",
"07": "Mining of metal ores",
"08": "Other mining and quarrying",
"09": "Mining support service activities",
"10": "Manufacture of food products",
@yrik
yrik / test gist
Created September 20, 2018 17:22
This file has been truncated, but you can view the full file.
THE FOUNDATION TRILOGY
ISAAC ASIMOV
Contents
Introduction
Foundation
@yrik
yrik / test gist
Created September 20, 2018 17:22
This file has been truncated, but you can view the full file.
THE FOUNDATION TRILOGY
ISAAC ASIMOV
Contents
Introduction
Foundation
XHR finished loading: GET "http://127.0.0.1:9990/api/lessondivisions?lesson=39"
grid.js:336 ["new", 3]
grid.js:345 end
grid.js:336 ["vry first", 5]
grid.js:345 end
grid.js:336 ["seecond", 6]
grid.js:345 end
grid.js:336 ["seecond", 7]
grid.js:345 end
grid.js:336 ["aaaa111", 8]
(function() { google.elements.keyboard.loadme({id:"ru",title:"Русская клавиатура",mappings:{sl:{"":'ё!"№;%:?*()_+йцукенгшщзхъ/фывапролджэячсмитьбю,'},l:{"":"Ё1234567890-=ЙЦУКЕНГШЩЗХЪ\\ФЫВАПРОЛДЖЭЯЧСМИТЬБЮ."},
s:{"":'Ё!"№;%:?*()_+ЙЦУКЕНГШЩЗХЪ/ФЫВАПРОЛДЖЭЯЧСМИТЬБЮ,'},"":{"":"ё1234567890-=йцукенгшщзхъ\\фывапролджэячсмитьбю."},sc:{"À=":"Ѣ+","QWERTOPÛÝÜ":"ЇѸѪѬѤЅѮ{}|",
"ASJKL;":"ѲѰѠѾѺѼ",ZXBNM:"ѦѨІѴѶ"},cl:{"À=":"Ѣ+","QWERTOPÛÝÜ":"ЇѸѪѬѤЅѮ[]\\","ASJKL;":"ѲѰѠѾѺѼ",ZXBNM:"ѦѨІѴѶ"},c:{"À=":"ѣ=","QWERTYUIOPÛÝÜ":"їѹѫѭѥңүөѕѯ[]\\","ASJKL;":"ѳѱѡѿѻѽ",ZXBNM:"ѧѩіѵѷ"},scl:{"À=":"ѣ=",
"QWERTYUIOPÛÝÜ":"їѹѫѭѥңүөѕѯ{}|","ASJKL;":"ѳѱѡѿѻѽ",ZXBNM:"ѧѩіѵѷ"}}}); })()