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
[[4,"**Заброшенные** станции метро были первыми, **куда я забрался**.","","**Abandoned** subway stations was the first **where I got**.","",9,"2024.05.10",""], | |
[17,"Это **самая распространенная** ошибка.","","It's **the most common** mistake.","",9,"2024.05.10",""], | |
[18,"Я не езжу на работу на автобусе.","","I don't go to work **by bus**.","I don't **take the bus** to work.",9,"2024.05.10",""], | |
[20,"Да, я надеюсь.","","Yes, i hope **so**.","",9,"2024.05.10",""], | |
[29,"У меня нет **занятий** в воскресенье.","","I don't have **classes** on Sunday.","",9,"2024.05.10",""], | |
[40,"Эта вещь **очень сильно** меня мотивирует.","Одним словом.","This thing motivates me **greatly**.","**a lot** - если просто сильно",9,"2024.05.10",""], | |
[46,"Они **гостеприимные** люди.","","They are **hospitable** people.","",9,"2024.05.10",""], | |
[48,"Женщина очень **стройная**.","","The woman is very **slim**.","",9,"2024.05.10",""], | |
[58,"Я никуда не **опаздываю**, мне будет приятно помочь вам.\n\nЯ опаздываю **из-за** погоды.","","I'm not |
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 isEqual from 'lodash.isequal'; | |
type AnyObj = Record<string, any>; | |
type UnionToIntersection<U> = (U extends any ? (k: U) => void : never) extends (k: infer I) => void | |
? I | |
: never; | |
export const mergeObjectsRecursively = <T extends AnyObj, U extends AnyObj[]>( | |
...objects: [T, ...U] | |
): T & UnionToIntersection<U[number]> => { |
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
const arr =[ | |
[1, 2, 3, 4, 5, 6, 7, 8, 9, ], | |
[10, 20, 30, 40, 50, 60, 70, 80, 90, ], | |
[11, 12, 13, 14, 15, 16, 17, 18, 19, ], | |
[21, 22, 23, 24, 25, 26, 27, 28, 29, ], | |
[31, 32, 33, 34, 35, 36, 37, 38, 39, ], | |
]; | |
const getMatrixFragment = ( | |
matrix = [[]], |
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
Show hidden characters
{ | |
// Custom snippets definitions | |
"snippets": { | |
"html": { | |
"filters": "html, bem", | |
"snippets": { | |
"blq": "<blockquote>${1:}</blockquote>", | |
} | |
}, | |
"pug": { |
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
git config --global user.name "Name" # имя | |
git config --global user.email "e@w.com" # мыло (акк. на Github) | |
git config --global color.ui true # цвет ВКЛ. | |
# Только для Windows: | |
git config --global core.autocrlf true |
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
{ | |
"destination": "clipboard", | |
"bem_nesting": true, | |
"indentation": " ", | |
"empty_line_before_nested_selector": true | |
} |
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
set background=dark |
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
set bell-style none |
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
# cd /mnt/d/projects/ # переход к указанному каталогу при запуске етрминала | |
# chmod 777 ~/.bashrc # если редактировали этот файл из Windows | |
#! /bin/bash | |
# eval `ssh-agent -s` && ssh-add # вынес в алиас для запуска SSH-агента вручную | |
# Раскомментить, чтобы видеть коды цветов при запуске терминала | |
# for((i=16; i<256; i++)); do | |
# printf "\e[48;5;${i}m%03d" $i; |
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
alias ls='ls -cvA --block-size=K --group-directories-first -1 --color=always' | |
alias gl='git log --pretty=format:"%h %C(magenta)%ad | %C(white)%s%d %C(magenta)[%an]" --date=short --graph --max-count=40 $*' | |
alias gs='git status' | |
alias ga='git add .' | |
alias gco='git commit -m $*' | |
alias push='git push' | |
alias pull='git pull' | |
alias pro='cd /mnt/d/projects' # ЗАМЕНИТЕ на путь к вашей директории проектов! |
NewerOlder