Skip to content

Instantly share code, notes, and snippets.

View ric-bianchi's full-sized avatar
🔌
developing software to power science!

Riccardo M. BIANCHI, PhD ric-bianchi

🔌
developing software to power science!
View GitHub Profile
@ric-bianchi
ric-bianchi / install-tmux-centos7.sh
Last active October 14, 2021 09:11 — forked from pokev25/install-tmux.sh
Install the latest tmux (3.1b at the time of writing) on Centos 7
# Install tmux 3.1b on Centos
# install deps
yum install gcc kernel-devel make ncurses-devel
# DOWNLOAD SOURCES FOR LIBEVENT AND MAKE AND INSTALL
curl -LOk https://github.com/libevent/libevent/releases/download/release-2.1.12-stable/libevent-2.1.12-stable.tar.gz
tar -xf libevent-2.1.12-stable.tar.gz
cd libevent-2.1.12-stable
./configure --prefix=/usr/local
@ric-bianchi
ric-bianchi / 01-mac-profiling.md
Created May 29, 2019 09:00 — forked from loderunner/01-mac-profiling.md
Profiling an application in Mac OS X

Profiling an application in Mac OS X

Finding which process to profile

If your system is running slowly, perhaps a process is using too much CPU time and won't let other processes run smoothly. To find out which processes are taking up a lot of CPU time, you can use Apple's Activity Monitor.

The CPU pane shows how processes are affecting CPU (processor) activity: