Learn Yourself a New Language (LYANL)
This repository encourages anyone to share code snippets of standard algorithms in any language of their liking to help themselves/others pick up a new programming language!
To contribute, fork this repository and make a pull request with your changes.
We're looking to support these languages for a start (version in parenthesis):
- Java (8)
- JavaScript (ES6+)
- Python (2.7+)
- Ruby (2.4+)
- Scala (2.12+)
- ReasonML (3.2+)
- Rust (1.33+)
- Selection Sort
- Bubble Sort
- Insertion Sort
- Merge Sort
- Quick Sort
- Bucket Sort
- Heap Sort
- Counting Sort
- Depth First Search
- Breadth First Search
- Binary Search
(More information can be found here)
- Open Terminal
- Check whether you have Ruby 2.1.0 or higher installed:
$ ruby --version
ruby 2.X.X
- If you don't have Ruby installed, install Ruby 2.1.0 or higher.
- Install Bundler:
$ gem install bundler
- Install Jekyll and other dependencies from the GitHub Pages gem:
$ bundle install
- In the root directory of your local Jekyll site repository, run
$ bundle exec jekyll serve
- Preview your local Jekyll site in your web browser at
https://localhost:4000
.