GithubHelp home page GithubHelp logo

anthrax3 / cmdchallenge Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jdiazmx/cmdchallenge

0.0 1.0 0.0 3.14 MB

This repo is mirror of https://gitlab.com/jarv/cmdchallenge

Home Page: https://about.cmdchallenge.com

License: MIT License

Makefile 3.18% Python 29.24% Shell 9.46% Go 25.92% Roff 32.20%

cmdchallenge's Introduction

CMD Challenge

This repo holds the challenges for cmdchallenge.com

 _____ _____ ____     _____ _____ _____ __    __    _____ _____ _____ _____ 
|     |     |    \   |     |  |  |  _  |  |  |  |  |   __|   | |   __|   __|
|   --| | | |  |  |  |   --|     |     |  |__|  |__|   __| | | |  |  |   __|
|_____|_|_|_|____/   |_____|__|__|__|__|_____|_____|_____|_|___|_____|_____|

Contribute

  • Add a new entry to challenges.yml.
    • Pick a unique slug name.
    • Type a description.
    • Add directory and supporting files for the challenge in the var/challenges dir. A README will automatically be created in the challenge directory based on the description in challenges.yaml.
    • Add an example solution.
    • Add expected output if the command has output that should be verified.
    • Add a test script to ro_volume/cmdtests/ if tests are needed after the command is run (see other challenge examples).
    • Add your github username or name to the author field.
  • Run make test to make sure your new challenge works with the example.
  • Submit a pull request.

Installation

  • Install docker on your machine
  • virtualenv -p $(which python2.7) venv2.7
  • source venv2.7/bin/activate
  • pip install -r requirements.txt

Testing

  • make test

Assuming you have docker installed running make test will create a new docker image, load it and run all tests.

  • ./bin/test_challenges <test_name> Test a single challenge using the currently built docker container or all challenges (faster than make test).

Bugs / Suggestions

cmdchallenge's People

Contributors

0ki avatar akamch avatar amboar avatar bryfry avatar crtlib avatar fibo avatar gitunique avatar giuscri avatar jarv avatar joshtriplett avatar mmalchuk avatar mrquincle avatar n-eq avatar oswaldderiemaecker avatar parththaker avatar reallocf avatar tato69 avatar tvlooy avatar verovan avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.