This file contains hidden or 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
[[1467,"Использование семантического HTML помогает **сохранить** доступность.","","Using semantic HTML helps **preserve** accessibility.","",1,"2025-03-08T22:48:10.896",""], | |
[1466,"localStorage API можно использовать **для сохранения** пользовательских настроек даже после закрытия браузера.","","The localStorage API can be used **to preserve** user preferences even after the browser is closed.","",3,"2025-03-07T09:42:36.362",""], | |
[1465,"**Чтобы сохранить** состояние UI во время навигации, рассмотрите использование клиентской маршрутизации.","","**To preserve** the state of the UI during navigation, consider using client-side routing.","",3,"2025-03-09T06:40:44.001",""], | |
[1464,"Все остальное выглядит как **пустая трата времени**.","","Everything else seems like a **waste of time**.","",3,"2025-03-09T15:15:22.672",""], | |
[1463,"Так не пойдет.","","It won't do.","",3,"2025-03-03T14:48:24.251",""]] |
This file contains hidden or 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
[[1513,"У нее есть... **выдающиеся** достоинства.","","She has... **prominent** assets.","Assets (букв. \"активы\") – часто эвфемизм для груди/фигуры.",0,"2025-04-09T22:17:23.062",""], | |
[1512,"Тейлор Свифт — **известная** певица. Альберт Эйнштейн — **выдающийся** ученый.","","Taylor Swift is a **famous** singer. \nAlbert Einstein is a **prominent** scientist.","**Famous** = известный многим (может быть «звезда» или просто популярная личность).\n**Prominent** = уважаемый, влиятельный в своей области (даже если его не знает каждый).",1,"2025-04-09T16:06:13.711",""], | |
[1511,"Как бы это **выразить** деликатнее?","","How can I **put** this delicately?\nHow can I express...","Исторически \"put\" развил абстрактные значения, связанные с \"помещением\" идеи в слова.\nЕсли \"put\" используется с словами, мыслями, объяснениями → значит, \"выразить\".\nЕсли с предметами → скорее всего, \"класть/ставить\".",1,"2025-04-09T06:57:10.632",""], | |
[1510,"Мы **не можем позволить себе** ждать.","","We **can't afford** to wait.","",0 |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 "[email protected]" # мыло (акк. на Github) | |
git config --global color.ui true # цвет ВКЛ. | |
# Только для Windows: | |
git config --global core.autocrlf true |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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; |
NewerOlder