/one-line-wonders

OneLineWondersCode | 1000+ Commits | 278/300 One Liners | 200+ Forks | Actively maintained open-source collection of "one-line" programs performing various tasks in different languages

Primary LanguageCGNU General Public License v3.0GPL-3.0

One Line Wonders

A collection of one-line programs in various languages, performing various tasks. "One-Line" is for those languages that support it; the aim is to create a runnable file the shortest a language can allow (i.e. no using ; instead of a new line and "minifying" it to be one line).

Why?

Have some fun with coding every once in a while, and see how you can abuse the semantics of a language.

Contributing

Anyone can contribute to this repo by opening a PR, your contribution will be open-source on Github. Don't know what to make? Try coding something that logs "Hello, world!" to the console!

Hacktoberfest 2020

Celebrate Hacktoberfest together with a diverse community of developers from around the world!

PRs not marked as spam will be counted towards 4 PRs in the month of October for your free Hacktoberfest T-Shirt!

Let's Get Started

  1. Fork this repository
  • Click the Fork button in the top right of this page, then click on your profile image.
  1. Clone to desktop git clone https://github.com/your-username/one-line-wonders.git
  2. Checkout a branch git checkout -b feature/branch-name
  3. Make yourself known
  • Add your bio to the CONTRIBUTORS.md file

    Name: [YOUR NAME](Github Link)
    Place: Where are you from?
    Coding Experience: Which programming languages do you know? What projects have you/do you worked on?
    Email: name@example.com

  1. Add your one-line program's files of the form [username]_[filename], i.e., wzhouwzhou_approximating_e.cc. If a folder for your code's language does not exist, feel free to create it.
  2. Commit and push git add .; git commit -m "commit message"; git push origin branch-name;
  3. Create a new Pull Request from your fork
  • Click on the New Pull Request button located near the top of your repository.
  1. Wait for your PR to be reviewed!

Star this repository if you had fun ⭐🎉