This is the static content for my todo-app tutorial using Apache, OpenID, and Node.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta http-equiv="content-type" content="text/html; charset=UTF-8"> | |
<title>Delete button demo</title> | |
<script type="text/javascript" src="//jsfiddle.net/js/coffeescript/coffeescript.js"></script> | |
<script type='text/javascript' src='//code.jquery.com/jquery-2.1.0.js'></script> | |
<link rel="stylesheet" type="text/css" href="//maxcdn.bootstrapcdn.com/bootswatch/3.2.0/spacelab/bootstrap.min.css"> | |
<link rel="stylesheet" type="text/css" href="//maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css"> |
Simple clustering demo using clusterfck.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var duration = 24*3600*1000; // 24 hours as milliseconds | |
var halfLife = 5*3600*1000; // 5 hours as milliseconds | |
var absorpLife = 3600*1000; // 1 hour as milliseconds | |
var end = +(new Date()); | |
var start = end - duration; | |
var numSteps = 24*60; | |
var step = duration/numSteps; | |
var startVal = 106; | |
var rows = []; | |
var log2 = Math.log(2); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// usage: node testgen.js > myFile.g | |
// alter the below variables to taste! | |
var ORIGIN = [0,0]; | |
var EXTENT = 90; | |
var NUM_LOOPS = 20; | |
var POINTS_PER_LOOP = 100; | |
var SPEED=20000; | |
var MAX_HEIGHT=250; | |
var i, theta, r, h; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var us; | |
var stateNames = {}; | |
var stateIds = {}; | |
var stateNamesByAbbr = {}; | |
var stateAbbrById = {}; | |
var g; | |
var data = {}; | |
var year = 2013; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
listen 80; | |
server_name thoughts.muller.io; | |
location /favicon.ico { | |
alias /var/www/trophy.png.ico; | |
} | |
location / { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
start on startup | |
script | |
/path/to/important/script.sh | |
end script |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Patch *front = new Patch(g); | |
for (int i = 0; i < k; ++i) | |
front->addQuad(outside[i], inside[i], | |
inside[(i + 1) % k], outside[(i + 1) % k]); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <std::vector> | |
#include <opencv2/core/core.hpp> | |
#include <iostream> | |
#include <stdio.h> | |
/* | |
This work by Ryan Muller released under the Creative Commons CC0 License | |
http://creativecommons.org/publicdomain/zero/1.0/ | |
*/ | |
/** |