Skip to content

Instantly share code, notes, and snippets.

View milianj's full-sized avatar

Jackedin milianj

  • Miami-Dade County Public Schools
  • undisclosed
View GitHub Profile
@milianj
milianj / git-clearHistory
Created March 28, 2020 21:30 — forked from stephenhardy/git-clearHistory
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
@milianj
milianj / tmux-cheatsheet.markdown
Last active July 1, 2022 22:00 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet by Jackedin

Tmux Cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@milianj
milianj / BYOBUCommands.md
Last active April 4, 2020 23:35 — forked from jshaw/byobuCommands
Byobu Commands

Byobu Screen Manager Keybindings and Command Shortcuts

Byobu keybindings can be user defined in /usr/share/byobu/keybindings/. The following are the default keybindings found in Byobu Ver. 5.125. Some key combinations might not work on some distros, Mac users beware. However, there's plenty of support and troubleshooting information available on the Web.

F Key Commands

F2: Create a new window

F3: Move to the previous window