Skip to content

Instantly share code, notes, and snippets.

@jwswj
jwswj / tmux-cheatsheet.markdown
Created January 3, 2016 20:23 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@jwswj
jwswj / gist:6152672
Last active December 20, 2015 15:18
2 instances of Skype running on a Mac

Make a copy of Skype:

  1. Open Finder.
  2. In the sidebar, click Macintosh HD > Applications.
  3. Click Skype to select it.
  4. Press Cmd+C, then Cmd+V to copy and paste Skype.
  5. Skype copy appears.

Change the bundle identifier in the Info.plist file:

@jwswj
jwswj / gist:6128473
Created August 1, 2013 04:45
Remove all global gems
gem list | cut -d" " -f1 | xargs gem uninstall -aIx
@jwswj
jwswj / gist:6068684
Last active March 29, 2022 11:23
Struggling with ssh working locally, agent forwarding not working correctly after moving your ssh keys around?
Firstly make sure that your permissions are correct on your SSH keys
My config looks like this:
-rw-r--r-- 1 jsmale staff 356 18 Sep 17:39 config
-rw-------@ 1 jsmale staff 1675 12 Jul 00:54 id_rsa
-rw-------@ 1 jsmale staff 400 12 Jul 00:54 id_rsa.pub
If they are wrong:
chmod 600 id_rsa id_rsa.pub
chmod 644 config