Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1384 commits
Select commit Hold shift + click to select a range
9a7431b
Merge pull request #161 from bhoffman0/add/2.5-Kate-MCQs
bhoffman0 Aug 4, 2023
a2e57a2
Make the constructors more useful in new MCQ
gigamonkey Aug 4, 2023
fad0b8a
Updated visualizer links
bhoffman0 Aug 4, 2023
fca545e
Also add directions to challenge activecode
bhoffman0 Aug 4, 2023
9474c83
Merge pull request #162 from bhoffman0/edits/constructors-in-new-mcq
gigamonkey Aug 4, 2023
6b4c850
Fix the title if we are renumbering.
gigamonkey Aug 6, 2023
f384062
Merge pull request #163 from bhoffman0/renumber-fix-title
gigamonkey Aug 6, 2023
172c307
Add a Math fns section to 2.9
bhoffman0 Aug 8, 2023
8b70341
Probably need at least 2 tests with different args
bhoffman0 Aug 8, 2023
83bbbea
spelling
bhoffman0 Aug 8, 2023
ccaf785
Edits and borrowed random stuff from Peter
bhoffman0 Aug 8, 2023
34128d6
Fix to DistanceCalculator @test
bhoffman0 Aug 8, 2023
cd3e168
Merge pull request #164 from bhoffman0/edits/add-Math-fns-section-to-2-9
bhoffman0 Aug 8, 2023
4e42fbd
Fix autograde code and add images
bhoffman0 Aug 8, 2023
b09f68f
Merge pull request #166 from bhoffman0/edits/2-9-fixes
bhoffman0 Aug 8, 2023
9448893
Switching to svg time-line image in 2.9
bhoffman0 Aug 9, 2023
71b3ebd
New style of assertions in CodeTestHelper.
gigamonkey Aug 9, 2023
8ea9384
Whoops. Those were gratuitous.
gigamonkey Aug 9, 2023
6a94537
Add @updated line and bump minor version per semver guidelines.
gigamonkey Aug 10, 2023
e6d6333
Merge pull request #167 from bhoffman0/code/simpler-assertions
gigamonkey Aug 10, 2023
44ae6fc
A bit more explanation of the graphics coordinate system.
gigamonkey Aug 10, 2023
7ec989b
Moving common bits to an included file.
gigamonkey Aug 10, 2023
ff22d39
Merge pull request #169 from bhoffman0/common-bits-to-include-file
gigamonkey Aug 11, 2023
937ef6d
one svg time estimate missed and link fixes
bhoffman0 Aug 12, 2023
26e0fd7
Merge pull request #170 from bhoffman0/edits/2-1-missed-svg-replaced
bhoffman0 Aug 12, 2023
d35f9d8
Better directions for hparsons problems
bhoffman0 Aug 18, 2023
0b663bf
Merge pull request #171 from bhoffman0/edits/1-2-hparsons-directions
bhoffman0 Aug 18, 2023
3cde43d
Edits to text of 1.4. Mostly switching from modulo to remainder.
gigamonkey Aug 20, 2023
41bde59
More edits to 1.4
gigamonkey Aug 20, 2023
142301a
Yet more edits to 1.4
gigamonkey Aug 20, 2023
dd6dbc5
Missing backtick.
gigamonkey Aug 20, 2023
f9f7314
operation -> expressions
gigamonkey Aug 20, 2023
959a24b
``=`` in first paragraph
bhoffman0 Aug 25, 2023
76e783c
Removing ..note styling for ^ and forward Unit 2 reference
bhoffman0 Aug 25, 2023
4c1098f
Mod edits: removing ..note and some details on mod
bhoffman0 Aug 25, 2023
563a0cf
Edit "Remainder gives you remainder" in MCQ feedback
bhoffman0 Aug 25, 2023
af4f17c
Comma and word change
bhoffman0 Aug 25, 2023
91097ed
last revised date
bhoffman0 Aug 25, 2023
3c5a9a5
Merge pull request #172 from bhoffman0/1-4-changes-cherry-pick-bhsawe…
bhoffman0 Aug 26, 2023
97c20df
Slightly better directions and feedback from autograding code
bhoffman0 Aug 26, 2023
4ca353c
A little more on directions and flexibility
bhoffman0 Aug 26, 2023
13f1fa2
Fix references to modulo in 3.1. Includes fixing the n % 2 == 1 for t…
gigamonkey Aug 20, 2023
96ff019
Converting most remaining references to 'modulo' or 'mod' to 'remainder'
gigamonkey Aug 20, 2023
83644c7
One more ref to Mod
gigamonkey Aug 20, 2023
025d348
length of underline for subsection must match to avoid build errors (…
bhoffman0 Aug 27, 2023
d40971e
Edits to 1.5
gigamonkey Aug 20, 2023
5a973a3
Some quick edits to 1.6
gigamonkey Aug 23, 2023
d0e4eb7
Missing image
gigamonkey Aug 23, 2023
f748b4b
Fix formatting of list.
gigamonkey Aug 23, 2023
0697cfb
A few more edits to 1.6
gigamonkey Aug 26, 2023
98c2763
Fixing some typos
bhoffman0 Aug 27, 2023
16a8323
one more typo
bhoffman0 Aug 27, 2023
2046d42
Merge pull request #173 from bhoffman0/edits/1-9-directions-feedback
bhoffman0 Aug 27, 2023
129b48d
Merge pull request #174 from bhoffman0/edits/mod-to-remainder-change-…
bhoffman0 Aug 27, 2023
46223d5
Merge pull request #175 from bhoffman0/edits/1-5-edits-from-bhsawesome
bhoffman0 Aug 27, 2023
268304d
Merge pull request #176 from bhoffman0/edits/1-6-from-bhsawesome-and-…
bhoffman0 Aug 27, 2023
ccb60ff
adding sisters rise up and ncwit blurbs
bhoffman0 Aug 29, 2023
703cdda
Add heading to small toc
bhoffman0 Aug 29, 2023
1c2dfac
Merge pull request #177 from bhoffman0/edits/index-sisters-rise-up-an…
bhoffman0 Aug 29, 2023
e37dd1d
Add replit import projects link
bhoffman0 Aug 31, 2023
bd416f7
Fixing Unit 5 click-correct exercises
bhoffman0 Sep 27, 2023
003c7dc
Merge pull request #178 from bhoffman0/fix/unit-5-click-exercises-cor…
bhoffman0 Sep 27, 2023
632ebe5
Fix the fix on click exercise
bhoffman0 Sep 27, 2023
660e45b
Fix some backticks.
gigamonkey Oct 17, 2023
e23e3b7
Merge pull request #179 from bhoffman0/gigamonkey/fix-quotes
gigamonkey Oct 17, 2023
72c5f9d
Missing backtick.
gigamonkey Oct 17, 2023
a561e9b
Merge pull request #180 from bhoffman0/gigamonkey/another-backtick
gigamonkey Oct 17, 2023
3024063
Update test for 3.4 IfDebug
kmcdonnell2 Oct 20, 2023
bbce04c
Updated test for 2.4 Song
kmcdonnell2 Oct 20, 2023
fe9cee0
Updated test 2.9 MathChallenge
kmcdonnell2 Oct 20, 2023
b416758
fix some typography
gigamonkey Oct 22, 2023
b97fad3
Dedent the bulleted list under Common Mistakes
gigamonkey Oct 22, 2023
6ff1afa
Merge pull request #181 from bhoffman0/gigamonkey/typography-fix-4-3
gigamonkey Oct 22, 2023
67dd695
Merge pull request #182 from bhoffman0/gigamonkey/dedent-common-mista…
gigamonkey Oct 22, 2023
6966e4f
Fix stepTracker4
bhoffman0 Oct 25, 2023
eb01240
Merge pull request #183 from bhoffman0/Fix/step-tracker4
bhoffman0 Oct 25, 2023
14460ba
Fix description of problem code that is not quite identical.
gigamonkey Oct 28, 2023
4b28963
Merge pull request #184 from bhoffman0/gigamonkey/not-quite-identical
gigamonkey Oct 28, 2023
f0a5676
Add some missing braces and indentation.
gigamonkey Oct 28, 2023
4e3c2a0
Merge pull request #185 from bhoffman0/gigamonkey/fix-code-formatting
gigamonkey Oct 28, 2023
60baa63
small fixes
bhoffman0 Nov 21, 2023
2ef4628
Merge pull request #186 from bhoffman0/fixes/reported-errors-5-12-and…
bhoffman0 Nov 21, 2023
f505fd8
fixed 3.4 broken link
bhoffman0 Nov 21, 2023
f737d5c
Fixes to keepOnlyBlue description and String[][]
bhoffman0 Nov 21, 2023
91a6815
Merge pull request #187 from bhoffman0/fixes/u8-reported-errors-in-ke…
bhoffman0 Nov 21, 2023
6da6a0f
Add Amazon, ACM scholarship info
bhoffman0 Nov 22, 2023
f9c6e7c
Remove incorrect test.
gigamonkey Dec 7, 2023
3ec5469
Change answer and answer code.
gigamonkey Dec 7, 2023
4b69821
Update _sources/Unit7-ArrayList/listPractice.rst
bhoffman0 Dec 7, 2023
c228849
Merge pull request #188 from bhoffman0/remove-incorrect-test-for-cast
gigamonkey Dec 7, 2023
3908e0c
Edits to 7.1
gigamonkey Jan 1, 2024
fdcb7ac
typos reported by Jessica Brent
bhoffman0 Jan 5, 2024
8640449
Merge pull request #189 from bhoffman0/Typos-reported-by-Jessica-Brent
bhoffman0 Jan 5, 2024
48486ea
Edits to 7.2
gigamonkey Jan 1, 2024
6d3d92e
Edits to 7.3
gigamonkey Jan 1, 2024
683f476
fix pseudocode formatting
bhoffman0 Jan 7, 2024
e9fd2ac
Small tweaks to 7.3
gigamonkey Jan 2, 2024
68919a2
Merge pull request #190 from bhoffman0/Cherry-pick-U7-Peter-edits
bhoffman0 Jan 7, 2024
bbc64e1
Update revised date and amazon scholarship
bhoffman0 Jan 7, 2024
fe979e7
7.3 Fix pseudocode formatting one more time
bhoffman0 Jan 7, 2024
bda7c54
Update copyright range.
gigamonkey Jan 7, 2024
75b32b7
Merge pull request #191 from bhoffman0/update-copyright
gigamonkey Jan 7, 2024
878526f
Fix RiseUp link and comment out cutler-bell prize.
bhoffman0 Jan 20, 2024
44f7c29
Added some background suggestions by Donald Payne
bhoffman0 Jan 21, 2024
5f791e8
Added a space after backquotes so they would work
bhoffman0 Jan 21, 2024
a43a990
Backport BHSawesome edits.
gigamonkey Jan 21, 2024
30b6c3c
Update _sources/Unit1-Getting-Started/topic-1-3-variables.rst
gigamonkey Jan 21, 2024
d37810c
Update topic-1-3-variables.rst
gigamonkey Jan 21, 2024
b3df4ca
Update topic-1-3-variables.rst
gigamonkey Jan 21, 2024
70408b0
Rewrap.
gigamonkey Jan 21, 2024
7f35ff1
Merge pull request #192 from bhoffman0/gigamonkey/ints-doubles-edits
gigamonkey Jan 21, 2024
ded5799
Typo fix and wording suggested by Elaine Griggs
bhoffman0 Feb 1, 2024
15f3b5f
Two bug fixes pointed out by teachers
bhoffman0 Feb 9, 2024
69fd27f
Merge pull request #193 from bhoffman0/bug-fixes
bhoffman0 Feb 9, 2024
2662359
Moving note to correct exercise 6-1
bhoffman0 Feb 15, 2024
9167dbe
Clarification about return type and overloading.
gigamonkey Feb 25, 2024
47d568a
Unit 9.3 wording tweaks
gigamonkey Feb 25, 2024
0ff0eff
Make weird setter into a normal setter.
gigamonkey Feb 25, 2024
5672e98
Change the main reason for using inheritance.
gigamonkey Feb 25, 2024
9495a9e
Add item about static methods to summary.
gigamonkey Feb 25, 2024
6236442
Tweaks to 9.8 vocab summary.
gigamonkey Feb 25, 2024
7808267
Flip last common mistake to using inheritance when you shouldn't.
gigamonkey Feb 25, 2024
9e764af
Update _sources/Unit9-Inheritance/topic-9-3-overriding.rst
bhoffman0 Feb 25, 2024
12ced2b
Merge pull request #194 from bhoffman0/unit-9-bhsawesome-edits
gigamonkey Feb 25, 2024
c64b2d3
Some tweaks to recursion unit.
gigamonkey Mar 18, 2024
93fc791
Remove extra 'an'
gigamonkey Mar 19, 2024
5a0bfa4
A bit more explanation of trees.
gigamonkey Mar 19, 2024
de84ab7
Merge pull request #195 from bhoffman0/unit-10-bhsawesome-edits
gigamonkey Mar 20, 2024
9b29eac
Updating copyright years to include 2024
gigamonkey Apr 12, 2024
54a6f75
Merge pull request #196 from bhoffman0/update-copyrights-to-2024
gigamonkey Apr 13, 2024
7438350
Teacher reported fixes
bhoffman0 Apr 13, 2024
303d6f0
Merge pull request #197 from bhoffman0/teacher-reported-bug-fixes
bhoffman0 Apr 13, 2024
40d25ab
Broken link fixed
bhoffman0 Apr 16, 2024
f3b3343
Added write code for future work
barbarer Apr 21, 2024
5a2e9a6
Fix to toctree
barbarer Apr 21, 2024
d00cdcc
Merge branch 'master' into master
barbarer Apr 22, 2024
8bc2645
Merge pull request #198 from barbarer/master
barbarer Apr 22, 2024
74009d2
Fixed the indentation
barbarer Apr 22, 2024
77b9921
Merge pull request #199 from barbarer/master
barbarer Apr 22, 2024
6294596
Missing quote
barbarer Apr 22, 2024
4cfc4ce
Merge branch 'bhoffman0:master' into master
barbarer Apr 22, 2024
d276ebd
Merge pull request #200 from barbarer/master
barbarer Apr 22, 2024
c9fde5d
Trying just the first four
barbarer Apr 23, 2024
d190bf6
Merge branch 'master' of https://github.com/barbarer/CSAwesome
barbarer Apr 23, 2024
0593a3a
Update Array2dMoreCodePractice.rst
barbarer Apr 23, 2024
78d89b9
Update Array2dMoreCodePractice.rst
barbarer Apr 23, 2024
ad0b98c
Update Array2dMoreCodePractice.rst
barbarer Apr 23, 2024
4f23471
Update Array2dMoreCodePractice.rst
barbarer Apr 23, 2024
76a9dd1
Update Array2dMoreCodePractice.rst
barbarer Apr 23, 2024
80505c6
Update Array2dMoreCodePractice.rst
barbarer Apr 23, 2024
4c9eef9
Update Array2dMoreCodePractice.rst
barbarer Apr 23, 2024
5299179
New conditional practice
barbarer Apr 23, 2024
9e9d9cc
Merge branch 'master' of https://github.com/barbarer/CSAwesome
barbarer Apr 23, 2024
4610c29
Merge branch 'master' of https://github.com/barbarer/CSAwesome
barbarer Apr 23, 2024
22a20df
Merge pull request #201 from barbarer/master
barbarer Apr 23, 2024
d51bd7a
Added problems for 1D arrays
barbarer Apr 23, 2024
cab5ee4
Merge branch 'master' of https://github.com/barbarer/CSAwesome
barbarer Apr 23, 2024
cefcd0d
Merge pull request #202 from barbarer/master
barbarer Apr 23, 2024
d25a95b
Update MoreArrayPractice.rst
barbarer Apr 23, 2024
fb389d3
Merge branch 'master' of https://github.com/barbarer/CSAwesome
barbarer Apr 23, 2024
5627b23
Merge pull request #203 from barbarer/master
barbarer Apr 23, 2024
7b15e3d
Fix test cases for has22
barbarer Apr 23, 2024
f757c18
Merge pull request #204 from barbarer/master
barbarer Apr 23, 2024
fd9f454
Fix indentation for add code
barbarer Apr 23, 2024
d065c51
Merge branch 'master' of https://github.com/barbarer/CSAwesome
barbarer Apr 23, 2024
0480ffb
Merge pull request #205 from barbarer/master
barbarer Apr 23, 2024
bdc76d8
Edit description of replit.com
bhoffman0 May 17, 2024
73cdea1
Change firewalledreplit Swing links to replit
bhoffman0 May 17, 2024
01d5998
Replace old repl.it mentions to replit.com
bhoffman0 May 17, 2024
0b2150e
More edits to replit description
bhoffman0 May 17, 2024
06f164c
Merge pull request #206 from bhoffman0/Replit-link-changes
bhoffman0 May 18, 2024
666518e
Finally publish the good new about the Reformat button!
gigamonkey Jun 14, 2024
e939aab
Merge pull request #207 from bhoffman0/reformat-good-news
gigamonkey Jun 14, 2024
1fc4686
Unit 1 Edits borrowed back from csawesome2
bhoffman0 Jul 17, 2024
3bcefcb
remove 1 sentence
bhoffman0 Jul 17, 2024
4544929
Merge pull request #208 from bhoffman0/edits-to-unit-1-borrowed-back-…
bhoffman0 Jul 18, 2024
fcd2d03
Fixed some tests
bhoffman0 Jul 18, 2024
de817de
Merge pull request #209 from bhoffman0/edits-to-unit-1-borrowed-back-…
bhoffman0 Jul 18, 2024
0d2cc7f
A couple more test fixes in 1.6
bhoffman0 Jul 18, 2024
ffed1bf
Replacing function with method
bhoffman0 Jul 28, 2024
9df72ed
Merge pull request #210 from bhoffman0/replacing-function-with-method
bhoffman0 Jul 28, 2024
abbe708
new frq lessons in Unit 2 & 3 based on 2022 AP Game/Level getScore() FRQ
bhoffman0 Jul 29, 2024
83bb612
method-signature and method calls from csawesome2
bhoffman0 Jul 30, 2024
86f52cb
change heading to preview
bhoffman0 Jul 30, 2024
9a9ae75
Update topic-3-4-else-ifs.rst - Changed Battery Question to == 100
kmcdonnell2 Jul 30, 2024
b68276b
Added test to lcso1 for variable
kmcdonnell2 Jul 30, 2024
42d6424
Update topic-5-7 Person so static variable resets
kmcdonnell2 Jul 30, 2024
0b97f30
Update topic-7-3 improved tests for 7.3.1.1 listForEachLoop
kmcdonnell2 Jul 30, 2024
ff8aef7
Update cookieOrderB testing to test removal, added toString
kmcdonnell2 Jul 30, 2024
d67bf45
Update 2.5.1.3 ActiveCode (TurtleTestMethodsReturn2) removing toString
kmcdonnell2 Jul 30, 2024
db66544
Merge pull request #211 from bhoffman0/new-earlier-frq-practice
bhoffman0 Jul 31, 2024
f4b9a09
Merge pull request #212 from bhoffman0/Add-preview-static-method-less…
bhoffman0 Jul 31, 2024
bb8e5eb
Fixes to autograde tests
bhoffman0 Jul 31, 2024
946a335
Replaced \t in messed up spacing
bhoffman0 Aug 1, 2024
e61349f
Fix to 2 MCQs
bhoffman0 Aug 3, 2024
300d20f
Corrected misspelled indicies in multiple pages
bhoffman0 Aug 8, 2024
63e6b3b
Small reported fixes
bhoffman0 Sep 7, 2024
4774651
Merge pull request #213 from bhoffman0/edits-to-ide-page-and-small-fixes
bhoffman0 Sep 7, 2024
d58e433
small fixes
bhoffman0 Sep 8, 2024
fd15d2c
pass args instead of null
DavidCooperWCU Sep 12, 2024
f6f32d8
Remove comment
DavidCooperWCU Sep 14, 2024
5347dfb
Merge pull request #214 from WCU-CS-CooperLab/non-static-methods-with…
bhoffman0 Sep 16, 2024
8cd6732
Changed 3.4 challenge tests
kmcdonnell2 Oct 7, 2024
dd11176
New random in ifs section
bhoffman0 Oct 11, 2024
36120f5
typo
bhoffman0 Oct 11, 2024
093beb7
Update _sources/Unit3-If-Statements/topic-3-3-if-else.rst
bhoffman0 Oct 11, 2024
f0629a5
Update _sources/Unit3-If-Statements/topic-3-3-if-else.rst
bhoffman0 Oct 11, 2024
eda63d0
Update _sources/Unit3-If-Statements/topic-3-3-if-else.rst
bhoffman0 Oct 11, 2024
bd9b1a7
Merge pull request #215 from bhoffman0/add-random-in-ifs-section
bhoffman0 Oct 12, 2024
7720046
Remove replit iframes, add JuiceMind links
bhoffman0 Oct 15, 2024
9844b2a
Merge pull request #217 from bhoffman0/JuiceMind-links-replit-cleanup
bhoffman0 Oct 15, 2024
e85ad0b
1 typo and a couple more links
bhoffman0 Oct 15, 2024
fde8537
Merge pull request #218 from bhoffman0/JuiceMind-links-replit-cleanup
bhoffman0 Oct 15, 2024
0f0cac9
Added ChangeCode Methods with Input
kmcdonnell2 Oct 17, 2024
9cb346a
Fixing test for 3.4 challenge
kmcdonnell2 Nov 4, 2024
d1baf9f
Adding scaffolding to 3-3 challenge 20Qs and adding Kate's suggestion…
bhoffman0 Nov 11, 2024
fe5774a
Merge pull request #219 from bhoffman0/edits-3-3-and-4-5
bhoffman0 Nov 11, 2024
2fd3037
typo
bhoffman0 Nov 11, 2024
646fa6f
one more bug in 4-5
bhoffman0 Nov 11, 2024
bdf70af
Fix buggy feedback
bhoffman0 Nov 14, 2024
1ce6f4c
typo
bhoffman0 Nov 16, 2024
c421047
Adding experiment at the end of Unit 3 - Using most common solution P…
zihan21206 Nov 20, 2024
d59e5ea
Merge pull request #220 from amy21206/master
barbarer Nov 20, 2024
cb23fc9
small fixes
bhoffman0 Nov 20, 2024
ca51f9f
typo fix
bhoffman0 Nov 29, 2024
86580c4
Getting rid of ugly green highlight in java code
bhoffman0 Dec 7, 2024
fa7c68c
Change experiment images to hosting locally
zihan21206 Dec 18, 2024
62b2a15
Merge branch 'bhoffman0:master' into master
zihan21206 Dec 18, 2024
fef626e
Merge pull request #221 from amy21206/master
barbarer Dec 18, 2024
5749e65
6-4 array algorithms: adding content from CSAwesome2
bhoffman0 Dec 27, 2024
9256d00
Merge pull request #223 from bhoffman0/6-4-algorithms-from-csawesome2
bhoffman0 Dec 27, 2024
e3a1caa
borrow material from csawesome2
bhoffman0 Jan 7, 2025
013e7a1
Merge pull request #224 from bhoffman0/Expand-7-4-ArrayList-algorithm…
bhoffman0 Jan 7, 2025
1e33ca6
Bug fix to unit test reported by teacher
bhoffman0 Jan 15, 2025
393538b
remove extraneous semicolon
Lioness100 Jan 24, 2025
56a83dc
Merge pull request #225 from Lioness100/patch-1
bhoffman0 Jan 24, 2025
3c1d73a
7-4 autograde bug fix
bhoffman0 Jan 28, 2025
49d596e
7-4 autograde bug fix 2
bhoffman0 Jan 28, 2025
4e93037
Remove bad unit test
bhoffman0 Mar 4, 2025
b441313
fix cdc data file
bhoffman0 Mar 9, 2025
19ef76d
Remove broken links
bhoffman0 Mar 30, 2025
e71cb88
Add missing words to smaller dictionary for search count
bhoffman0 Mar 31, 2025
79c8cf2
Fix to mcq
bhoffman0 May 10, 2025
2d7bb07
Redirect message for csawesome2
bhoffman0 Jun 24, 2025
4e98656
Merge pull request #227 from bhoffman0/redirect-msg-for-csawesome2
bhoffman0 Jun 24, 2025
6beed7f
Trying to change shelf description more
bhoffman0 Jun 24, 2025
9ef34b6
Merge pull request #228 from bhoffman0/redirect-msg-for-csawesome2
bhoffman0 Jun 24, 2025
21606de
A couple reported typo/bugs
bhoffman0 Jul 26, 2025
adb5c1f
clean cleanSentiment.csv
bhoffman0 Aug 15, 2025
6495ed6
Fixing broken links in issues
bhoffman0 Sep 16, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
8 changes: 4 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Ignore unique build info
build_info
build

# Miscellaneous source files
_sources/Tests/test6.rst
Expand All @@ -14,7 +15,6 @@ _sources copy/Appendix/DrJava.rst

# Machine specific files
.DS_Store
_sources/.DS_Store
_sources/.DS_Store
_sources/.DS_Store
_sources/.DS_Store
pavement.py
sphinx_settings.json
.vscode/settings.json
20 changes: 20 additions & 0 deletions CodeDigest.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.nio.charset.StandardCharsets;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.security.NoSuchAlgorithmException;
import java.util.stream.Collectors;

public class CodeDigest {

public static void main(String[] args) throws NoSuchAlgorithmException, IOException {
String code = args[0].equals("-") ? getStdin() : Files.readString(Paths.get(args[0]));
System.out.println(CodeTestHelper.codeDigest(code));
}

private static String getStdin() throws IOException {
return new String(System.in.readAllBytes(), StandardCharsets.UTF_8);
}
}
Loading