Skip to content

Instantly share code, notes, and snippets.

View romank0's full-sized avatar

Roman Konoval romank0

View GitHub Profile
@RichardBronosky
RichardBronosky / README.md
Last active February 12, 2024 17:57
A homebrew formula to build vim with support for pyenv version of python

A homebrew formula to build vim with support for pyenv version of python

Build

  1. Patch /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/vim.rb
  2. Build
    brew reinstall --verbose --debug --build-from-source vim
  3. Locate your dynamic library with find /Users/bronoric/.pyenv/ -name '*libpython3*.dylib'
    • It's probably going to contain darwin in the path.
#!/bin/bash
# stdin should be integers, one per line.
# command line perncentiles e.g. 75 90 95
percentiles=$*
tmp="$(mktemp -t percentileXXXX)"
total=$(sort -n | tee "$tmp" | wc -l)
for percentile in $percentiles
@MohamedAlaa
MohamedAlaa / tmux-cheatsheet.markdown
Last active April 26, 2025 10:50
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname