This file contains 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
defaults write -g NSScrollViewRubberbanding -int 0 | |
defaults write -g NSAutomaticWindowAnimationsEnabled -bool false | |
defaults write -g NSScrollAnimationEnabled -bool false | |
defaults write -g NSWindowResizeTime -float 0.001 | |
defaults write -g QLPanelAnimationDuration -float 0 | |
defaults write -g NSScrollViewRubberbanding -bool false | |
defaults write -g NSDocumentRevisionsWindowTransformAnimation -bool false | |
defaults write -g NSToolbarFullScreenAnimationDuration -float 0 | |
defaults write -g NSBrowserColumnAnimationSpeedMultiplier -float 0 | |
defaults write com.apple.dock autohide-time-modifier -float 0 |
This file contains 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
# aarch64 | |
# arch config | |
ln -sf /usr/share/zoneinfo/Europe/Berlin /etc/localtime | |
echo piserver > /etc/hostname | |
sed -i 's/#en_US.UTF-8/en_US.UTF-8/' /etc/locale.gen | |
sed -i 's/#C.UTF-8/C.UTF-8/' /etc/locale.gen | |
locale-gen | |
echo 'LANG=en_US.UTF-8' > /etc/locale.conf | |
pacman-key --init | |
pacman-key --populate archlinuxarm |
This file contains 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
services: | |
pihole: | |
image: pihole/pihole:latest | |
network_mode: host | |
environment: | |
TZ: 'Europe/Berlin' | |
WEBPASSWORD: '********' | |
PIHOLE_DNS_: 8.8.4.4;1.0.0.1;8.8.8.8;1.1.1.1 | |
cap_add: | |
- NET_ADMIN |
This file contains 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
// | |
// This file contains a JavaScript tag function to let you | |
// define regexes without needing to backslash-escape every | |
// forward slash in the regex text; good for URLs. | |
// | |
function regex(tag) { | |
return new RegExp(tag.raw, "i"); | |
} |
This file contains 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 " be iMproved, required | |
filetype off " required | |
" set the runtime path to include Vundle and initialize | |
set rtp+=~/.vim/bundle/Vundle.vim | |
call vundle#begin() | |
Plugin 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' } | |
Plugin 'pangloss/vim-javascript', { 'for': ['javascript', 'javascript.jsx'] } | |
Plugin 'mxw/vim-jsx', { 'for': ['javascript', 'javascript.jsx'] } |
This file contains 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
# The best and greatest tmux.conf ever - improved! | |
# https://gist.github.com/rsp/f4770a1fe8ea7e2378ac3a16e01a2b53 | |
# Here are some customizations done by Rafał Pocztarski: | |
# use Ctrl+Backslash instead of Ctrl+A or Ctrl+B | |
# use Slash to split vertically | |
# use Backslash to split horizontally | |
unbind-key C-b | |
set -g prefix 'C-\' | |
bind-key 'C-\' send-prefix |
Did you know Vim has a few builtin features designed to help with the "Jump to Definition" action you see in most IDEs?
Since Vim is a "dumb" editor (that is, it doesn't do any static analysis on your text), you'd expect a "Jump to Definition" feature that relies on a simple text search.
This file contains 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 hidden laststatus=2 | |
if !filereadable('/tmp/plug.vim') | |
silent !curl --insecure -fLo /tmp/plug.vim | |
\ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim | |
endif | |
source /tmp/plug.vim | |
call plug#begin('/tmp/plugged') | |
Plug 'junegunn/fzf', { 'do': './install --bin' } |
NewerOlder