Skip to content

Instantly share code, notes, and snippets.

View BruXy's full-sized avatar
👽

Martin Bruchanov BruXy

👽
View GitHub Profile
@BruXy
BruXy / bash_loop_v1.sh
Created June 12, 2024 13:59
Repeat iteration of bash for-cycle
#!/bin/bash
DATA=(10 20 30 40 50 60 70 80 90 100)
DATA_LEN=$[ ${#DATA[*]} - 1 ]
TIME_OUT=22
execution=0 # Count total number of cycles
result=1 # initialized as failed
start_time=$(date +%s)
@BruXy
BruXy / tmux.md
Created January 2, 2018 15:22 — forked from andreyvit/tmux.md
tmux cheatsheet

tmux cheat sheet

(C-x means ctrl+x, M-x means alt+x)

Prefix key

The default prefix is C-b. If you (or your muscle memory) prefer C-a, you need to add this to ~/.tmux.conf:

remap prefix to Control + a