Skip to content

Instantly share code, notes, and snippets.

View yubink's full-sized avatar

Yubin Kim yubink

View GitHub Profile
@yubink
yubink / inall.sh
Created September 3, 2012 18:16
Runs the specified command (provided by the first argument) in all tmux panes for every window regardless if applications are running in the terminal or not.
#!/bin/bash
# Runs the specified command (provided by the first argument) in all tmux panes
# for every window regardless if applications are running in the terminal or not.
function execute_in_all_panes {
# Notate which window/pane we were originally at
ORIG_WINDOW_INDEX=`tmux display-message -p '#I'`
ORIG_PANE_INDEX=`tmux display-message -p '#P'`
@yubink
yubink / MAP_tutorial.ipynb
Last active October 7, 2022 22:01
A brief tutorial on MAP (mean average precision)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.