About Cheatsheets bw VSCode and Intellij IDEA read here
If you have anything to add/change, feel free to leave a comment, thanks 💛
It's really easy!
- Press ctrl+B (or cmd+B on Mac).
- Move this link Download video from VK to the bookmarks bar.
- Then, right click on the new bookmark, click Edit and paste the script contents above into the URL field.
- Now, open the page with the video and click on the new bookmark.
- Wait for the request to select the quality for downloading, enter it and press Enter.
✨ The download will start. Enjoy! ✨
It's really easy!
- Press ctrl+B (or cmd+B on Mac).
- Move this link Download video from OK to the bookmarks bar.
- Then, right click on the new bookmark, click Edit and paste the script contents above into the URL field.
- Now, open the page with the video and click on the new bookmark.
- Wait for the request to select the quality for downloading, enter it and press Enter.
✨ The download will start. Enjoy! ✨
It's really easy!
- Press ctrl+B (or cmd+B on Mac).
- Move this link Download video from Boosty to the bookmarks bar.
- Then, right click on the new bookmark, click Edit and paste the script contents above into the URL field.
- Now, open the page with the video and click on the new bookmark.
- Wait for the request to select the quality for downloading, enter it and press Enter.
✨ The download will start. Enjoy! ✨
After switching to Hyper OS (POCO, XIAOMI, etc. phones), Google Chrome stopped opening in the main account when clicking on web-links from other applications (for example, telegram, whatsapp etc.).
Instead, Google Chrome opens links in the account for cloned applications
(even if the Chrome of the main account is selected by default in the system).
The adb command removes the cloned application, but after rebooting the system, chrome clone was quietly reinstalled 😨.
The phone must be connected to the computer via USB and debugging mode must be enabled in the developer options.
Fix for running scripts (ex. PostUp, PostDown) in WireGuard Client for Windows OS 10 and above.
reg add HKLM\Software\WireGuard /v DangerousScriptExecution /t REG_DWORD /d 1 /f
[Interface] | |
PrivateKey = ... | |
Address = 10.8.1.3/32 | |
DNS = 1.1.1.1 | |
PostUp = powershell -command 'New-NetRoute -DestinationPrefix "<excluded ip>/32" -NextHop "192.168.0.1"' | |
PostDown = powershell -command 'Remove-NetRoute -DestinationPrefix "<excluded ip>/32"' | |
[Peer] | |
PublicKey = ... | |
PresharedKey = ... |
Author: @wushangwei
Source:
microsoft/WSL#5784 (comment)
I once had the opposite problem: WSL2 lost internet connection when connected to WIreGuard VPN.
I solved the problem by editing the "AllowedIPs“ field of WireGuard conf:
[Interface]
PrivateKey = xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Yeah and without reinstall.
- Download new Google Chrome EXE-file from official site: https://www.google.com/chrome/
- Open the Terminal (or Command Line) via the context menu where the downloaded file (like chome.exe) is located.
- Copy and paste this command into terminal and press Enter
ChromeSetup.exe --force-fre-default-browser-step --make-chrome-default --make-default-browser
Counting score of the latest -N reviews on OZON.ru
// upd 26/10/2024
let userScores = Array.from(document.querySelectorAll('div[data-widget="webListReviews"] div'))
.map(div => Array.from(div.children).filter(child => child.tagName === 'svg' && child.style.color === 'rgb(255, 168, 0)').length)
.filter(score => score > 0)
.slice(0, 10); // Get the first 10 scores
const totalScore = Math.max(1, Math.min(userScores.reduce((acc, score) => acc + score, 0) / userScores.length, 5));