Skip to content

Instantly share code, notes, and snippets.

View DoronovIV's full-sized avatar
🐒

Igor Doronov DoronovIV

🐒
  • Russia, Rostov-on-Don
  • 11:11 (UTC +03:00)
View GitHub Profile
@DoronovIV
DoronovIV / scroll.ts
Last active February 7, 2025 13:10
Automatically set scroll for a scrollable container
/**
We've had a case that utilized auto scroll to the bottom of the scrollabe list-container
on each new element added. Some time after that we've encountered a similar task however
in that specific case the scroll should be applied exactly to the middle of a parent element.
Simply dividing the height in 2 did not work out, so ChatGPT has for once adviced a nice
thing (It only took 2 attempts to generate that idea).
*/
@DoronovIV
DoronovIV / auto-setup-remote
Last active January 9, 2025 13:22
auto-setup-remote
git config --global push.autoSetupRemote true
@DoronovIV
DoronovIV / ng-analytics-disable-global
Last active January 9, 2025 13:23
perm ng analytics disable
ng analytics disable --global
@DoronovIV
DoronovIV / .eslintrc.js
Created July 9, 2024 10:47
New eslint warning fix
"prettier/prettier": [
"error",
{
"endOfLine": "auto"
}
]
@DoronovIV
DoronovIV / edge-telemetry-disable
Last active January 9, 2025 13:25
vim "C:\Windows\System32\drivers\etc\hosts"
# Edge
0.0.0.0 pipe.aria.microsoft.com
0.0.0.0 assets.msn.com
0.0.0.0 web.vortex.data.microsoft.com
0.0.0.0 browser.events.data.msn.com
0.0.0.0 www.msn.com
0.0.0.0 sb.scorecardresearch.com