This little command will add up the lines of code across packages in a Java program.
1 | find . -name "*.java" -exec wc -l {} \+ |
This little command will add up the lines of code across packages in a Java program.
1 | find . -name "*.java" -exec wc -l {} \+ |
When I owned my first computer there were two well known choice: Internet Explorer and Netscape. IE won and for about a year thats all I used. I tinkered around with Mozilla (this is the old Mozilla suite), but found it less polished and it tried to do everything.
Read More
1 2 3 4 5 6 7 8 | class the_earth { ... }; class the_meek : public the_earth { ... }; |
From: StackOverflow answer
For CS351, Intro to Systems, we had to do several operations using bit operators only. These took awhile, but are pretty cool to show off. We were graded by how few operations we used to return the right values for the generated test cases, including some difficult boundary ones. Read More
One of my favorite algorithms is the simple, elegant Euclidean algorithm for finding the greatest common denominator of two numbers. In ML or another functional language it really is beautiful: Read More
Here are two recursive fibonacci functions in ML I did for CS243. Can you tell which one is more efficient? Read More
For my first code post I thought it might be appropriate to put the first code from the first lab of my first computer science class at Wheaton. Read More