Skip to content

Instantly share code, notes, and snippets.

View gbaranski's full-sized avatar

Grzegorz Baranski gbaranski

View GitHub Profile
@gbaranski
gbaranski / libinput-gestures.conf
Created January 11, 2021 10:32
My libinput-gestures config
# gesture swipe left 3 i3-msg workspace prev
# gesture swipe right 3 i3-msg workspace next
# Move to next workspace (works for GNOME/KDE/etc on Wayland and Xorg)
gesture swipe up _internal ws_up
# NOTE ABOUT FINGER COUNT:
# The above command will configure this command for all fingers (i.e. 3
# for 4) but to configure it for 3 fingers only, change it to:
# gesture swipe up 3 _internal ws_up
@gbaranski
gbaranski / i3config
Last active January 11, 2021 10:31
My i3 config
# This file has been auto-generated by i3-config-wizard(1).
# It will not be overwritten, so edit it as you like.
#
# Should you change your keyboard layout some time, delete
# this file and re-run i3-config-wizard(1).
#
# i3 config file (v4)
#
# Please see https://i3wm.org/docs/userguide.html for a complete reference!
@gbaranski
gbaranski / .tmux.conf
Last active January 11, 2021 10:26
My Tmux config
# Remap prefix from 'C-b' to 'C-ai
unbind C-b # remove bind for C-b
set-option -g prefix C-a
bind-key C-a send-prefix
# Start windows and panes at 1, not 0
set -g base-index 1
setw -g pane-base-index 1
# Create Panes: window splitting
@gbaranski
gbaranski / .alacritty.yml
Last active January 11, 2021 10:27
My Alacritty config
# Configuration for Alacritty, the GPU enhanced terminal emulator.
# Import additional configuration files
#
# Imports are loaded in order, skipping all missing files, with the importing
# file being loaded last. If a field is already present in a previous import, it
# will be replaced.
#
# All imports must either be absolute paths starting with `/`, or paths relative
# to the user's home directory starting with `~/`.
@gbaranski
gbaranski / .vimrc
Last active January 11, 2021 10:28
My Neovim config
call plug#begin()
" ALL LANG
Plug 'neoclide/coc.nvim', {'branch': 'release'}
" MISC
Plug 'preservim/nerdtree' " this nice tree
Plug 'tpope/vim-repeat' " improves repeat
Plug 'jiangmiao/auto-pairs'
Plug 'tpope/vim-surround' " parentheses, brackets, quotes, XML tags
@gbaranski
gbaranski / .zshrc
Last active January 11, 2021 10:34
My ZSH config
# Fixed weird things when tabbing
export LC_CTYPE=en_US.UTF-8
export PATH=$HOME/.nodebrew/current/bin:$PATH
export PATH=$PATH:$HOME/.emacs.d/bin
export PATH=$PATH:$HOME/esp/xtensa-lx106-elf/bin
export IDF_PATH=$HOME/esp/ESP8266_RTOS_SDK
alias get_lx106="export PATH=$PATH:$HOME/esp/xtensa-lx106-elf/bin"
export GOPATH=$HOME/go
export PATH=$PATH:$GOROOT/bin:$GOPATH/bin
@gbaranski
gbaranski / instructions.md
Last active December 17, 2020 20:13
PEM Certificate parser for C/C++
deno run --allow-read \
  https://gist.githubusercontent.com/gbaranski/733e5ddba8a5d3e56a476ba96264fdce/raw/f22038fcb3f04ab59ef34a1a336e4c21236c0287/pem_parser.ts \
  <path-to-cert>

Keybase proof

I hereby claim:

  • I am gbaranski on github.
  • I am gbaranski (https://keybase.io/gbaranski) on keybase.
  • I have a public key ASAZ8cg7wox3QhVStmGY8c-yxUmp70rKPrMT16ypSxrtKgo

To claim this, I am signing this object: