• Stars
    star
    247
  • Rank 164,117 (Top 4 %)
  • Language
    Erlang
  • Created over 11 years ago
  • Updated over 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Companion exercises for O'Reilly Media's "Introducing Erlang"

Études for Erlang

Welcome to Études for Erlang. In this book, you will find descriptions of programs that you can write in Erlang. The programs will usually be short, and each one has been designed to provide practice material for a particular Erlang programming concept. These programs have not been designed to be of considerable difficulty, though they may ask you to stretch a bit beyond the immediate material and examples that you find in the book Introducing Erlang.

This book is open source, so if you’d like to contribute, make a correction, or otherwise participate in the project, check out oreillymedia/etudes-for-erlang on GitHub for details. If we accept your work, we’ll add you to the contributors chapter.

The online version of the book is at Études for Erlang on O’Reilly Labs.

Contributor Guidelines

If you’re considering making a contribution, here are some guidelines to keep in mind:

You agree to the O’Reilly Contributor License Agreement ("CLA").

You must register in to the O’Reilly Contributor License Agreement ("CLA") system in order for us to accept your contribution. The CLA is a nonexclusive license from you of the rights needed for O’Reilly use, publish and distribute your contributed content, and confirms that you retain ownership of the copyright in your contributions. You will receive an automated notices from the CLA when you issue a pull request.

Creative Commons license.

All contributions made to this site are required to be made under the link::http://creativecommons.org/licenses/by-nc-nd/3.0/[Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License]. This means that by making a content contribution, you are agreeing that it is licensed to us and to others under this license. If you do not want your content to be available under this license, you should not contribute it.

Submit only your own work.

You warrant that all work that you contribute to this site is your original work, except for material that is in the public domain or for which you have obtained permission. Feel free to draw from your own existing work (blogs, articles, talks, etc.), so long as you are happy with the Creative Commons license.

Your submission may not be accepted.

Be aware that we may not be able to accept your contribution.

Keep your title pithy and to the point.

The title should only be a 2 to 10 words long if possible and should summarize or capture the essence of the advice. Keep your discussion between 400 and 500 words.

Volunteers only.

Contributions are made on a volunteer basis — in other words, contributors are not paid for their contributions. The contributions will be made easily available to everyone on the Web for free. However, remember that those of you whose contributions are chosen for publication will get your name attached to your work and your bio published next to it. Any item you contribute you can also reuse in any form you wish, such as in a blog posting.

Only submit a pull request when you consider your work complete.

Please submit your work once it is complete. Once you make a pull request, the editor will review the submission and (possibly) suggest some changes. Reducing work in progress makes it easier for you to see your own progress and for others to see the progress of the whole project.

Check spelling, word count, and formatting.

Such checking seems obvious part, but it is worth a reminder — sometimes it seems that it is honored more in the breach than in the observance. US spelling is used for the contributions, which should be between 400 and 500 words in length. Formatting can be checked by looking at the saved page in GitHub. If it looks right there, it’s probably right.

How to Contribute

If you’re new to git and GitHub and just want to keep things as simple as possible, this tutorial will give you a quick and easy way to make your contribution. Here are the steps you’ll need to follow:

Create a GitHub account

To create and edit a page or to comment on an existing page, you will need to create an account on GitHub. If you don’t have one already, then go to the GitHub Signup page. It’s free.

tutorial github signup

GitHub has excellent tools for collaborating and workflow management, and will be the primary way we communicate with you over the course of the project.

Copy ("fork") the project repository to your account

Once you’ve got an account, fork (GitHub lingo for copying) the main project to your account. To do this, go to the Etudes for Erlang repository on GitHub and click the "Fork" button at the upper right hand side of the screen.

tutorial click fork

The following screen will appear while GitHub copies the repository to your account:

tutorial forking

Edit your file using AsciiDoc

Once you’ve got the file created, you can start editing it at your leisure. Remember to:

  • Mark up your text using AsciiDoc, which is similar to Markdown and other basic wiki-like markup formats.

  • Change the line wrapping from "No Wrap" to "Soft Wrap." Otherwise, all your text will appear on a single line.

To edit the file, all you have to do is click its name in the directory listing in GitHub and then press the "Edit" button.

tutorial edit

If you want to add an entirely new topic area, you’ll need to create a new file in GitHub. To do this, click the "+" button next to the directory name to create a new file

Locate the small "+" sign next to the repository name. (A tooltip will appear that says "Create a new file here" when you hover your mouse above it.) Click the "\+" button:

tutorial add a file

In the new screen, you’ll need to:

  • Enter a name for the file. Name the file according to the general topic area, and be sure to include the extension ".asciidoc" at the end. For example, "foo_and_bar.asciidoc".

  • Enter the chapter title in the editing box; it should be prefaced with two "==" signs. For example, "== Always Foo the Bar"

  • Once you’ve entered the filename and title, the "Commit Changes" button at the bottom of the screen will activate. Click the button to save your file.

You will see something like this:

tutorial naming a file

Double check your submission and add your biography

Before you submit your request, make sure that you have:

  • Run a spell check

  • Make sure it’s 400-500 words in length

  • Add your name and a short biography

  • Check the formatting to make sure it looks OK

Your biography should look like this:

.About the Author
[NOTE]
****
Name::
   Nicola Tesla
Biography::
   Nicola Tesla is an inventor, electrical engineer, mechanical engineer, physicist, and futurist best known for his contributions to the design of the modern alternating current (AC) electrical supply system.
****

Submit a pull request

Once you’ve completed and double checked your submission, you’re ready to submit it back to O’Reilly. This is done by creating a "pull request" that will trigger the review process.

tutorial submit pull request

When you submit the pull request, you’ll also be able to submit some additional information that will help us track your work:

  • A title. Please enter your name and the title of the contribution. For example, "Andrew Odewahn: Always Foo the Bar"

  • A comment. Tell us a little bit about your contribution, as well as anything else you think we should know.

tutorial pull request submission form

Engage in back-and-forth

Once you submit your pull request, the project’s maintainers will begin a back and forth with you in the discussion features. You might be asked to make some revisions, shorten it, add additional elements, and so forth.

More Repositories

1

Learning-OpenCV-3_examples

C++
2,254
star
2

open_government

Open Government, released as part of #PDFtribute
1,293
star
3

data_structures_and_algorithms_using_javascript

JavaScript
741
star
4

t-SNE-tutorial

A tutorial on the t-SNE learning algorithm
JavaScript
694
star
5

HTMLBook

Let's write books in HTML!
XSLT
631
star
6

etudes-for-elixir

Companion exercises for Introducing Elixir
Elixir
511
star
7

doing_data_science

This is the example code repository for Doing Data Science by Cathy O'Neil and Rachel Schutt (O'Reilly Media)
469
star
8

thebe

Jupyter javascript plugin for static sites
JavaScript
262
star
9

essential-sqlalchemy-2e

Jupyter Notebook
175
star
10

functional_thinking

This is the example code repository for Functional Thinking by Neal Ford (O'Reilly Media)
146
star
11

svg-essentials-examples

HTML
137
star
12

Using_SVG

Code examples and other supplementary material for the book Using SVG with CSS3 and HTML5.
HTML
107
star
13

iOS7_Programming_Cookbook

This is the example code repository for iOS 7 Programming Cookbook by Vandad Nahavandipoor (O'Reilly Media)
Objective-C
92
star
14

building_maintainable_software

C#
87
star
15

feedback_control_for_computer_systems

This is the example code repository for Feedback Control for Computer Systems by Philipp K. Janert (O'Reilly Media)
Python
87
star
16

97-things-every-agile-developer-should-know

97 Things Every Agile Software Developer Should Know
78
star
17

programming_rust

77
star
18

python_epiphanies

73
star
19

Learning_PHP

PHP
71
star
20

restful_java_jax-rs_2_0

This is the example code repository for RESTful Java with JAX-RS 2.0 by Bill Burke (O'Reilly Media)
65
star
21

java_cookbook_3e

This is the example code repository for Java Cookbook, 3E by Ian F. Darwin (O'Reilly Media)
63
star
22

docbook2asciidoc

XSL for transforming DocBook to AsciiDoc
XSLT
62
star
23

creating_apps_in_kivy

54
star
24

c_sharp_6_cookbook

53
star
25

decentralized_applications

53
star
26

bgp_in_the_data_center

Python
51
star
27

Data_Science_with_Java

Java
48
star
28

asciidoctor-htmlbook

Templates for the htmlbook backend for Asciidoctor
Ruby
44
star
29

ASP_NET-MVC-5-with-Bootstrap-and-Knockout_js

43
star
30

programming_hive

41
star
31

erlang_programming

This is the example code repository for Erlang Programming by Francesco Cesarini and Simon Thompson (O'Reilly Media)
41
star
32

c-in-a-nutshell-2E

39
star
33

atlas-cli

A command line for building and publishing (HTML only) Atlas projects
Go
36
star
34

learning-http2

29
star
35

backbone-gitlab

Backbone wrapper for the Gitlab API
JavaScript
28
star
36

hadoop_the_definitive_guide_4e

This is the Case Study repository for Hadoop: The Definitive Guide, 4E by Tom White (O'Reilly Media)
27
star
37

orm_book_samples

Sample book files for O'Reilly content
HTML
27
star
38

programming_javascript_applications

27
star
39

SVG_Colors_Patterns_Gradients

Example code for the book SVG Colors, Patterns & Gradients
HTML
27
star
40

linux_pocket_guide

Shell
27
star
41

physics_for_game_developers_2e

26
star
42

beautiful_javascript

JavaScript
25
star
43

htmlbook.js

html -> htmlbook parser
JavaScript
25
star
44

enterprise_web_development

This is the example code repository for Enterprise Web Development by Yakov Fain, Victor Rasputnis, Anatole Tartakovsky, and Viktor Gamov (O'Reilly Media)
23
star
45

liber_amicorum

Creative Coding Guidebook
22
star
46

ethics-datascience

Repository for Ethics and Data Science, by Mike Loukides, DJ Patil, and Hilary Mason
20
star
47

lean_enterprise

This is the example code repository for Lean Enterprise by Jez Humble, Joanne Molesky, and Barry O'Reilly (O'Reilly Media)
18
star
48

Learning-Path-Get-Started-with-Natural-Language-Processing-Using-Python-Spark-and-Scala

Links to example code downloads for Learning Path: Get Started with Natural Language Processing Using Python, Spark, and Scala
17
star
49

docbook2htmlbook

XSL Transform to convert Docbook XML to HTMLBook
XSLT
16
star
50

Getting-Started-with-Atlas

A guide to using Atlas, O'Reilly's wiki-like, git-managed authoring platform.
JavaScript
16
star
51

atlas_tech1c_theme

A CSS stylesheet for technical books.
CSS
15
star
52

SVG_Text_Layout

Example files for the book SVG Text Layout
HTML
15
star
53

learning_r

This is the example code repository for Learning R by Richard Cotton (O'Reilly Media)
15
star
54

jsonform

JS library for building JSON objects through a dynamic form
JavaScript
15
star
55

atlas_book_skeleton

Skeleton files for a new Atlas project
HTML
14
star
56

production-resources

Help and Information about O'Reilly Production
14
star
57

knockout_js

This is the example code repository for Knockout.js by Jamie Munro (O'Reilly Media)
CSS
13
star
58

ifpress-solr-plugin

Plugins that extend Solr's capabilities
Java
13
star
59

programmers_guide_to_drupal

Example code repository for Programmer's Guide to Drupal (Second edition) by Jennifer Hodgdon (O'Reilly Media)
PHP
13
star
60

Data_Analytics_with_Hadoop

Python
12
star
61

cypress-playback

Automatically record and playback HTTP requests in Cypress.
JavaScript
12
star
62

jnb-data-sci-handbook

Jupyter Notebook
11
star
63

Learning-Path-Mastering-SpaCy-for-Natural-Language-Processing

11
star
64

orm-awesome

O'Reilly Awesome List
11
star
65

atlas_trade_theme

One of two default themes for O'Reilly Atlas
CSS
10
star
66

biobuilder

9
star
67

dart_up_and_running

This is the example code repository for Dart: Up and Running by Kathy Walrath and Seth Ladd (O'Reilly Media)
9
star
68

Security_for_Web_Developers

9
star
69

cloud-function-template

google cloud function testing template
JavaScript
9
star
70

mapping_the_user_experience

This is the example code repository for Mapping the User Experience by James Kalbach (O'Reilly Media)
8
star
71

atlas_assets

Public repository with assets and design guide for the Atlas platform
SCSS
8
star
72

distributed_denial_of_service_ddos

Python
8
star
73

Spark_The_Definitive_Guide

7
star
74

introduction-to-seaborn

HTML
7
star
75

building_web_applications_with_erlang

This is the example code repository for Building Web Applications with Erlang by Zachary Kessin (O'Reilly Media)
7
star
76

ipython-kernel

IPython kernel server for Pyxie projects
Python
6
star
77

learning_ratpack

6
star
78

audit-python-package

Checks for compliance with current Python packaging best practices
Python
6
star
79

cloud_native_java

6
star
80

an-illustrated-introduction-to-the-t-sne-algorithm

An Illustrated Introduction to the t-SNE Algorithm using Docker
CSS
6
star
81

native-mobile-development

This is the example code repository for Native Mobile Development by Mike Dunn and Shaun Lewis (O'Reilly Media)
Swift
5
star
82

go-tang

Cache Rules Everything Around Me
Go
5
star
83

etudes_for_clojurescript

HTML
5
star
84

Designing_Efficient_BPM_Applications

5
star
85

prototype-imageproxy

Config for deploying imageproxy
Go
5
star
86

gulp-htmlbook

Gulp plugins for handling htmlbook content
HTML
5
star
87

best-of-fluent-verou

Best of Fluent (2012): Lea Verou
5
star
88

earsketch-samples

CSS
5
star
89

hello-alexa

JavaScript
4
star
90

designing-data-intensive-apps

4
star
91

satturn

A file editor with support for markdown and json
CSS
4
star
92

learning_path_go_programming_basics

HTML
4
star
93

atlas-api

Gem to interact with the O'Reilly Atlas API
Ruby
4
star
94

spock_up_and_running

4
star
95

article-template

Single chapter structure for short form writing.
HTML
4
star
96

pyxie-static

Companion repo to jupyter-kernel to show how to insert an ipython notebook code cell into a static site
JavaScript
4
star
97

automating_actionscript_projects_with_eclipse_and_ant

This is the example code repository for Automating ActionScript Projects with Eclipse and Ant by Sidney de Koning (O'Reilly Media)
4
star
98

ncsa-logparse

NCSA Logfile Parser in Haskell
Haskell
4
star
99

binder-trees-forest

Jupyter Notebook
3
star
100

atlas-book-sample

Sample Book Repo for Atlas v2
CSS
3
star