Permalink
Browse files

Initial commit.

  • Loading branch information...
0 parents commit 19cce328ec4b2c13f42c0930e0d80c75a0b5eee2 @jashkenas committed Jun 18, 2010
@@ -0,0 +1,2 @@
+lib/*.js
+config/keys.json
@@ -0,0 +1,7 @@
+{spawn, exec}: require 'child_process'
+
+task 'deploy', 'Deploy to Linode', ->
+ exec "rsync -av --progress --inplace --rsh='ssh -p9977' . jashkenas@ashkenas.com:/home/jashkenas/sites/api_playground", ->
+ puts "Deployed..."
+ exec "ssh -t -p 9977 jashkenas@ashkenas.com 'pkill -n node; nohup node sites/api_playground/lib/app.js &; exit'", ->
+ puts "Restarted..."
@@ -0,0 +1,123 @@
+body {
+ font-size: 62.5%;
+ background: white;
+}
+
+h1, h2, h3, h4, h5, h6 {
+ font-size: 1.4em;
+ line-height: 1.5em;
+ margin: 1.5em 0 0.5em 0;
+}
+ h1 {
+ font-size: 1.25em;
+ font-weight: bold;
+ margin-bottom: 1em;
+ }
+
+a {
+ cursor: pointer;
+ color: #536eac;
+ text-decoration: none;
+}
+ a:hover {
+ color: #000055;
+ }
+
+p {
+ margin: 0 0 1em 0;
+ width: 650px;
+}
+
+label {
+ font-weight: bold;
+ font-size: 0.85em;
+}
+
+.clear {
+ clear: both;
+}
+
+#container {
+ position: relative;
+ font: 1.4em/1.5em "Lucida Grande", "Lucida Sans Unicode", Arial, sans-serif;
+ margin: 50px 10px 50px 50px;
+ color: black;
+}
+ #controls {
+ margin-top: 2em;
+ margin-bottom: 1em;
+ }
+ #picker {
+ margin: 0 1em 0 1em;
+ }
+ #text, #line {
+ line-height: 1.5em;
+ padding: 0.5em;
+ width: 650px;
+ display: none;
+ margin: 0.5em 0 1em;
+ }
+ body.text_mode #text, body.line_mode #line {
+ display: inline;
+ }
+ #text {
+ height: 200px;
+ display: none;
+ }
+ #results {
+
+ }
+ #results table {
+ width: 100%;
+ margin: 2em 0 0 0;
+ font-size: 0.8em;
+ line-height: 1.4em;
+ border-left: 1px solid #C1DAD7;
+ }
+ #results th {
+ font-weight: bold;
+ color: #333;
+ border-right: 1px solid #C1DAD7;
+ border-bottom: 1px solid #C1DAD7;
+ border-top: 1px solid #C1DAD7;
+ background: #daf0f0;
+ padding: 6px 6px 6px 12px;
+ }
+ #results td {
+ vertical-align: middle;
+ max-width: 425px;
+ border-right: 1px solid #C1DAD7;
+ border-bottom: 1px solid #C1DAD7;
+ background: #fff;
+ padding: 6px 6px 6px 12px;
+ color: #333;
+ overflow: hidden;
+ }
+ #results td p {
+ width: auto;
+ }
+
+.minibutton {
+ float: left;
+ cursor: pointer;
+ color: #fff;
+ text-shadow: #aaa 0 -1px 0;
+ font-weight: bold;
+ font-size: 11px;
+ line-height: 11px;
+ padding: 5px 10px 6px;
+ height: 11px;
+ text-align: center;
+ -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px;
+ box-shadow: 0 1px 2px #c4c4c4; -webkit-box-shadow: 0 1px 2px #c4c4c4; -moz-box-shadow: 0 1px 2px #c4c4c4;
+ border: 1px solid #b2b2b2; border-top-color: #c9c9c9; border-bottom-color: #9a9a9a;
+ background: url(/public/images/button_bg.gif) repeat-x left top;
+}
+ .minibutton:active {
+ position: relative;
+ box-shadow: 0 0 1px #c4c4c4; -webkit-box-shadow: 0 0 1px #c4c4c4; -moz-box-shadow: 0 0 1px #c4c4c4;
+ top: 1px;
+ }
+ .minibutton::selection, .minibutton > span::selection {
+ background: transparent;
+ }
@@ -0,0 +1,56 @@
+/*------------------------------ RESET + DEFAULT STYLES ---------------------------------*/
+
+/*
+Eric Meyer's final reset.css
+Source: http://meyerweb.com/eric/thoughts/2007/05/01/reset-reloaded/
+*/
+html, body, div, span, applet, object, iframe,
+h1, h2, h3, h4, h5, h6, p, blockquote, pre,
+a, abbr, acronym, address, big, cite, code,
+del, dfn, em, font, img, ins, kbd, q, s, samp,
+small, strike, strong, sub, sup, tt, var,
+dl, dt, dd, ol, ul, li,
+fieldset, form, label, legend,
+table, caption, tbody, tfoot, thead, tr, th, td {
+ margin: 0;
+ padding: 0;
+ border: 0;
+ outline: 0;
+ font-weight: inherit;
+ font-style: inherit;
+ font-size: 100%;
+ font-family: inherit;
+ vertical-align: baseline;
+}
+
+strong {
+ font-weight: bold;
+}
+/* remember to define focus styles! */
+:focus {
+ outline: 0;
+}
+body {
+ line-height: 1;
+ color: black;
+ background: white;
+}
+ol, ul {
+ list-style: none;
+}
+/* tables still need 'cellspacing="0"' in the markup */
+table {
+ border-collapse: separate;
+ border-spacing: 0;
+}
+caption, th, td {
+ text-align: left;
+ font-weight: normal;
+}
+blockquote:before, blockquote:after,
+q:before, q:after {
+ content: "";
+}
+blockquote, q {
+ quotes: "" "";
+}
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.

0 comments on commit 19cce32

Please sign in to comment.