Skip to content

Instantly share code, notes, and snippets.

View benjaminbauer's full-sized avatar

Benjamin benjaminbauer

  • codecentric
  • Germany
View GitHub Profile
@benjaminbauer
benjaminbauer / gist:40d17fcf3c91ca4744ed296c8c7bc90d
Last active January 8, 2024 10:34
Build neovim from source on Debian
sudo apt-get install ninja-build gettext cmake unzip curl && git clone -b stable --single-branch --depth 1 https://github.com/neovim/neovim && cd neovim && make CMAKE_BUILD_TYPE=RelWithDebInfo && sudo make install
@benjaminbauer
benjaminbauer / kdb.h
Created June 30, 2020 11:19
Patched version of kdb.h to remap Caps Lock to ESC
/****************************** Module Header ******************************\
* Module Name: kbd.h
*
* Copyright (c) Microsoft Corporation. All rights reserved.
*
* Keyboard table values that form the basis for languages and keyboard types.
* The basis is US, kbd type 4 - all others are a variation on this.
* This file is included by all kbd**.h files.
*
* History:
@benjaminbauer
benjaminbauer / gist:1d21fe066efad302fa9b
Last active August 29, 2015 14:09
Get all files explicitly installed via packman WITHOUT packages in base and base-devel
# This will create a list of all packages, that are installed, except the ones that were installed during the initial Arch-Setup.
# It can be used to restore an Arch installation or to review installed packages during a little spring cleaning.
# Get all packages in base and base-devel
pacman -Sqg base base-devel > /tmp/basepackages
# Get all installed packages without depenencies
pacman -Qqen > /tmp/allpackages
# Get all explicitly installed packages without base