Skip to content

Instantly share code, notes, and snippets.

View tricantivu's full-sized avatar
🎯
Focusing

Alejandro Cervera tricantivu

🎯
Focusing
View GitHub Profile

Start by getting the correct theme name to use in the next steps:

cat .icons/Breeze-Hacked/index.theme
[Icon Theme]
Name=Breeze-Hacked

So you need

@fnky
fnky / ANSI.md
Last active July 20, 2024 14:21
ANSI Escape Codes

ANSI Escape Sequences

Standard escape codes are prefixed with Escape:

  • Ctrl-Key: ^[
  • Octal: \033
  • Unicode: \u001b
  • Hexadecimal: \x1B
  • Decimal: 27
@CMCDragonkai
CMCDragonkai / scrolling_in_linux_console_tty.md
Created February 10, 2016 08:34
CLI: Scrolling in the Linux Console (ttys)

Scrolling in the Linux Console (ttys)

Scroll Up: Shift + Page Up

Scroll Down: Shift + Page Down

The scrollback buffer is quite short in Linux consoles, and the scrollback buffer is not stored on system RAM, but VGA RAM. The buffer is also lost on switching ttys. There was a kernel patch to fix this, but not yet accepted.

@stephenhardy
stephenhardy / git-clearHistory
Created April 26, 2013 22:14
Steps to clear out the history of a git/github repository
-- Remove the history from
rm -rf .git
-- recreate the repos from the current content only
git init
git add .
git commit -m "Initial commit"
-- push to the github remote repos ensuring you overwrite history
git remote add origin git@github.com:<YOUR ACCOUNT>/<YOUR REPOS>.git
@andreyvit
andreyvit / tmux.md
Created June 13, 2012 03:41
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