Skip to content

Instantly share code, notes, and snippets.

View mar-wir's full-sized avatar
💭
Biochemical Cognition Instance #441-C Operational

Marco Wirthlin mar-wir

💭
Biochemical Cognition Instance #441-C Operational
View GitHub Profile
@mar-wir
mar-wir / README.md
Created March 1, 2022 23:35 — forked from nimatrueway/README.md
Convert webp animations to gif preserving image quality (RGB = 24bit)
@mar-wir
mar-wir / README.md
Created August 9, 2020 13:25 — forked from jslefche/README.md
ggplot2: theme_black()

Black theme for ggplot2

This is an additional theme for ggplot2 that generates an inverse black and white color scheme.

Example

ggplot(mtcars, aes(wt, mpg)) + geom_point()
# Add theme_black()
ggplot(mtcars, aes(wt, mpg)) + geom_point(color = "white") + theme_black()
@mar-wir
mar-wir / multiple-git-hooks.sh
Created June 27, 2020 21:15 — forked from mjackson/multiple-git-hooks.sh
Run multiple scripts for the same git hook
#!/bin/sh
# This script should be saved in a git repo as a hook file, e.g. .git/hooks/pre-receive.
# It looks for scripts in the .git/hooks/pre-receive.d directory and executes them in order,
# passing along stdin. If any script exits with a non-zero status, this script exits.
script_dir=$(dirname $0)
hook_name=$(basename $0)
hook_dir="$script_dir/$hook_name.d"
@mar-wir
mar-wir / init.vim
Created November 16, 2019 01:39 — forked from benawad/init.vim
" Specify a directory for plugins
call plug#begin('~/.vim/plugged')
Plug 'neoclide/coc.nvim', {'branch': 'release'}
Plug 'scrooloose/nerdtree'
"Plug 'tsony-tsonev/nerdtree-git-plugin'
Plug 'Xuyuanp/nerdtree-git-plugin'
Plug 'tiagofumo/vim-nerdtree-syntax-highlight'
Plug 'ryanoasis/vim-devicons'
Plug 'airblade/vim-gitgutter'