Skip to content

Instantly share code, notes, and snippets.

View 1ncend1ary's full-sized avatar

Aleksei Seliverstov 1ncend1ary

View GitHub Profile
clear lock
clear mod5
add lock = Mode_switch
keycode 66 = Mode_switch Escape NoSymbol NoSymbol
keycode 43 = h H Left Left
keycode 44 = j J Down Down
keycode 45 = k K Up Up
keycode 46 = l L Right Right
@1ncend1ary
1ncend1ary / CMakeLists.txt
Last active November 12, 2020 16:23
Minimal CMakeLists.txt for C++ sanitizer debug
cmake_minimum_required(VERSION 3.8)
project(clw-05)
set(CMAKE_CXX_STANDARD 17)
#set(ENV{ASAN_OPTIONS} detect_leaks=1)
#set(ENV{ASAN_OPTIONS=detect_leaks} "1")
if (MSVC)
@1ncend1ary
1ncend1ary / isntall.sh
Last active March 13, 2020 20:47
Install docker and docker-compsoe on ubuntu
sudo apt-get update
sudo apt-get install \
apt-transport-https \
ca-certificates \
curl \
gnupg-agent \
software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo apt-key fingerprint 0EBFCD88
@1ncend1ary
1ncend1ary / README
Created December 5, 2019 20:06
Count lines of code script
## create file git-cloc with specified contents
brew install cloc
chmod +x git-cloc
mv git-cloc /user/local/bin ## or to your $PATH