What is a recursion? Why and when use a recursion? How to write recursive function easily? Take this in control!
Recursion is when type is defined by itself.
OK, let's proceed to another topi-... What, what do I hear? Not extensive enough? Right!
# Git-branches | |
function git-branches() { | |
local author="${1:-Artur Kot}" | |
git for-each-ref refs/remotes/origin/ \ | |
--format='%(authorname)|%(refname:short)' \ | |
| grep "^${author}|" \ | |
| cut -d'|' -f2 \ | |
| grep -vE '^(origin/(release|dependabot|bump|version)-)' \ | |
| grep -v 'origin/HEAD' \ |
What is a recursion? Why and when use a recursion? How to write recursive function easily? Take this in control!
Recursion is when type is defined by itself.
OK, let's proceed to another topi-... What, what do I hear? Not extensive enough? Right!
set number | |
set autoread | |
set tabstop=2 | |
runtime macros/matchit.vim | |
" Ignores | |
set wildignore+=*/tmp/*,*/node_modules/*,*/dist/*,*.so,*.swp,*.zip | |
" Prettier | |
function RunPrettier() |
<script type="text/javascript"> | |
(function () { | |
"use strict"; | |
// once cached, the css file is stored on the client forever unless | |
// the URL below is changed. Any change will invalidate the cache | |
var css_href = './index_files/web-fonts.css'; | |
// a simple event handler wrapper | |
function on(el, ev, callback) { | |
if (el.addEventListener) { | |
el.addEventListener(ev, callback, false); |