Skip to content

Instantly share code, notes, and snippets.

View SteveSongMIT's full-sized avatar

Steve Song SteveSongMIT

View GitHub Profile
@SteveSongMIT
SteveSongMIT / index.html
Created March 19, 2012 18:59
Simple Cowboy web server
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html> <head>
<title>Cowboy test</title>
</head>
<body>
<h1>Woot!</h1>
<hr>
@SteveSongMIT
SteveSongMIT / captainflint.dtl
Created March 20, 2012 22:50
Simple Cowboy web server + ErlyDTL
<html>
<body>
GET squawk:<br />
{{ squawk_get }}<br /><br />
POST squawk:<br />
{{ squawk_post }}<br /><br />