Standard escape codes are prefixed with Escape
:
- Ctrl-Key:
^[
- Octal:
\033
- Unicode:
\u001b
- Hexadecimal:
\x1b
- Decimal:
27
# editorconfig.org | |
root = true | |
[*] | |
indent_style = tab | |
indent_size = 4 | |
end_of_line = lf | |
charset = utf-8 | |
trim_trailing_whitespace = true | |
insert_final_newline = true |
# Raname current branch Locally and Remote | |
function Rename-GitBranch { | |
[CmdletBinding()] | |
param( | |
[Parameter(mandatory=$true)][String] $OldName, | |
[Parameter(mandatory=$true)][String] $NewName, | |
[String] $UpstreamName = 'origin' | |
) | |
# Rename the local branch to the new name |
const parseXML = str => {try{ return (new window.DOMParser()).parseFromString(str, "text/xml") } catch(e) { return undefined} } |
/** | |
* Debounce - delay the run of the functions (spread in time of all calls) | |
* | |
* @param {<type>} func The function | |
* @param {<type>} delay The delay | |
* @return {<type>} { description_of_the_return_value } | |
* @example | |
debouncedBtn.addEventListener( | |
'click', | |
debounce(function() { |
I use this script within DevTools' Snippets of Chromium based browsers
(Chrome
, Yandex Browser
, MS Edge
, Opera
)
Earlier FireFox has a Scratchpad
with wich you can store and use this script.
In modern FireFox switch console to multistring mode and paste script, then
press Ctrl+Enter
This script is part of toolbox for prepare data and use the personal Knowlage
Рассчёт даты православной Пасхи и дат праздников Подвижного Круга, праздников, даты которых зависят от Пасхи
Calculate the Orthodox Easter date and other Easter depended dates
описание алгоритма / algorithm explanation -- https://ru.wikipedia.org/wiki/Пасха
Add this to your ~/.gitconfig
file.
[alias]
alias = config --get-regexp ^alias\\.
branches = branch --all
camend = commit --amend -m
co = checkout
d = difftool