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
#toTop, | |
#page-footer, | |
#page-navbar, | |
#completionprogressid, | |
.activity-navigation, | |
/* nav.navbar.fixed-top, */ | |
[data-key="coursehome"], | |
[data-key="participants"], | |
[data-key="badgesview"], | |
[data-key="competencies"], |
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
// ==UserScript== | |
// @name etoro watchlist | |
// @version 2024-09-09 | |
// @author zobzn | |
// @description try to take over the world! | |
// @namespace https://gist.github.com/zobzn/95a427d546624a3215e1d83c8916c98f | |
// @updateURL https://gist.githubusercontent.com/zobzn/95a427d546624a3215e1d83c8916c98f/raw/etoro-watchlist.js | |
// @downloadURL https://gist.githubusercontent.com/zobzn/95a427d546624a3215e1d83c8916c98f/raw/etoro-watchlist.js | |
// @icon https://etoro-cdn.etorostatic.com/web-client/favicon/favicon-32x32.png | |
// @match *://www.etoro.com/watchlists |
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
# используем последнюю версию ubuntu | |
FROM ubuntu:18.04 | |
# переключаем Ubuntu в неинтерактивный режим, чтобы избежать лишних запросов | |
ENV DEBIAN_FRONTEND noninteractive | |
# устанавливаем локаль | |
RUN apt-get update && apt-get install -y locales && rm -rf /var/lib/apt/lists/* \ | |
&& localedef -i ru_RU -c -f UTF-8 -A /usr/share/locale/locale.alias ru_RU.UTF-8 |
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
"use strict"; | |
class Batcher { | |
constructor(size = 10, callback = () => {}) { | |
this.size = size; | |
this.queue = []; | |
this.callback = callback; | |
} | |
static create(size = 10, callback = () => {}) { |
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
sudo apt install dkms git | |
git clone https://github.com/cilynx/rtl88x2BU_WiFi_linux_v5.3.1_27678.20180430_COEX20180427-5959.git | |
cd rtl88x2BU_WiFi_linux_v5.3.1_27678.20180430_COEX20180427-5959 | |
VER=$(sed -n 's/\PACKAGE_VERSION="\(.*\)"/\1/p' dkms.conf) | |
sudo rsync -rvhP ./ /usr/src/rtl88x2bu-${VER} | |
sudo dkms add -m rtl88x2bu -v ${VER} | |
sudo dkms build -m rtl88x2bu -v ${VER} | |
sudo dkms install -m rtl88x2bu -v ${VER} | |
sudo modprobe 88x2bu |