From ec4e8d789c2ee30a5d40e6b440f308df90a44697 Mon Sep 17 00:00:00 2001 From: ppierson Date: Fri, 16 Aug 2013 11:43:15 -0400 Subject: [PATCH 1/6] modified: .cheat/ssh --- .cheat/ssh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.cheat/ssh b/.cheat/ssh index 6099196..e9a360d 100644 --- a/.cheat/ssh +++ b/.cheat/ssh @@ -7,5 +7,8 @@ ssh -X user@example.com To launch a specific x application over SSH: ssh -X -t user@example.com 'chromium-browser' +To ssh via pem file: +ssh -i /path/to/file.pem user@example.com + For more information, see: http://unix.stackexchange.com/q/12755/44856 From 1f5e54f11c32a72d274d9b696361a8e278529735 Mon Sep 17 00:00:00 2001 From: ppierson Date: Fri, 16 Aug 2013 12:52:32 -0400 Subject: [PATCH 2/6] modified: .cheat/ssh --- .cheat/ssh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.cheat/ssh b/.cheat/ssh index e9a360d..a7c4db1 100644 --- a/.cheat/ssh +++ b/.cheat/ssh @@ -7,7 +7,7 @@ ssh -X user@example.com To launch a specific x application over SSH: ssh -X -t user@example.com 'chromium-browser' -To ssh via pem file: +To ssh via pem file (normally needs 0600 permissions): ssh -i /path/to/file.pem user@example.com For more information, see: From bdf363183cfa5a13a9c7a0842cb7e33be9028d85 Mon Sep 17 00:00:00 2001 From: ppierson Date: Fri, 16 Aug 2013 13:06:17 -0400 Subject: [PATCH 3/6] modified: .cheat/git --- .cheat/git | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.cheat/git b/.cheat/git index efba67e..9155f25 100644 --- a/.cheat/git +++ b/.cheat/git @@ -4,3 +4,9 @@ git config --global user.email johndoe@example.com To enable color: git config --global color.ui true + +To commit all changes: +git commit -a + +To push latest master: +git push git@github.com:username/project.git From 7c814672a2406f8947455a6049a519e69fa7bde4 Mon Sep 17 00:00:00 2001 From: ppierson Date: Fri, 16 Aug 2013 13:19:40 -0400 Subject: [PATCH 4/6] modified: install --- install | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/install b/install index b179e26..ec0bc1d 100755 --- a/install +++ b/install @@ -1,12 +1,6 @@ -#!/usr/bin/env python -from os.path import expanduser -import shutil -import sys +#!/bin/sh -try: - shutil.copy('./cheat', '/usr/local/bin/') - shutil.copytree('./.cheat', expanduser('~') + '/.cheat') - print "cheat has been installed successfully." -except IOError as e: - print >> sys.stderr, e - sys.exit(1) +cp ./cheat /usr/local/bin +cp -r ./.cheat ~/ + +printf "Cheat has been intsalled sucessfully." From b47c7b2a2d67e1787b81246b0470d06bfee0f49e Mon Sep 17 00:00:00 2001 From: ppierson Date: Fri, 16 Aug 2013 13:29:24 -0400 Subject: [PATCH 5/6] modified: install --- install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install b/install index ec0bc1d..679b56e 100755 --- a/install +++ b/install @@ -3,4 +3,4 @@ cp ./cheat /usr/local/bin cp -r ./.cheat ~/ -printf "Cheat has been intsalled sucessfully." +printf "Cheat has been intsalled sucessfully.\n" From 44a3820f0821cb40dd81c90274f10fbb24a17526 Mon Sep 17 00:00:00 2001 From: ppierson Date: Fri, 16 Aug 2013 13:32:08 -0400 Subject: [PATCH 6/6] modified: install --- install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install b/install index 679b56e..4f84093 100755 --- a/install +++ b/install @@ -3,4 +3,4 @@ cp ./cheat /usr/local/bin cp -r ./.cheat ~/ -printf "Cheat has been intsalled sucessfully.\n" +printf "Cheat has been installed sucessfully.\n"