Skip to content

Instantly share code, notes, and snippets.

View imjoshdean's full-sized avatar

Josh Dean imjoshdean

View GitHub Profile
<html>
<head>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script type="text/javascript" src="http://canjs.com/release/latest/can.jquery.js"></script>
<script type="text/javascript" src="http://canjs.com/release/latest/can.fixture.js"></script>
<script type="text/javascript" src="http://canjs.com/release/latest/can.object.js"></script>
</head>
<body>
<div id="todos"></div>
<script type="text/ejs" id="todoTemplate">
<html>
<head>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script type="text/javascript" src="http://canjs.com/release/latest/can.jquery.js"></script>
<script type="text/javascript" src="http://canjs.com/release/latest/can.fixture.js"></script>
<script type="text/javascript" src="http://canjs.com/release/latest/can.object.js"></script>
</head>
<body>
<div id="todos"></div>
<script id="todoEJS" type="text/ejs">
https://gist.github.com/imjoshdean/6624051
<html>
<head>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script type="text/javascript" src="http://canjs.com/release/latest/can.jquery.js"></script>
</head>
<body>
<ul class='tabs'>
<li><a href='#cdt'>CDT</a></li>
<html>
<head>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script type="text/javascript" src="http://canjs.com/release/latest/can.jquery.js"></script>
<script type="text/javascript" src="http://canjs.com/release/latest/can.fixture.js"></script>
<script type="text/javascript" src="http://canjs.com/release/latest/can.object.js"></script>
</head>
<body>
<script>
<html>
<head>
</head>
<body>
<ul id='tabs'>
<li><a href='#starcraft'>Starcraft</a></li>
<li><a href='#rua'>Robot Unicorn Attack</a></li>
<li><a href='#fallout'>Fallout</a></li>
</ul>
<div id='starcraft'>Info about starcraft</div>
<html>
<head>
<style>
</style>
</head>
<body>
<ul class='tabs'>
<li><a href='#starcraft'>Starcraft</a></li>
<li><a href='#rua'>Robot Unicorn Attack</a></li>
<li><a href='#fallout'>Fallout</a></li>
<html>
<head>
</head>
<body>
<input id="age"/>
<div id="text">
<h1>Some Header</h1>
<p>Lorem <strong>ipsum</strong></p>
<small>Here's some smallprint</small>
Something at the end
<html>
<head>
<style>
</style>
</head>
<body>
<h1>CanJS Training</h1>
<script src="http://code.jquery.com/jquery-1.10.1.js"></script>
@imjoshdean
imjoshdean / gist:5699289
Last active December 18, 2015 00:49
Node Mini-Server
/**
* Module dependencies.
*/
var express = require('express'),
http = require('http');
var app = express();
app.configure(function(){
app.use(express.favicon());
@imjoshdean
imjoshdean / gist:2050521
Created March 16, 2012 15:24
HTML: Starting Template
<!doctype html>
<html>
<head>
<meta charset=utf-8>
<title></title>
</head>
<body>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
</body>
</html>