Skip to content
OneLineWondersCode | An actively maintained collection of "one-line" programs in various languages, performing various tasks | 238/250 One-Line Programs Milestone!
C Python C++ Java JavaScript CoffeeScript Other
Branch: master
Clone or download
Latest commit 8f98c5d Oct 21, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Create FUNDING.yml Oct 2, 2019
_assemble Begin sorting and renaming previous files Oct 12, 2019
bash Rename fizzbuzz.sh to pbootly_fizzbuzz.sh Oct 17, 2019
brainfuck/hello Begin sorting and renaming previous files Oct 12, 2019
c Begin sorting and renaming previous files Oct 12, 2019
clisp/fibonacci Begin sorting and renaming previous files Oct 12, 2019
clojure/hello Begin sorting and renaming previous files Oct 12, 2019
coffeescript Resolve test failures around naming conventions Oct 15, 2019
cplusplus Merge pull request #324 from radensaleh/master Oct 20, 2019
csharp/reverse Resolve test failures around naming conventions Oct 15, 2019
dart/hello Rename dart/hello.dart to dart/hello/gkanishk_hello.dart Oct 17, 2019
go Resolve test failures around naming conventions Oct 15, 2019
groovy Resolve test failures around naming conventions Oct 15, 2019
haskell Merge branch 'master' into master Oct 17, 2019
honorary-one-line-wonders Merge pull request #383 from yashagarwal1999/master Oct 17, 2019
java Merge pull request #398 from PRITI1999/master Oct 17, 2019
javascript Merge pull request #360 from toluwalope19/Ayodele1 Oct 17, 2019
nodejs Resolve test failures around naming conventions Oct 15, 2019
ocaml Rename ocaml/AnkitaBIT_hello.ml to ocaml/hello/AnkitaBIT_hello.ml Oct 17, 2019
pascal/hello Resolve test failures around naming conventions Oct 15, 2019
perl Merge branch 'master' into master Oct 17, 2019
php Resolve test failures around naming conventions Oct 15, 2019
powershell Merge pull request #331 from Kmek/Powershell-UniqueArray Oct 17, 2019
python Merge pull request #363 from JayWelborn/patch-1 Oct 17, 2019
r Resolve test failures around naming conventions Oct 15, 2019
ruby Merge branch 'master' into is_prime Oct 17, 2019
rust Merge pull request #340 from Henning-K/rust Oct 17, 2019
scala Begin sorting and renaming previous files Oct 12, 2019
scheme/fibonacci Begin sorting and renaming previous files Oct 12, 2019
swift/anagram Begin sorting and renaming previous files Oct 12, 2019
typescript/hello Begin sorting and renaming previous files Oct 12, 2019
vim Resolve test failures around naming conventions Oct 15, 2019
.gitignore hacktoberfest :) Oct 4, 2019
.travis.yml Update .travis.yml Nov 5, 2018
CONTRIBUTING.md Create CONTRIBUTING.md Oct 23, 2018
CONTRIBUTORS.md Merge branch 'master' into Ayodele1 Oct 17, 2019
LICENSE Create LICENSE Oct 15, 2018
README.md Make **4** PRs this month for a **free T-Shirt!** Oct 1, 2019
_config.yml Set theme jekyll-theme-midnight Oct 18, 2018
package-lock.json Update npm test, organisation, package Nov 3, 2018
package.json Update npm test, organisation, package Nov 3, 2018

README.md

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 2019

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 ⭐️🎉

You can’t perform that action at this time.