Skip to content

Instantly share code, notes, and snippets.

View bludnic's full-sized avatar
:octocat:

bludnic

:octocat:
View GitHub Profile
@bludnic
bludnic / NODES_VERSIONS.md
Created December 8, 2023 04:31
Nodes version endpoints
@bludnic
bludnic / youtube-unsubscribe.js
Created January 5, 2024 05:49
Unsubscribing from all YouTube channels
function findElements(textContent, selector = "*") {
const elements = document.querySelectorAll(selector);
return Array.prototype.slice
.call(elements)
.filter((el) => el.textContent === textContent);
}
function findElement(textContent, selector = "*") {
const elements = findElements(textContent, selector);
@bludnic
bludnic / use-native-chromeos.md
Created April 30, 2024 23:19
Open links with native ChromeOS browser from Linux container

That's what I had to use after installing a few other browsers in Linux. Apparently one of them had reset some of the settings. Garcon_host_browser is the link application which will pass the URL to be opened to the Chrome browser on the ChromeOS side.

unset BROWSER
xdg-settings set default-web-browser garcon_host_browser.desktop
sudo xdg-settings set default-web-browser garcon_host_browser.desktop
@bludnic
bludnic / opentrader-bot-architecture.md
Last active January 26, 2025 07:12
OpenTrader Bot Architecture Overview