An open API service indexing awesome lists of open source software.

https://github.com/joakin/dailyprogrammer

Little programs from the daily programmer subreddit
https://github.com/joakin/dailyprogrammer

Last synced: 12 months ago
JSON representation

Little programs from the daily programmer subreddit

Awesome Lists containing this project

README

          

Daily Programmer programs
=========================

This is a personal repo I keep with exercises from the [subreddit of the daily
programmer on
reddit](http://www.reddit.com/r/dailyprogrammer/)

Done
----
* 133 - Foot Traffic Analysis [livescript - node.js]
* 134 - N-Divisible Digits [javascript - node.js]

Instructions
------------

How to run the exercises depending on platform / language:

### Node.js (Any language)

Get [node.js and npm](http://nodejs.org) and do npm install on the root of the
repo.

### Javascript on node.js

To run the exercises `cd 134/node` (or other folder) and then run it with:

node 134 1 2

### Livescript on node.js

Install livescript with npm.

npm install -g LiveScript

(Remember to do an npm install on the root of the repo)

Get into the folder of the exercise `cd 133/node-ls` for example.

Compile the files (only use -w to keep the compiler watching the files)

lsc -w -c *.ls

Run the program

node 133 input1.log