Skip to content

Instantly share code, notes, and snippets.

View ojroques's full-sized avatar

Olivier Roques ojroques

  • Scaleway
  • Paris, France
  • 17:29 (UTC +02:00)
View GitHub Profile
@ojroques
ojroques / buildme-cmake.sh
Last active January 30, 2023 13:43
buildme.sh for CMake
#!/bin/bash
set -e
SOURCE_DIR=$(cd "$(dirname "$0")" && pwd)
BUILD_DIR="$SOURCE_DIR"/build
# Options
CMAKE_BUILD_TYPE="RELEASE"
@ojroques
ojroques / 52-osc
Created January 17, 2021 11:54
Enable support of OSC52 for urxvt
#! perl
=head1 NAME
52-osc - Implement OSC 52 ; Interact with X11 clipboard
=head1 SYNOPSIS
urxvt -pe 52-osc
@ojroques
ojroques / regex-cheatsheet.md
Last active May 14, 2021 17:07
regex cheatsheet
@ojroques
ojroques / docker-cheatsheet.md
Last active May 14, 2021 17:06
docker cheatsheet
@ojroques
ojroques / vim-cheatsheet.md
Last active May 14, 2021 17:06
vim cheatsheet

VIM cheatsheet

A list of commands for Vim and Neovim.

Notation

  • N : Normal mode
  • I : Insert mode
  • V : Visual mode
  • Ex : Command-Line mode
  • C- : Ctrl+
@ojroques
ojroques / tmux-cheatsheet.md
Last active May 14, 2021 17:06
tmux cheatsheet

TMUX cheatsheet

prefix refers to CTRL-b by default.

Session management

  • Create a new tmux session named session_name:
tmux new -s session_name