Skip to content

Instantly share code, notes, and snippets.

View pavelpower's full-sized avatar
🔥
Fire energy

Pavel Akhv pavelpower

🔥
Fire energy
View GitHub Profile
@DChinin
DChinin / tips.md
Last active January 18, 2016 09:11
Vim guide

Перемещение

Клавиша/Команда Описание
:e! отменяет все изменения, сделанные за сеанс
h,j,k,l перемещение курсора ←, ↓, ↑, →
0 переход в начало строки
$ переход в конец строки
^ переход на первый непустой символ
w вперед на слово
@pavelpower
pavelpower / tips.md
Created January 18, 2016 09:11 — forked from DChinin/tips.md
Vim guide

Перемещение

Клавиша/Команда Описание
:e! отменяет все изменения, сделанные за сеанс
h,j,k,l перемещение курсора ←, ↓, ↑, →
0 переход в начало строки
$ переход в конец строки
^ переход на первый непустой символ
w вперед на слово
@gatopeich
gatopeich / install_Jupyter.sh
Last active March 29, 2024 22:10
Install Jupyter iPython Notebook on Android via Termux
pkg upgrade
# Install runtime deps
pkg install python libzmq libcrypt
# Add build deps
pkg install python-dev libzmq-dev libcrypt-dev clang
pip3 install -U pip
pip3 install pyzmq --install-option="--zmq=/usr/lib"
pip3 install jupyter
@pavelpower
pavelpower / export_all_boards_miro.js
Last active April 1, 2022 11:07
Run this script from console in your browser. Run this script on the page "https://miro.com/app/dashboard/"
function getBoardId(src) {
return src.match(/boards\/([^\/]*)/)[1];
}
function waitForElementToDisplay(selector, itemelem, callback, checkFrequencyInMs, timeoutInMs) {
var startTimeInMs = Date.now();
(function loopSearch() {
let btn = document.querySelectorAll(selector)[itemelem || 0];
if (btn != null) {
callback(btn);