Skip to content

Commit 7340995

Browse files
committed
flatten python and ruby examples
1 parent 17e3c9e commit 7340995

16 files changed

+8
-150
lines changed

Python/README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ Python - Examples
44
Program List
55
------------
66

7-
[*Algorithms*](/Python/Algorithms/)
7+
*Algorithms*
88

99
- **kMeansCluster**.py
1010
- run k-means algorithm on TSV data file
1111

12-
[*Graphics*](/Python/Graphics/)
12+
*Graphics*
1313

1414
- **imageConversion**.py
1515
- takes in many images as input, converting them based on CSV data
@@ -18,7 +18,7 @@ Program List
1818
- **tree**.py
1919
- generate a network diagram (tree)
2020

21-
[*System*](/Python/System/)
21+
*System*
2222

2323
- **csvToDatabase**.py
2424
- convert from several CSV to STScI database input files
@@ -30,6 +30,6 @@ Program List
3030
Compiling & Running Code
3131
------------------------
3232

33-
these examples are not stand-alone, since no data is provided to run the actual script
33+
These examples are not stand-alone, since no data is provided to run the actual script.
3434

35-
you can try to run them using the command-line version of Python, adjusting as needed for your data
35+
You can try to run them using the command-line version of Python, adjusting as needed for your data.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

Ruby/README.md

+3-14
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,14 @@ Ruby - Examples
44
Program List
55
------------
66

7-
[*Language*](/Ruby/Language/)
7+
*Language*
88

99
- **hello**.rb
1010
- classic Hello, World program
1111
- **polyhedron**.rb
1212
- several classes to abstract building a polyhedron and outputting it to SVG
1313

14-
[*Ruby on Rails*](/Ruby/RubyOnRails/)
15-
16-
- **controller**.rb
17-
- Ruby on Rails, controller component of MVC framework
18-
- **model**.rb
19-
- Ruby on Rails, model component of MVC framework
20-
- **view**.erb
21-
- Ruby on Rails, view component of MVC framework (partially HTML)
22-
23-
[*System*](/Ruby/System/)
14+
*System*
2415

2516
- **pingClient**.rb
2617
- creates a UDP ping client
@@ -33,11 +24,9 @@ Compiling & Running Code
3324
run them using the command-line version of Ruby
3425
> e.g. for program: **hello.rb**
3526
36-
> > cd **Language/**
37-
3827
> > ruby **hello.rb**
3928
4029
Credit
4130
------
4231

43-
**Leon Tabak** for inspiration of *Language/polyhedron.rb*
32+
**Leon Tabak** for inspiration of *polyhedron.rb*.

Ruby/RubyOnRails/controller.rb

-87
This file was deleted.

Ruby/RubyOnRails/model.rb

-16
This file was deleted.

Ruby/RubyOnRails/view.erb

-28
This file was deleted.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)