From fbfab73effc436a20c19176e5a18d03cc828fee2 Mon Sep 17 00:00:00 2001 From: yztxwd Date: Fri, 14 Aug 2020 09:33:22 -0400 Subject: [PATCH 01/18] 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 a2d09fca81565fb21851e2c4e43c92ccbeb9914b Mon Sep 17 00:00:00 2001 From: uus91 Date: Fri, 14 Aug 2020 10:29:57 -0400 Subject: [PATCH 02/18] Adding a computing tip about deleting files! --- deletingCaution.txt | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 deletingCaution.txt diff --git a/deletingCaution.txt b/deletingCaution.txt new file mode 100644 index 0000000..2c7e412 --- /dev/null +++ b/deletingCaution.txt @@ -0,0 +1,3 @@ +Be careful when you use the -r flag when removing a directory! +It'll remove everything within that directory includin any +subdirectories for good! From 44b311e574a00de27e65f569a026f5f2e8c014e4 Mon Sep 17 00:00:00 2001 From: dcc5251 Date: Fri, 14 Aug 2020 11:22:23 -0400 Subject: [PATCH 03/18] 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 04/18] 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 b9407c77c76af45787c7748c48e1cdf4325549d4 Mon Sep 17 00:00:00 2001 From: deeprob Date: Fri, 14 Aug 2020 11:31:34 -0400 Subject: [PATCH 05/18] Added computing tips for bootcamp --- WriteCommments.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 WriteCommments.md diff --git a/WriteCommments.md b/WriteCommments.md new file mode 100644 index 0000000..f91c5cc --- /dev/null +++ b/WriteCommments.md @@ -0,0 +1 @@ +Write descriptive comments when writing code. From a5b439abbf08f8525829eeca24f19c51f0dd3401 Mon Sep 17 00:00:00 2001 From: Abner Apsley Date: Fri, 14 Aug 2020 11:32:06 -0400 Subject: [PATCH 06/18] 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 022c0f34dc318d2177f606516ffd60b2faeb145a Mon Sep 17 00:00:00 2001 From: Corrine Smolen Date: Fri, 14 Aug 2020 11:33:41 -0400 Subject: [PATCH 07/18] Added tip about help pages --- help_pages.md | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 help_pages.md diff --git a/help_pages.md b/help_pages.md new file mode 100644 index 0000000..1755874 --- /dev/null +++ b/help_pages.md @@ -0,0 +1,4 @@ +If you are ever unsure about what certain flags mean or what a tool is capable of doing use the help page. + +Running most commands with: --help OR -h +Will print out a help page for the tool that you can read through to learn about different flags or options. From 3eabd43de931ce7081ba0d1a5beb25819d5caccb Mon Sep 17 00:00:00 2001 From: Elle Butler Basner Date: Fri, 14 Aug 2020 11:36:06 -0400 Subject: [PATCH 08/18] I added a file called comment-code.txt, which explains that you should add informative comments to your code so that you and others will be able to understand your code. --- comment-code.txt | 1 + 1 file changed, 1 insertion(+) create mode 100644 comment-code.txt diff --git a/comment-code.txt b/comment-code.txt new file mode 100644 index 0000000..dc4a7fe --- /dev/null +++ b/comment-code.txt @@ -0,0 +1 @@ +When you are writing code, be sure to add comments for others and your future self. This way, it will be much easier to understand your code. Also, make sure that your comments are specific and informative. From cc73ce8cc393b060d82edace54ee60da68b4ef84 Mon Sep 17 00:00:00 2001 From: xmz5176May Date: Fri, 14 Aug 2020 11:36:42 -0400 Subject: [PATCH 09/18] 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 10/18] 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 4ac4ae77b75354d743df122633487c1371a8ea47 Mon Sep 17 00:00:00 2001 From: Sophia Dewing Date: Fri, 14 Aug 2020 11:37:05 -0400 Subject: [PATCH 11/18] have fun :) --- have-fun.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 have-fun.md diff --git a/have-fun.md b/have-fun.md new file mode 100644 index 0000000..d17f1da --- /dev/null +++ b/have-fun.md @@ -0,0 +1 @@ +have fun :) From 8a5fa174377334784f8856d183f7ea2ba542cc94 Mon Sep 17 00:00:00 2001 From: Emily Bean Date: Fri, 14 Aug 2020 11:37:30 -0400 Subject: [PATCH 12/18] create working log/script to track your work --- logging-work | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 logging-work diff --git a/logging-work b/logging-work new file mode 100644 index 0000000..c92f045 --- /dev/null +++ b/logging-work @@ -0,0 +1,3 @@ +Tip! +Create a "working log/script" when you are experimenting with new pipelines or analyses. +This helps you remember what you did. When you finish the analysis, clean it up and put it in its own stand-alone script. From b0b13794701d872204315728f9f0f9e20de1ae66 Mon Sep 17 00:00:00 2001 From: Nathan Derstine Date: Fri, 14 Aug 2020 11:37:37 -0400 Subject: [PATCH 13/18] 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 cd4af75748784379463576908e48e724e16508ad Mon Sep 17 00:00:00 2001 From: Chloee McLaughlin Date: Fri, 14 Aug 2020 11:38:13 -0400 Subject: [PATCH 14/18] Computing advice on backing up data --- backup-data.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 backup-data.md diff --git a/backup-data.md b/backup-data.md new file mode 100644 index 0000000..73f78af --- /dev/null +++ b/backup-data.md @@ -0,0 +1 @@ +When working on your local deivce, backup your data regulary on an external device or server! From d789a60e64960d6504ba5f540006acb5838a3294 Mon Sep 17 00:00:00 2001 From: "Stephen W. Schaeffer" Date: Fri, 14 Aug 2020 11:39:05 -0400 Subject: [PATCH 15/18] 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 16/18] 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 17/18] 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 18/18] 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 ```