Skip to content

Instantly share code, notes, and snippets.

View joshrotenberg's full-sized avatar
🐢

Josh Rotenberg joshrotenberg

🐢
View GitHub Profile
@joshrotenberg
joshrotenberg / nest-nav.html
Created October 12, 2011 22:21
trying to get a nested slideshow with cycle to allow navigation of the subslides within the sub slides themselves.
<!DOCTYPE html>
<html>
<head>
<title>JQuery Cycle Plugin - Nested Slideshows</title>
<style>
body { margin: 40px }
#controls { width: 200px; height: 55px }
#slideshow,#controls { margin: auto; overflow: hidden; }
#inner { overflow: hidden; }
#prev, #prev-inner { float: left; }
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <assert.h>
#include <time.h>
#include <stdbool.h>
#include <ev.h>
#include <evcom.h>
var sys = require('sys'),
times = 500000
function bm(label, fn) {
var start = +new Date
fn()
sys.puts(' ' + label + ' : ' + (+new Date - start) + ' ms')
};