Skip to content

Instantly share code, notes, and snippets.

@MohamedAlaa
MohamedAlaa / tmux-cheatsheet.markdown
Last active July 23, 2024 05:34
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@erikcs
erikcs / example.md
Last active June 27, 2023 02:54
grf + lldb example

Stepping through core grf with lldb and RStudio (MacOS)

First step (optional):

  • compile the R extension without compiler optimizations (to avoid unexpected debug behavior, debug symbols are on by default, -g).

    Add CXX11FLAGS = -g -O0 to your ~/.R/Makevars (note: not grf/src/Makevars) and reinstall/recompile the package as usual (Rstudio->Build). You can see the system compile options with $ R CMD config CXX11FLAGS

Example script