Skip to content

Instantly share code, notes, and snippets.

View widoyo's full-sized avatar

Widoyo widoyo

View GitHub Profile
@widoyo
widoyo / api.js
Created December 27, 2013 18:57 — forked from fwielstra/api.js
/* The API controller
Exports 3 methods:
* post - Creates a new thread
* list - Returns a list of threads
* show - Displays a thread and its posts
*/
var Thread = require('../models/thread.js');
var Post = require('../models/post.js');
@widoyo
widoyo / AGA3.py
Created September 26, 2013 23:07 — forked from giljunqueira/AGA3.py
# -*- coding: utf-8 -*-
"""
Created on Fri Aug 27 09:16:20 2010
@author: g.junqueira
AGA3 METER GAS CALCULATION IMPLEMENTATION as a callable Python function
"""
import math
@widoyo
widoyo / app.css
Last active December 11, 2015 20:08 — forked from yogaswara/mdd.html
/* Artfully masterminded by ZURB */
/* --------------------------------------------------
Table of Contents
-----------------------------------------------------
:: Shared Styles
:: Page Name 1
:: Page Name 2
*/