Skip to content

Instantly share code, notes, and snippets.

View amolc's full-sized avatar
🎯
Focusing

Amol amolc

🎯
Focusing
View GitHub Profile
@amolc
amolc / rest_api.js
Created December 29, 2013 14:30 — forked from erichonorez/rest_api.js
Simple Rest API
/**
* TaskRepository class deals with task persistence
*/
function TaskRepository() {
this.tasks = [];
this.nextId = 1;
}
/**
* Find a task by id
* Param: id of the task to find
@amolc
amolc / vptest.info
Created March 14, 2012 03:24 — forked from voxpelli/vptest.info
OAuth.module 3.x example - a test I made to verify the D7 port of the module - should work well on D6 as well though
name = VoxPelli OAuth Test
core = 7.x
dependencies[] = oauth_common
dependencies[] = http_client