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
node_modules |
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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
VAGRANTFILE_API_VERSION = "2" | |
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
config.vm.provision "ansible" do |ansible| | |
ansible.playbook = "PATH/TO/site.yml" | |
ansible.host_key_checking = false |
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
YUI().use('node', 'event-move', 'event-touch', function(Y) { | |
// TODO key shortcuts, up, down, left, right, hjkl? | |
// TODO gestures | |
var dial = Y.one('.dial'), | |
viewer = Y.one('.viewer ul'), | |
origin = dial.getXY(), | |
rotation = 0, | |
last = {}, | |
mass = 300, // 345 is close to 1:1 at edge |
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 charset=utf-8> | |
<script src="http://yui.yahooapis.com/3.7.2/build/yui/yui-min.js"></script> | |
<script src=panels.js></script> | |
<link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/3.7.3/build/cssreset/cssreset-min.css"> | |
<link rel="stylesheet" type="text/css" href="panels.css"> | |
<title>YUI Panels</title> |
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
YUI({ | |
comboBase: '/yui3?', | |
combine: true, | |
root: 'build/', | |
groups: { | |
contrib: { | |
comboBase: '/yui3-contrib?', | |
combine: true, | |
// explicitly list the modules and deps, this improves combohandler bundling of | |
// script requests |
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 lang="en"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
<title>Backbone example</title> | |
<script type="text/javascript" src="jquery.min.js"></script> | |
<script type="text/javascript" src="underscore.js"></script> | |
<script type="text/javascript" src="backbone.js"></script> |
NewerOlder