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
- Host: GitHub
- URL: https://github.com/joakin/dailyprogrammer
- Owner: joakin
- Created: 2013-08-08T12:52:09.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2013-08-08T13:07:19.000Z (almost 13 years ago)
- Last Synced: 2025-04-05T20:15:51.150Z (about 1 year ago)
- Language: JavaScript
- Size: 109 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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