From fbfab73effc436a20c19176e5a18d03cc828fee2 Mon Sep 17 00:00:00 2001 From: yztxwd Date: Fri, 14 Aug 2020 09:33:22 -0400 Subject: [PATCH 01/11] jmy5455 --- jmy5455.txt | 1 + 1 file changed, 1 insertion(+) create mode 100644 jmy5455.txt diff --git a/jmy5455.txt b/jmy5455.txt new file mode 100644 index 0000000..0f7a8f5 --- /dev/null +++ b/jmy5455.txt @@ -0,0 +1 @@ +file created by jmy5455 From 44b311e574a00de27e65f569a026f5f2e8c014e4 Mon Sep 17 00:00:00 2001 From: dcc5251 Date: Fri, 14 Aug 2020 11:22:23 -0400 Subject: [PATCH 02/11] Created a new text file called tips.txt, random strings about version-control.txt --- tips.txt | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 tips.txt diff --git a/tips.txt b/tips.txt new file mode 100644 index 0000000..541a5d2 --- /dev/null +++ b/tips.txt @@ -0,0 +1,2 @@ +Tips for using version control + From afba5c1f9ef80a46bd43c7e29d94bf0f5062f8f4 Mon Sep 17 00:00:00 2001 From: John Blischak Date: Fri, 14 Aug 2020 11:30:09 -0400 Subject: [PATCH 03/11] Added tip to set the seed. --- set-seed.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 set-seed.md diff --git a/set-seed.md b/set-seed.md new file mode 100644 index 0000000..d0007ed --- /dev/null +++ b/set-seed.md @@ -0,0 +1 @@ +Set a seed for reproducible randomness. In R use the function `set.seed()`. From a5b439abbf08f8525829eeca24f19c51f0dd3401 Mon Sep 17 00:00:00 2001 From: Abner Apsley Date: Fri, 14 Aug 2020 11:32:06 -0400 Subject: [PATCH 04/11] Added loop-creating.md file --- loop-creating.md | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 loop-creating.md diff --git a/loop-creating.md b/loop-creating.md new file mode 100644 index 0000000..a463057 --- /dev/null +++ b/loop-creating.md @@ -0,0 +1,6 @@ +# Creating Loops in the Shell # + +'for ((i=0; i=10; i+=1)) +do + echo ${i} +done' From cc73ce8cc393b060d82edace54ee60da68b4ef84 Mon Sep 17 00:00:00 2001 From: xmz5176May Date: Fri, 14 Aug 2020 11:36:42 -0400 Subject: [PATCH 05/11] new file: 1.sh --- 1.sh | 1 + 1 file changed, 1 insertion(+) create mode 100644 1.sh diff --git a/1.sh b/1.sh new file mode 100644 index 0000000..2d4e100 --- /dev/null +++ b/1.sh @@ -0,0 +1 @@ +# day 3 bootcamp From 6983168fb87ca9688d76aa33e7f61c24f481c2d5 Mon Sep 17 00:00:00 2001 From: FrostyFears Date: Fri, 14 Aug 2020 11:37:03 -0400 Subject: [PATCH 06/11] Added info on computational tips --- CompTip.txt | 1 + 1 file changed, 1 insertion(+) create mode 100644 CompTip.txt diff --git a/CompTip.txt b/CompTip.txt new file mode 100644 index 0000000..774249a --- /dev/null +++ b/CompTip.txt @@ -0,0 +1 @@ +Always make sure to comment your scripts! From b0b13794701d872204315728f9f0f9e20de1ae66 Mon Sep 17 00:00:00 2001 From: Nathan Derstine Date: Fri, 14 Aug 2020 11:37:37 -0400 Subject: [PATCH 07/11] Added reminder to make meaningful comments on lines of code. --- make-comments.md | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 make-comments.md diff --git a/make-comments.md b/make-comments.md new file mode 100644 index 0000000..b1a87f9 --- /dev/null +++ b/make-comments.md @@ -0,0 +1,3 @@ +Remember to make comments on all lines of code, and be descriptive! + +Your future self will thank you. From d789a60e64960d6504ba5f540006acb5838a3294 Mon Sep 17 00:00:00 2001 From: "Stephen W. Schaeffer" Date: Fri, 14 Aug 2020 11:39:05 -0400 Subject: [PATCH 08/11] I added this ultimate tip. --- TheBestTip.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 TheBestTip.md diff --git a/TheBestTip.md b/TheBestTip.md new file mode 100644 index 0000000..31d7f63 --- /dev/null +++ b/TheBestTip.md @@ -0,0 +1 @@ +Please add this code to your program From 2881e42d255dade0eb1c6c025d3859ee81248b32 Mon Sep 17 00:00:00 2001 From: Alan Brown Date: Fri, 14 Aug 2020 11:41:25 -0400 Subject: [PATCH 09/11] Added a tip file for the alias command --- aliases.txt | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 aliases.txt diff --git a/aliases.txt b/aliases.txt new file mode 100644 index 0000000..9844798 --- /dev/null +++ b/aliases.txt @@ -0,0 +1,7 @@ +The alias command is very useful to create shortcuts to commands. A common one is with the list command. + +alias l='ls -lh' + +The above command will create an alias for "l". Anytime you type l into the terminal it will be as if you typed ls -lh + + From b5c95c4985e9301e2421fa5ff5eb5235ea3a0206 Mon Sep 17 00:00:00 2001 From: abnerapsley1 <57500819+abnerapsley1@users.noreply.github.com> Date: Fri, 14 Aug 2020 11:41:52 -0400 Subject: [PATCH 10/11] Update loop-creating.md --- loop-creating.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/loop-creating.md b/loop-creating.md index a463057..cef033f 100644 --- a/loop-creating.md +++ b/loop-creating.md @@ -1,6 +1,8 @@ # Creating Loops in the Shell # -'for ((i=0; i=10; i+=1)) +``` +for ((i=0; i=10; i+=1)) do echo ${i} done' +``` From 6d2562c3a2c593d14589553dfea82ffd17b38e7f Mon Sep 17 00:00:00 2001 From: abnerapsley1 <57500819+abnerapsley1@users.noreply.github.com> Date: Fri, 14 Aug 2020 11:44:49 -0400 Subject: [PATCH 11/11] Update loop-creating.md --- loop-creating.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/loop-creating.md b/loop-creating.md index cef033f..2b1049c 100644 --- a/loop-creating.md +++ b/loop-creating.md @@ -1,8 +1,10 @@ # Creating Loops in the Shell # +This starts i on 0, ends on 10, and adds 1 to each itteration to the value of i. The body of the loop prints the value of i for each itteration. + ``` for ((i=0; i=10; i+=1)) do echo ${i} -done' +done ```