Skip to content

Instantly share code, notes, and snippets.

@quentin
quentin / tmux.conf
Created December 3, 2019 10:17
tmux copy/paste configuration
## tested with tmux 3
# mouse mode
set -g mouse on
setw -g mode-keys vi
# selection with mouse copies to clipboard in addition to the default action
unbind-key -n -T copy-mode-vi MouseDragEnd1Pane
bind-key -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel "xclip -in -sel primary"
@quentin
quentin / build-llvm.sh
Last active November 16, 2019 12:27
build llvm
git clone https://github.com/llvm/llvm-project.git
# git checkout <some-version>
cd llvm-project
mkdir build
cd build
cmake \
-G "Unix Makefiles" \
-DLLVM_ENABLE_PROJECTS="clang;clang-tools-extra" \
-DCMAKE_BUILD_TYPE="Release" \
@quentin
quentin / deploy_soot.sh
Last active July 25, 2017 17:05
Deploy Soot from Github, along with Jasmin and Heros. By default the 'develop' branch of Jasmin, Heros and Soot are cloned into the current directory. The respectives ant.settings are created and the jars are built. When the script detects that a repository has already been cloned, it will pull the last version of the 'develop' branch instead.
#!/usr/bin/env sh
#
# author: Quentin Sabah
#
deploy_dir=$PWD
jasmin_repo=http://github.com/Sable/jasmin.git
jasmin_branch=develop
jasmin_dir=$deploy_dir/jasmin-github