Skip to content

Instantly share code, notes, and snippets.

View n1chre's full-sized avatar
💯

Filip Hrenić n1chre

💯
View GitHub Profile
@n1chre
n1chre / tmux.md
Created October 1, 2017 15:23 — forked from Bekbolatov/tmux.md
Clean tmux cheat-sheet

Clean tmux cheat-sheet

By resources

sessions

list-sessions        ls         -- List sessions managed by server
new-session          new        -- Create a new session
@n1chre
n1chre / tmux.cheat
Created October 1, 2017 15:12 — forked from afair/tmux.cheat
Tmux Quick Reference & Cheat sheet - 2 column format for less scrolling!
========================================== ==========================================
TMUX COMMAND WINDOW (TAB)
========================================== ==========================================
List tmux ls List ^b w
New -s <session> Create ^b c
Attach att -t <session> Rename ^b , <name>
Rename rename-session -t <old> <new> Last ^b l (lower-L)
Kill kill-session -t <session> Close ^b &
@n1chre
n1chre / .htaccess
Created May 1, 2017 17:04 — forked from ScottPhillips/.htaccess
Common .htaccess Redirects
#301 Redirects for .htaccess
#Redirect a single page:
Redirect 301 /pagename.php http://www.domain.com/pagename.html
#Redirect an entire site:
Redirect 301 / http://www.domain.com/
#Redirect an entire site to a sub folder
Redirect 301 / http://www.domain.com/subfolder/
@n1chre
n1chre / iTerm2 Here.applescript
Last active May 26, 2022 13:23 — forked from jonschlinkert/open-iterm-from-finder.md
Add an icon to your finder toolbar to open iTerm2 in the current folder.
(*
Open Terminal Here
Written by Brian Schlining
source: http://hohonuuli.blogspot.hr/2016/02/iterm2-version-3-open-iterm-here-script.html
*)
property debug : false
-- when the toolbar script icon is clicked
--