Skip to content

Instantly share code, notes, and snippets.

View MooseTheCoder's full-sized avatar
🏍️
Changing The World

Mark MooseTheCoder

🏍️
Changing The World
  • SafetyNet Access
  • Belfast
View GitHub Profile
@MooseTheCoder
MooseTheCoder / spinning_cursor.py
Created September 7, 2017 16:02 — forked from mikkkee/spinning_cursor.py
Spinning cursor and progress bar in console (Python)
"""
Create a spinning cursor or progress bar in terminal can be useful
for some scripts.
1. Use '\r' to move cursor back to the line beginning. Or use '\b'
to erase the last character.
2. The standard out of Python is buffered, which means it will
collect some data written to standard out before it actually
writes to the terminal.
The code snippet
@MooseTheCoder
MooseTheCoder / tmux.md
Created June 26, 2017 14:04 — 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