- Functor
- A Functor is any type that defines how `map` applies to it.
TODO
- create a custom task
- create an extension object
- map project properties to extension properties
generator {
configuration {
runner = 'junit-5'
mvn() {
[ -f mvnw ] && ./mvnw "$@" || command mvn "$@"
}
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
set nocompatible | |
if empty(glob('~/.vim/autoload/plug.vim')) | |
silent !curl -fLo ~/.vim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim | |
autocmd VimEnter * PlugInstall | source $MYVIMRC | |
endif | |
call plug#begin() | |
Plug 'croaker/mustang-vim' | |
Plug 'vim-airline/vim-airline' |
$ docker run -v "$PWD/icons:/icons" flungo/inkscape /usr/bin/inkscape -z -e /icons/toolbox-48.png -w 48 -h 48 /icons/toolbox.svg
comm -23 <(sort other-ids) <(sort obsolete-ids)
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
gradle() { | |
[[ -f gradlew ]] && ./gradlew "$@" || command gradle "$@" | |
} |
Add the following shell function to your .bashrc
.
mr() {
local url=$(git remote get-url origin)
# on OSes other than Mac OS X replace `open -a "Google Chrome` with your browsers executable, e.g. google-chrome on Ubuntu
open -a "Google Chrome" "${url%.git}/merge_requests/new?merge_request[source_branch]=$(git symbolic-ref -q --short HEAD)"
}