Giter Site home page Giter Site logo

feartheponies's Introduction

Fear the ponies - Code dojo about cryptography basics

Breaking news: We are under attack!

Ponies just forged a secret alliance in order to end human civilization and their first move should happen in a couple of hours. We require your help to access their information which should allow us to arrange a strike back plan or at least buy us time.

Start your mission and don't fail. You're our only hope...

Technical Instructions:

Requirements

  • .NET 8 or Docker

Install & Run

cd src
dotnet restore
dotnet run

Go to http://localhost:5000

By default the code dojo takes 90 minutes but you can specify the duration in minutes:

dotnet run -- --duration 60

or

$env:FTP_DURATION="120"
dotnet run

You can also specify the db path:

dotnet run -- --dbpath ./

Finally, to access the leaderboard, refer to the following URL http://localhost:5000/leaderboard.

If you prefer, you can use docker instead:

docker build -t feartheponies ./
docker run -p 5000:8080 -e TZ=Europe/Paris -v .\:/app/data feartheponies --duration 60 --dbpath /app/data

Special thanks:

Based on Raphaël Wach (@raphaelwach) amazing code dojo

feartheponies's People

Contributors

mmetesreau avatar sylvain-delafoy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

feartheponies's Issues

Docker container not starting due to dotnet.core version

When building the docker image and running it, we find the following error:

$ docker container run feartheponies
/app/FearServer.csproj : warning NU1603: Microsoft.AspNetCore.SignalR.Messaging 0.2.0-preview2-22683 depends on Microsoft.Extensions.Logging (>= 1.1.0-preview2-22683) but Microsoft.Extensions.Logging 1.1.0-preview2-22683 was not found. An approximate best match of Microsoft.Extensions.Logging 1.1.0 was resolved.
/app/FearServer.csproj : warning NU1603: Microsoft.AspNetCore.SignalR.Messaging 0.2.0-preview2-22683 depends on Microsoft.Extensions.Options (>= 1.1.0-preview2-22683) but Microsoft.Extensions.Options 1.1.0-preview2-22683 was not found. An approximate best match of Microsoft.Extensions.Options 1.1.0 was resolved.
/app/FearServer.csproj : warning NU1603: Microsoft.AspNetCore.SignalR.Messaging 0.2.0-preview2-22683 depends on Microsoft.Extensions.Logging (>= 1.1.0-preview2-22683) but Microsoft.Extensions.Logging 1.1.0-preview2-22683 was not found. An approximate best match of Microsoft.Extensions.Logging 1.1.0 was resolved.
/app/FearServer.csproj : warning NU1603: Microsoft.AspNetCore.SignalR.Messaging 0.2.0-preview2-22683 depends on Microsoft.Extensions.Options (>= 1.1.0-preview2-22683) but Microsoft.Extensions.Options 1.1.0-preview2-22683 was not found. An approximate best match of Microsoft.Extensions.Options 1.1.0 was resolved.
It was not possible to find any compatible framework version
The specified framework 'Microsoft.NETCore.App', version '1.1.1' was not found.
  - Check application dependencies and target a framework version installed at:
      /
  - Alternatively, install the framework version '1.1.1'.

This could be related to the following in the dockerfile:
``FROM microsoft/dotnet

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.